Page 1 of 1

it crashes when i /sethost

Posted: Sun Jul 11, 2004 10:16 am
by Shane
I want unreal ircd to support Chinese nick, so i compiled it with VC++6.0 SP5 + PSDK...
Everything is ok and wircd is running...
but when i perform the command /sethost , it crashes.

the following message was found in wircd.1516.core:

Generated at Sun Jul 11 09:44:06 2004

Windows XP Service Pack 1 (5.1.2600)
Unreal3.2.1[FinWXeOoZE] (1.1.1.1.2.17 2004/07/03 19:04:02)
-----------------
Memory Information:
Physical: (Available:126MB/Total:255MB)
Virtual: (Available:2017MB/Total:2047MB)
-----------------
Exception:
Breakpoint
-----------------
Backup Buffer:
SETHOST a.ab.com
-----------------
Registers:
EAX=0x00000001 EBX=0x00155c40 ECX=0x2b1995fb
EDX=0x000e0001 ESI=0x00155c40 EDI=0x00000000
EIP=0x1020a0d9 EBP=0x00b3fb14 ESP=0x00b3fb10
-----------------
Stack Trace:
Module: MSVCR70D
#0 (null):0: free_dbg
#1 (null):0: free_dbg
#2 (null):0: free
Module: 6EC28B1B.commands
#3 (null):0: m_addmotd_Load
Module: wircd
#4 src/parse.c:440: parse
#5 src/packet.c:139: dopacket
#6 src/s_bsd.c:1477: read_packet
#7 src/s_bsd.c:1937: read_message
#8 src/ircd.c:1548: SocketLoop
#9 src/win32/service.c:149: ServiceMain
Module: ADVAPI32
#10 src/win32/service.c:149: CreateProcessAsUserW



When it crashed, an alert window appeared which said:
Image

Help me!

Posted: Sun Jul 11, 2004 10:21 am
by Shane
i only modified the configuration part of makefile.win32, to set the openssl path and zlib path. None of the src file was changed.

Posted: Sun Jul 11, 2004 2:44 pm
by aquanight
http://bugs.unrealircd.org/

And of course, make sure you're running the latest version :P .

Posted: Sun Jul 11, 2004 4:34 pm
by codemastr
Sounds to me like the zlib/openssl are compiled incorrectly.

Posted: Mon Jul 12, 2004 12:53 am
by Shane
i use precompiled zlib and openssl.
zlib was downloaded from http://www.winimage.com/zLibDll/ and openssl from http://www.shininglightpro.com/products ... enSSL.html . Do these matter?

Posted: Mon Jul 12, 2004 1:22 am
by codemastr
Yup, neither of those will work.

Posted: Mon Jul 12, 2004 5:04 am
by Shane
but.. why?
i used them to compile unreal3.2 and that was all right. Must i compile them myself?