View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002490 | unreal | ircd | public | 2005-04-21 06:18 | 2005-04-24 21:46 |
Reporter | trevorj | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | open | ||
OS | Linux | OS Version | Gentoo | ||
Product Version | 3.2.3 | ||||
Summary | 0002490: /rehash segfaults ircd | ||||
Description | When I /rehash, ircd segfaults. | ||||
Additional Information | botbot@p0s unreal $ gdb ircd core GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/home/botbot/unreal/ircd'. Program terminated with signal 11, Segmentation fault. warning: current_sos: Can't read pathname for load map: Input/output error Reading symbols from /usr/lib/libssl.so.0.9.7...done. Loaded symbols for /usr/lib/libssl.so.0.9.7 Reading symbols from /usr/lib/libcrypto.so.0.9.7...done. Loaded symbols for /usr/lib/libcrypto.so.0.9.7 Reading symbols from /lib/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 Reading symbols from /lib/libz.so.1...done. Loaded symbols for /lib/libz.so.1 Reading symbols from /lib/libdl.so.2...done. Loaded symbols for /lib/libdl.so.2 Reading symbols from /lib/libc.so.6...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /home/botbot/unreal/tmp/7198BF53.commands.so...done. Loaded symbols for tmp/7198BF53.commands.so Reading symbols from /home/botbot/unreal/tmp/D4C7D794.cloak.so...done. Loaded symbols for tmp/D4C7D794.cloak.so #0 0xb7ff4d6a in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 (gdb) bt #0 0xb7ff4d6a in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #1 0xb7ff52b8 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #2 0xb7e376dc in __libc_dlclose () from /lib/libc.so.6 #3 0xb7e3782a in _dl_sym () from /lib/libc.so.6 #4 0xb7e66068 in dlclose () from /lib/libdl.so.2 #5 0xb7ff8436 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2 #6 0xb7e66491 in dlerror () from /lib/libdl.so.2 #7 0xb7e660cf in dlsym () from /lib/libdl.so.2 0000008 0x08063c0a in Module_Create () #9 0x080829e7 in _conf_loadmodule () #10 0x08073251 in load_conf () #11 0x08072f62 in init_conf () #12 0x08084b72 in rehash_internal () #13 0x08084b2b in rehash () #14 0x0808e26e in m_rehash () #15 0x08067cd8 in parse () #16 0x0806687d in dopacket () 0000017 0x0806ef5d in read_packet () #18 0x0806fb68 in read_message () #19 0x08061c7f in main () (gdb) quit | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
2 questions: Is this reproducable every time? Could you also send the following files to me ([email protected]): - src/ircd - src/modules/commands.so - src/modules/cloak.so Feel free to zip/gzip/targz them up. |
|
1. Yes. 2. Sending them now. |
|
hm.. how did you compile it? I don't know why but I'm not getting much useful output out of it (basically the same as above, missing all kinds of debugging info). could you doublecheck the core upload here went fine, in other words.. is your core.gz on your harddisk also 197.021 bytes? (md5: 7479f19d5a55b68c11ed839b06c6e0e0) Is this an official download from www.unrealircd.com ? Then extracted and ./Config followed by make? If not, try that. If it is, do: 'unset CFLAGS; make clean; ./Config && make && make install' Oh and, could you paste the output of 'gcc -v' to us? And a 'grep XCFLAGS Makefile' (in your unrealircd source dir) would be nice [after done all the above] as well. Thanks / end of flood :P. |
|
Haha. Sorry, drunken computing at it's best. I found out I had the CFLAGS variable set from a previous compile ( -march=k6-2 -Os -fomit-frame-pointer ) [ the -fomit-frame-pointer making it lose the debug info obviously ], and I used the same ssh session when I recompiled. I normally pay enough attention to the compile to notice what/if any cflags are being used. heh. Anyways, I rehashed today, and it works fine (?!). So the cflags seem to be the culprit. Might as well close the bug ;) |
|
Ok, thanks for letting us know :). |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-04-21 06:18 | trevorj | New Issue | |
2005-04-21 06:18 | trevorj | File Added: core.gz | |
2005-04-21 08:34 | syzop | Relationship added | related to 0002482 |
2005-04-21 08:37 | syzop | Note Added: 0009788 | |
2005-04-21 08:37 | syzop | View Status | public => private |
2005-04-21 23:01 | trevorj | Note Added: 0009791 | |
2005-04-22 18:34 | syzop | Note Added: 0009797 | |
2005-04-24 21:42 | trevorj | Note Added: 0009805 | |
2005-04-24 21:45 | syzop | Status | new => closed |
2005-04-24 21:45 | syzop | Note Added: 0009806 | |
2005-04-24 21:46 | syzop | File Deleted: core.gz | |
2005-04-24 21:46 | syzop | View Status | private => public |