| Anonymous | Login | Signup for a new account | 2010-07-30 04:16 CEST |
| Main | My View | View Issues | Change Log | Roadmap |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||
| 0003791 | [unreal] ircd | crash | always | 2009-01-13 15:44 | 2009-01-18 13:25 | ||
| Reporter | nullsystems | View Status | public | ||||
| Assigned To | |||||||
| Priority | normal | Resolution | no change required | ||||
| Status | closed | Product Version | 3.2.7 | ||||
| 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 ====================== |
||||||
| 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 | ||||||
| QA | Not touched yet by developer | ||||||
| U4: Need for upstream patch | No need for upstream InspIRCd patch | ||||||
| U4: Upstream notification of bug | Not decided | ||||||
| U4: Contributor working on this | None | ||||||
| Attached Files | |||||||
|
|
|||||||
Notes |
|
|
(0015650) nullsystems (reporter) 2009-01-13 16:21 |
More forum updates and core files can be found here: http://forums.unrealircd.com/viewtopic.php?f=3&t=5879 [^] |
|
(0015653) nullsystems (reporter) 2009-01-13 21:27 |
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. |
|
(0015659) syzop (administrator) 2009-01-15 11:03 |
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. |
|
(0015662) syzop (administrator) 2009-01-15 11:14 |
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 syzop@vulnscan.org |
|
(0015671) syzop (administrator) 2009-01-18 13:25 |
- Added note to release notes regarding Suse 10.3 on amd64 causing a crash on-boot. 0003725, #0003653, 0003791. |
| Copyright © 2000 - 2008 Mantis Group |