Douglas Garstang
2006-Dec-13 10:20 UTC
[asterisk-users] Core Dump: create_transaction (p=0x0) at pbx_dundi.c:2787
Anyone seen this...? Is it a known issue?
I'd file a bug, but we're on 1.2.9.13, and every time I file a bug and
it isn't against the latest code I get given crap for it. Given that most of
the time you don't know HOW to reproduce a problem on the latest code
anyway, not accepting bugs from older versions does the community no service,
because potential bugs are never accepted for submission.
(gdb) bt full
#0 0xb7da8d3c in mallopt () from /lib/libc.so.6
No symbol table info available.
#1 0xb7da7e3a in malloc () from /lib/libc.so.6
No symbol table info available.
#2 0xb7b30aa1 in create_transaction (p=0x0) at pbx_dundi.c:2787
trans = (struct dundi_transaction *) 0x0
#3 0xb7b3e616 in find_transaction (hdr=0xbe9fda40, sin=0xbe9ffa40) at
pbx_dundi.c:361
trans = (struct dundi_transaction *) 0x0
#4 0xb7b3e0ef in handle_frame (h=0xbe9fda40, sin=0xbe9ffa40,
datalen=-1209714176) at pbx_dundi.c:1944
trans = (struct dundi_transaction *) 0xbe9ffa40
#5 0xb7b3b3ff in socket_read (id=0x81a61e0, fd=18, events=1, cbdata=0x0) at
pbx_dundi.c:2006
sin = {sin_family = 2, sin_port = 43025, sin_addr = {s_addr =
3415129048}, sin_zero = "\000\000\000\000\000\000\000"}
res = -1209714176
buf =
"t?\000\000\000\000\211\000\000\006\000\016\f?\222M\023\004\022K?D\020P?\226?
\003?lZ?O?6?^@p(Yi\233T?&\002?8??\023\231?_\220k\0350\227Q?T\031?1?[o?}?\232\\?\232??\224??g<?\026??uy\231???\017?zr)????b\000n??5N?a?d?0??\f?R\237}GD??,\201PF?????O?\2076??????\022\200\021\202?I%\t|H\232,m\rh}\235?|v@\214??,??c?\216??\214?S\034\232\016\226449y?\031o?\201Z?_??c"...
len = 16
#6 0x080558cd in ast_io_wait (ioc=0x8134128, howlong=-1209714176) at io.c:284
res = 1
x = 0
origcnt = 1
#7 0xb7b35e6f in network_thread (ignore=0x0) at pbx_dundi.c:2106
res = -1209714100
#8 0xb7ef9ed8 in pthread_start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9 0xb7df87ea in clone () from /lib/libc.so.6
No symbol table info available.
(gdb)
Doug.
Tony Mountifield
2006-Dec-13 13:18 UTC
[asterisk-users] Re: Core Dump: create_transaction (p=0x0) at pbx_dundi.c:2787
In article <645FEC31A18FE54A8721500CDD55A7B6035D0C47@mail.oneeighty.com>, Douglas Garstang <dgarstang@oneeighty.com> wrote:> Anyone seen this...? Is it a known issue? > > I'd file a bug, but we're on 1.2.9.13, and every time I file a bug and it isn't against the > latest code I get given crap for it. Given that most of the time you don't know HOW to > reproduce a problem on the latest code anyway, not accepting bugs from older versions does > the community no service, because potential bugs are never accepted for submission. > > (gdb) bt full > #0 0xb7da8d3c in mallopt () from /lib/libc.so.6 > No symbol table info available. > #1 0xb7da7e3a in malloc () from /lib/libc.so.6 > No symbol table info available. > #2 0xb7b30aa1 in create_transaction (p=0x0) at pbx_dundi.c:2787 > trans = (struct dundi_transaction *) 0x0Hmmm, that will be a tricky one to track down. There's no reason to get a core dump from within malloc() unless something else has previously stomped outside of its own malloced area, smashing the free list. So the problem is likely not within create_transaction(), but caused sometime before, possibly in some completely unrelated code. Is it repeatable, or just happens at random (or even just once)? Cheers Tony -- Tony Mountifield Work: tony@softins.co.uk - http://www.softins.co.uk Play: tony@mountifield.org - http://tony.mountifield.org