View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003791 | unreal | ircd | public | 2009-01-13 15:44 | 2009-01-18 13:25 |
Reporter | nullsystems | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | x86 | OS | SuSE Linux | OS Version | 10.3 |
Product Version | 3.2.7 | ||||
Fixed in Version | 3.2.8 | ||||
Summary | 0003791: unreal: line 134: 26071 Segmentation fault | ||||
Description | When trying to run unreal on this server with a known working config I get the above error. No log file is generated. --------------------------------------------------------------- * Loading IRCd configuration .. ./unreal: line 134: 23244 Segmentation fault (core dumped) /srv/www/vhosts/x/Unreal3.2.7/src/ircd Possible error encountered (IRCd seemingly 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 ---------------------------------------------------------------- Backtrace Shows this : =================== START HERE ====================== BACKTRACE: Using host libthread_db library "/lib64/libthread_db.so.1". warning: Can't read pathname for load map: Input/output error. Core was generated by `/srv/www/vhosts/xxx/Unreal3.2.7/src/ircd'. Program terminated with signal 11, Segmentation fault. #0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076 1076 for (i = s, o = buf; (*i) && (o < buf+509); i++) #0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076 #1 0x0000000000429503 in init_conf (rootconf=0x45b86c "unrealircd.conf", rehash=0) at s_conf.c:1563 #2 0x000000000041c252 in main (argc=0, argv=<value optimized out>) at ircd.c:1293 #0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076 1076 for (i = s, o = buf; (*i) && (o < buf+509); i++) 0x727220 <backupbuf>: "" #0 0x0000000000435b62 in unreal_encodespace (s=0x0) at s_misc.c:1076 buf = "Spamming_users_with_an_mIRC_trojan._Type_'/unload_-rs_newb'_to_remove_the_trojan.\000.asp?VName=TROJ%5F SOEX.A", '\0' <repeats 405 times> i = 0x0 o = 0x70dba0 "Spamming_users_with_an_mIRC_trojan._Type_'/unload_-rs_newb'_to_remove_the_trojan." #1 0x0000000000429503 in init_conf (rootconf=0x45b86c "unrealircd.conf", rehash=0) at s_conf.c:1563 No locals. #2 0x000000000041c252 in main (argc=0, argv=<value optimized out>) at ircd.c:1293 type = <value optimized out> result = <value optimized out> p = 0x7fff76d18ed8 "\003@" uid = 0 euid = 0 gid = 0 egid = 0 delay = <value optimized out> corelim = {rlim_cur = 18446744073709551615, rlim_max = 18446744073709551615} nextfdlistcheck = <value optimized out> alllasttime = 0 GCC: gcc version 4.2.1 (SUSE Linux) UNAME: Linux xxx 2.6.27.9rootserver-20081216a #1 SMP Tue Dec 16 02:29:13 EST 2008 x86_64 x86_64 x86_64 GNU/Linux UNREAL: Unreal3.2.7 build 1.1.1.1.2.1.2.1.2.2234.2.676 2007/07/13 10:43:04 CORE: -rw------- 1 root root 2371584 Jan 13 15:20 core =================== STOP HERE ====================== | ||||
Steps To Reproduce | ./unreal start | ||||
Additional Information | Tried as root, user and using ziplinks, ssl and other config options. All the same error. | ||||
Tags | No tags attached. | ||||
3rd party modules | None | ||||
|
More forum updates and core files can be found here: http://forums.unrealircd.com/viewtopic.php?f=3&t=5879 |
|
Tried the code from 3.2.8rc1, this also produced the same error. So I came up with my own hack ------ char *unreal_encodespace(char *s) { if (s != NULL) { static char buf[512], *i, *o; for (i = s, o = buf; (*i) && (o < buf+509); i++) { if (*i == ' ') *o++ = '_'; else if (*i == '_') { *o++ = '_'; *o++ = '_'; } else *o++ = *i; } *o = '\0'; return buf; } } This boots, but I cannot connect. |
|
Could you post the './unreal backtrace' output for Unreal3.2.8-rc1 as well? (3.2.8-rc1 without modifications/hacks, of course ;p) Thanks. |
|
Also, IF possible, could I get a shell (user account, not root) on this machine to try to trace this? Then I would check it out line by line because it's quite odd and I haven't been able to trace it via the source code until now. Naturally, I can understand if you cannot do that. You can mail details to [email protected] |
|
- Added note to release notes regarding Suse 10.3 on amd64 causing a crash on-boot. 0003725, #0003653, 0003791. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-01-13 15:44 | nullsystems | New Issue | |
2009-01-13 15:44 | nullsystems | 3rd party modules | => None |
2009-01-13 16:21 | nullsystems | Note Added: 0015650 | |
2009-01-13 21:27 | nullsystems | Note Added: 0015653 | |
2009-01-15 11:03 | syzop | Note Added: 0015659 | |
2009-01-15 11:14 | syzop | Note Added: 0015662 | |
2009-01-18 13:25 | syzop | QA | => Not touched yet by developer |
2009-01-18 13:25 | syzop | U4: Need for upstream patch | => No need for upstream InspIRCd patch |
2009-01-18 13:25 | syzop | Status | new => closed |
2009-01-18 13:25 | syzop | Note Added: 0015671 | |
2009-01-18 13:25 | syzop | Resolution | open => no change required |
2009-01-18 13:25 | syzop | Fixed in Version | => 3.2.8 |