View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002834 | unreal | ircd | public | 2006-02-23 23:35 | 2006-04-23 19:50 |
| Reporter | chasingsol | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 3.2.4 | ||||
| Summary | 0002834: Crash on start with Debian unstable | ||||
| Description | Unreal 3.2.4 gcc (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) IPv6, ZipLinks, SSL, Remote Includes [06:32:01] mark@fr1:~/whiteflag> ./unreal start Starting UnrealIRCd _ _ _ ___________ _____ _ | | | | | |_ _| ___ \/ __ \ | | | | | |_ __ _ __ ___ __ _| | | | | |_/ /| / \/ __| | | | | | '_ \| '__/ _ \/ _` | | | | | / | | / _` | | |_| | | | | | | __/ (_| | |_| |_| |\ \ | \__/\ (_| | \___/|_| |_|_| \___|\__,_|_|\___/\_| \_| \____/\__,_| v3.2.4 using TRE 0.7.2 (GPL) using OpenSSL 0.9.8a 11 Oct 2005 using zlib 1.2.3 using libcurl/7.15.1 OpenSSL/0.9.8a zlib/1.2.3 c-ares/1.3.0 * Loading IRCd configuration .. * Configuration loaded without any problems .. * Initializing SSL. * Dynamic configuration initialized .. booting IRCd. --------------------------------------------------------------------- ./unreal: line 134: 22823 Segmentation fault (core dumped) /home/mark/whiteflag/src/ircd Possible error encountered (IRCd seemily not started) ===================================================== Check above for possible errors, and this output of ircd.log. If you cannot solve the problem, read Unreal.nfo on where to get support ===================================================== tail: cannot open `/home/mark/whiteflag/ircd.log' for reading: No such file or directory Core files available: -rw------- 1 mark mark 2236416 2006-02-24 06:32 core =================== START HERE ====================== BACKTRACE: Using host libthread_db library "/lib/tls/libthread_db.so.1". Core was generated by `/home/mark/whiteflag/src/ircd'. Program terminated with signal 11, Segmentation fault. warning: Can't read pathname for load map: Input/output error. #0 add_listener2 (conf=0x61623a66) at s_bsd.c:490 490 cptr->class = (ConfigItem_class *)conf; #0 add_listener2 (conf=0x61623a66) at s_bsd.c:490 Cannot access memory at address 0x656665 #0 add_listener2 (conf=0x61623a66) at s_bsd.c:490 490 cptr->class = (ConfigItem_class *)conf; 0x8187ee0 <backupbuf>: "" #0 add_listener2 (conf=0x61623a66) at s_bsd.c:490 cptr = (aClient *) 0x6565623a Cannot access memory at address 0x656665 GCC: gcc version 4.0.3 20060212 (prerelease) (Debian 4.0.2-9) UNAME: Linux fr1.chasingsol.com 2.6.15-1-686 #1 Tue Feb 21 20:25:22 UTC 2006 i686 GNU/Linux UNREAL: Unreal3.2.4 build 1.1.1.1.2.22 2006/02/05 18:03:15 CORE: -rw------- 1 mark mark 2236416 2006-02-24 06:32 core =================== STOP HERE ====================== | ||||
| 3rd party modules | |||||
|
|
Switching to gcc-3.4 resolved the crash issue. I do notice one other problem. Hostname lookups are failing instantly, there's no delay where it tries to do a lookup. The DNS server is available and working correctly, as witnessed by doing nslookup on the command line. [Edit]: hostname lookup problems were caused by a GCC 4 compiled c-ares library apparently being linked to during IRCd compilation. Removed it, hostname lookups work fine now. |
|
|
Ok ;p. Hmmm... gcc4, is that in 'unstable'? Can't get it in 'testing'... {Presumably due to ABI changes (C++ only) they are a bit hesistant...? ;p} {edit: seems gcc4 hardly has any speed improvements anyway} |
|
|
Hehe. Yup, it's what is classified as "testing/unstable" in Debian. I'm a Debian noob, so I don't claim to know how they name their releases, although I understand "testing" in Debian would be pretty much classified as "stable" anywhere else. |
|
|
gcc-4.0 is in testing I have no problems with it and i even tried now the just released gcc 4.1 on my debian sarge server and unreal seems to work fine with it |
|
|
Ah ok, seems I switched my box from testing back to stable a few months ago, nevermind my not-in-testing comment ;). I usually run testing indeed (well, on this development server). I'll see if I can try here as well. penna: ok :p. |
|
|
so hm, can this be closed, or not? Was it simply caused by forgetting to run ./Config -quick after upgrading your compiler? (and hence the libraries such as TRE and c-ares were not recompiled) Or.. ? :) |
|
|
You're right. You can close. |
|
|
ok, thanks :) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2006-02-23 23:35 | chasingsol | New Issue | |
| 2006-02-28 13:54 | chasingsol | Note Added: 0011313 | |
| 2006-02-28 14:13 | chasingsol | Note Edited: 0011313 | |
| 2006-03-01 09:26 | syzop | Note Added: 0011315 | |
| 2006-03-01 14:06 | syzop | Note Edited: 0011315 | |
| 2006-03-01 19:57 | chasingsol | Note Added: 0011319 | |
| 2006-03-02 02:43 | penna | Note Added: 0011320 | |
| 2006-03-02 06:02 | syzop | Note Added: 0011321 | |
| 2006-04-23 19:45 | syzop | Note Added: 0011598 | |
| 2006-04-23 19:47 | chasingsol | Note Added: 0011600 | |
| 2006-04-23 19:50 | syzop | Status | new => closed |
| 2006-04-23 19:50 | syzop | Note Added: 0011602 | |
| 2006-04-23 19:50 | syzop | Resolution | open => no change required |