View Issue Details

IDProjectCategoryView StatusLast Update
0002618unrealircdpublic2005-08-19 12:00
Reportercab Assigned To 
PrioritynormalSeveritycrashReproducibilityN/A
Status closedResolutionduplicate 
Platformahtlon-xpOSDebianOS Version3.1
Product Version3.2.3 
Summary0002618: Random Crash
DescriptionWe got an awful crash today on one of our server, apparently linked to some kind of DNS stuff.
core file was generated (still available) & useful backtrace is in "Additional Information" section ;)

Somebody told me to say "Looks like unitialized memory" to look smart ;p

using gcc 3.3.6 and glibc 2.3.5
Steps To ReproduceImpossible - random crash - not even precise context/reasons
Additional Information$ gdb --core=core --se=ircd
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/xxxx/unreal/server/3.2.3/ircd'.
Program terminated with signal 11, Segmentation fault.

warning: current_sos: Can't read pathname for load map: Input/output
error

Error while mapping shared library sections:
tmp/826C516A.commands.so: No such file or directory.
Error while mapping shared library sections:
tmp/4F94FABB.cloak.so: No such file or directory.
Error while mapping shared library sections:
tmp/50C3FC4B.m_svsnline.so: No such file or directory.
Error while mapping shared library sections:
tmp/A5FE2380.m_nocodes.so: No such file or directory.
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/826C516A.commands.so: No such file or directory.
Error while reading shared library symbols:
tmp/4F94FABB.cloak.so: No such file or directory.
Error while reading shared library symbols:
tmp/50C3FC4B.m_svsnline.so: No such file or directory.
Error while reading shared library symbols:
tmp/A5FE2380.m_nocodes.so: No such file or directory.
#0 0x080670bd in find_cache_number (rptr=0x0, numb=0x819e968
"SÂRä\016") at res.c:1443
1443 for (i = 0; HE(cp)->h_addr_list[i]; i++)
(gdb) bt
#0 0x080670bd in find_cache_number (rptr=0x0, numb=0x819e968
"SÂRä\016") at res.c:1443
#1 0x08065ec8 in gethost_byaddr (addr=0x819e968 "SÂRä\016",
lp=0xbffff8c0) at res.c:466
#2 0x0806b21d in start_of_normal_client_handshake (acptr=0x819e628) at
s_bsd.c:1353
#3 0x0806af08 in add_connection (cptr=0x81a14a0, fd=62) at s_bsd.c:1338
#4 0x0806ba2b in read_message (delay=1, listp=0x81541c0) at
s_bsd.c:1872
#5 0x0805ff50 in main (argc=0, argv=0xbffffb74) at ircd.c:1545
(gdb) print (&((cp)->he))->h_addr_list[i]
Cannot access memory at address 0x3632312d
(gdb) print (&((cp)->he))
$1 = (struct hostent *) 0x822ee90
(gdb) print (&((cp)->he))->h_name
$2 = 0x2d313533 <Address 0x2d313533 out of bounds>
(gdb) print (&((cp)->he))->h_length
$3 = 842561326
(gdb) print (&((cp)->he))->h_addrtype
$4 = 892612909
TagsNo tags attached.
3rd party modules

Relationships

related to 0002499 resolvedsyzop find_cache_number crash 

Activities

syzop

2005-08-11 17:18

administrator   ~0010324

Last edited: 2005-08-11 17:18

could you paste the contents of /etc/resolv.conf? (you can xx out the last 2 parts of the ips...)

cab

2005-08-11 17:23

reporter   ~0010325

yep, here it is..

$ cat /etc/resolv.conf
search xxx.net
nameserver 127.0.0.1
nameserver 213.246.33.xxx
nameserver 213.246.34.xxx
nameserver 213.246.33.xxx

really not exceptionnal, uh ;)

syzop

2005-08-11 17:29

administrator   ~0010327

heh, just had nobody crashing with 127.0.0.1 as dns yet.. but that could be "coincidence" :P.
--
Could you send me the core file + src/ircd binary + commands.so? [email protected]

Thanks.

cab

2005-08-11 17:38

reporter   ~0010328

You got mail ;)

cab

2005-08-18 03:15

reporter   ~0010341

Hi, we got another crash during the night, on another server. (physically different machine, same unreal version)

I can provide the ircd file, the core file and the backtrace if needed, but it'll be almost the same ;)

syzop

2005-08-18 11:08

administrator   ~0010343

Thanks. I'm still interested in that, so if you could send those files (or the url) to me, that would be great :). I'm trying to find a pattern in the crashes.

syzop

2005-08-19 12:00

administrator   ~0010355

I'll mark this one as a dup... So please use bug 0002499 for further correspondence (or email).

--

Still interrested in the new cores though :).

Issue History

Date Modified Username Field Change
2005-08-11 16:27 cab New Issue
2005-08-11 17:18 syzop Note Added: 0010324
2005-08-11 17:18 syzop Note Edited: 0010324
2005-08-11 17:23 cab Note Added: 0010325
2005-08-11 17:29 syzop Note Added: 0010327
2005-08-11 17:38 cab Note Added: 0010328
2005-08-18 03:15 cab Note Added: 0010341
2005-08-18 11:08 syzop Note Added: 0010343
2005-08-19 11:56 syzop Relationship added related to 0002499
2005-08-19 12:00 syzop Status new => closed
2005-08-19 12:00 syzop Note Added: 0010355
2005-08-19 12:00 syzop Resolution open => duplicate