View Issue Details

IDProjectCategoryView StatusLast Update
0002505unrealircdpublic2005-06-06 20:30
ReporterHERZ Assigned To 
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionduplicate 
Platform*nixOSDebian 3.1 - Linux 2.6.11-rc1OS VersionUnrealIRCD 3.2.3
Product Version3.2.3 
Summary0002505: Crash in find_cache_number - res.c:1446
Descriptionhexa@tech:~$ ssh phoenix.insiderz.de -l insiderz
Linux phoenix.1sq.org 2.6.8-1-k7 #1 Thu Nov 11 12:47:56 EST 2004 i686 GNU/Linux

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

Last login: Tue Apr 26 22:02:54 2005 from gute-jagd.de
insiderz@phoenix:~$ cd Unreal3.2
insiderz@phoenix:~/Unreal3.2$ gdb src/ircd core
GNU gdb 6.3-debian
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 "i386-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `/home/insiderz/Unreal3.2/src/ircd'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Eingabe-/Ausgabefehler

Error while mapping shared library sections:
tmp/540C5959.commands.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/AB4143C6.m_getinfo.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/22B6A5D2.m_banlist.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/7D7CA9A4.m_ircops.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/1338B068.m_scarecrow.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/4E53C937.m_clones.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/2FAD00C8.m_privdeaf.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/BE3B84A5.m_commandsno.so: Datei oder Verzeichnis nicht gefunden.
Error while mapping shared library sections:
tmp/2D455520.cloak.so: Datei oder Verzeichnis nicht gefunden.
Reading symbols from /usr/lib/i686/cmov/libssl.so.0.9.7...done.
Loaded symbols for /usr/lib/i686/cmov/libssl.so.0.9.7
Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.7...done.
Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.7
Reading symbols from /lib/tls/libcrypt.so.1...done.
Loaded symbols for /lib/tls/libcrypt.so.1
Reading symbols from /lib/tls/libnsl.so.1...done.
Loaded symbols for /lib/tls/libnsl.so.1
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/libdl.so.2...done.
Loaded symbols for /lib/tls/libdl.so.2
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Error while reading shared library symbols:
tmp/540C5959.commands.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/AB4143C6.m_getinfo.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/22B6A5D2.m_banlist.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/7D7CA9A4.m_ircops.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/1338B068.m_scarecrow.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/4E53C937.m_clones.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/2FAD00C8.m_privdeaf.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/BE3B84A5.m_commandsno.so: Datei oder Verzeichnis nicht gefunden.
Error while reading shared library symbols:
tmp/2D455520.cloak.so: Datei oder Verzeichnis nicht gefunden.
#0 0x080670ff in find_cache_number (rptr=0x0, numb=0x82ae650 "Q©¼K\005") at res.c:1446
1446 if (!bcmp(HE(cp)->h_addr_list[i], numb,
(gdb) bt
#0 0x080670ff in find_cache_number (rptr=0x0, numb=0x82ae650 "Q©¼K\005") at res.c:1446
#1 0x08065ee8 in gethost_byaddr (addr=0x82ae650 "Q©¼K\005", lp=0xbffff860) at res.c:466
#2 0x0806b23d in start_of_normal_client_handshake (acptr=0x82ae310) at s_bsd.c:1353
#3 0x0806af28 in add_connection (cptr=0x81aa520, fd=176) at s_bsd.c:1338
#4 0x0806ba4b in read_message (delay=1, listp=0x8154540) at s_bsd.c:1872
#5 0x0805ff70 in main (argc=0, argv=0xbffffb14) at ircd.c:1545
(gdb) bt full
#0 0x080670ff in find_cache_number (rptr=0x0, numb=0x82ae650 "Q©¼K\005") at res.c:1446
        cp = (aCache *) 0x836a518
        hashv = 58
        i = 2
#1 0x08065ee8 in gethost_byaddr (addr=0x82ae650 "Q©¼K\005", lp=0xbffff860) at res.c:466
        cp = (aCache *) 0x2
#2 0x0806b23d in start_of_normal_client_handshake (acptr=0x82ae310) at s_bsd.c:1353
        lin = {next = 0xb0, flags = 0, value = {cptr = 0x82ae310, chptr = 0x82ae310, aconf = 0x82ae310, wptr = 0x82ae310,
    whowas = 0x82ae310, cp = 0x82ae310 " ÃœI\b", ban = {banstr = 0x82ae310 " ÃœI\b", who = 0x0, when = 0}}}
#3 0x0806af28 in add_connection (cptr=0x81aa520, fd=176) at s_bsd.c:1338
        addr = {sin_family = 2, sin_port = 46597, sin_addr = {s_addr = 1270655313}, sin_zero = "\000\000\000\000\000\000\000"}
        len = 16
        acptr = (aClient *) 0x82ae310
        bconf = (ConfigItem_ban *) 0x0
        i = 4
        j = 0
#4 0x0806ba4b in read_message (delay=1, listp=0x8154540) at s_bsd.c:1872
        s = 2
        cptr = (aClient *) 0x81aa520
        nfds = 176
        wait = {tv_sec = 0, tv_usec = 995000}
        read_set = {__fds_bits = {0 <repeats 32 times>}}
        write_set = {__fds_bits = {0 <repeats 32 times>}}
        j = 44
        delay2 = 1
        res = 0
        length = 176
        fd = 176
        i = 2
        sockerr = 2
#5 0x0805ff70 in main (argc=0, argv=0xbffffb14) at ircd.c:1545
        oldtimeofday = 1114545622
        uid = 3002
        euid = 3002
        delay = 1
        corelim = {rlim_cur = 4294967295, rlim_max = 4294967295}
---Type <return> to continue, or q <return> to quit---
        nextfdlistcheck = 1114545618
(gdb)
Steps To Reproducenot reproducable :(
Additional InformationSeems like the same Crash Bug in UnrealIRCD 3.2.1 , 3.2.2 , 3.2.3
TagsNo tags attached.
3rd party modulescloak v1.1.4.3 13-3-2005 (official); commandsno v1.12; clones v1.8; scarecrow v0.0.7; ircops v3.6; banlist v.2.6; getinfo v3.5; commands v1.1.6.6 ; privdeaf v0.0.6

Relationships

related to 0002501 closed Segmentation Fault 
related to 0002499 resolvedsyzop find_cache_number crash 

Activities

HERZ

2005-04-27 09:21

reporter   ~0009830

Seems the same Bug like Report 0002501.

syzop

2005-05-18 10:34

administrator   ~0009958

The only thing I can suggest is trying valgrind again.

But we didn't get useful results out it previous time, right HERZ?
But perhaps try anyway?
You can always mail me the logfiles you get out of it to [email protected]

syzop

2005-06-06 20:30

administrator   ~0010050

moving all find_cache_number crashes --> 0002499

Issue History

Date Modified Username Field Change
2005-04-27 03:34 HERZ New Issue
2005-04-27 03:34 HERZ 3rd party modules => cloak v1.1.4.3 13-3-2005 (official); commandsno v1.12; clones v1.8; scarecrow v0.0.7; ircops v3.6; banlist v.2.6; getinfo v3.5;
2005-04-27 09:21 HERZ Note Added: 0009830
2005-04-28 16:26 syzop Relationship added related to 0002501
2005-04-28 16:27 syzop Relationship added related to 0002499
2005-05-18 10:34 syzop Note Added: 0009958
2005-06-06 20:30 syzop Status new => closed
2005-06-06 20:30 syzop Note Added: 0010050
2005-06-06 20:30 syzop Resolution open => duplicate