It'd be useful to enable rtldebug if you don't have it already. There'd probably also be some useful debug printout if you uncomment the #define POLL_DEBUG line in backend.cmod. Lastly, stack frames got to be missing from that backtrace, so please don't use -fomit-frame-pointer or whatever optimizations you have that cause that.
This bug aside, the Shuffler module really ought to move away from the old compat callback interface and use fd_callback_box directly. Didn't Stephen fix that recently?
/ Martin Stjernholm, Roxen IS
Previous text:
2004-08-23 01:16: Subject: Segfault in backend
Hi,
While trying the Shuffler module, I had the following segfault:
#0 0x0809ba20 in really_free_compat_cb_box () #1 0x406887d0 in f_Shuffle_create () from /usr/local/pike/7.6.13/lib/modules/Shuffler.so #2 0x08074ee1 in low_mega_apply () #3 0x0807608e in mega_apply () #4 0x00000004 in ?? () #5 0x088c1124 in ?? () #6 0x0000000b in ?? () #7 0x00000000 in ?? () #8 0xfffce50c in ?? () #9 0xbf7ff624 in ?? () #10 0x080dfbd7 in call_pike_initializers () Previous frame inner to this frame (corrupt stack?)
The really_free_compat_cb_box function is located in backend.cmod so I guess it's backend related. The problem is 100% reproductible and I can add any debug/line of code to help for fixing it. I'm using pike 7.6.13 from CVS (built the 15/08)
/ David
/ Brevbäraren