segfaults
Matt Small <[email protected]> Wed, 14 Aug 2002 14:26:25 -0700
| Newsgroups | gmane.network.beep.beepcore.c.general |
|---|---|
| Message-ID | <[email protected]> |
I'm getting a few segfaults, and wondered if anyone had advice for how to look
for them. Most of the problems stretch across threads, where I don't have too
much experience debugging.
This backtrace was generated using beepd and beepng, with the syslog-raw
profile. All of it pretty stock.
#0 0x401a74c8 in main_arena () from /lib/i686/libc.so.6
#1 0x401b74f7 in channel_destroy (sess=0x805ade0, chan=0x805e050)
at ../generic/CBEEP.c:511
#2 0x401bb04b in blu_chan0_reply (indication=0x805b130, profile=0x0,
error=0x0) at ../generic/CBEEP.c:2327
#3 0x401c4322 in blw_chan0_reply (wrap=0x8054d98, c0m=0x805b130, pro=0x0,
diag=0x0) at ../bp_wrapper.c:1091
#4 0x401c2a0c in blw_close_indication (wrap=0x8054d98, indication=0x805b130)
at ../bp_notify.c:522
#5 0x401c2a88 in IW_notify_handle_chan0 (nrvoid=0x805b108)
at ../bp_notify.c:556
#6 0x401c1f66 in nr_callback (data=0x805b108) at ../bp_notify.c:49
#7 0x401c1174 in work_thread (data=0x804e558) at ../workthread.c:124
#8 0x40037c6f in pthread_start_thread (arg=0x41afcbe0) at manager.c:284
the session (sess, gotten from indication->session) is pretty corrupted; all
function pointers are into main_arena (instead of to functions that make sense),
strings are garbage, etc.
Any suggestions are welcome.
-matt
-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31