|
From: Nicholas N. <nj...@ca...> - 2004-08-20 08:16:14
|
On Thu, 19 Aug 2004, Samofatov, Nickolay wrote: > --8435-- INTERNAL ERROR: Valgrind received a signal 11 (SIGSEGV) - > exiting > --8435-- si_code=1 Fault EIP: 0xB003905A; Faulting address: 0xBF7FFFFC > > I'm probably doing something wrong, but I'm stuck here at the moment. > Problem is reliably reproducable and test works fine when running not > under Valgrind. > Machine is vanilla Mandrake 10 installation, Valgrind 2.1.2 is built > from source using stock compiler. > Firebird is the checkout from CVS HEAD a few days old, I may prepare > testcase bundle if there is an interest. > Any suggestions? Urgh, Valgrind itself is seg faulting -- definitely a Valgrind bug. Trouble is, these are really hard to track down, almost impossible without a test program. It does seem strange that 0xBF7FFFFC is the faulting address, since that's on the stack. And it looks like the stack has just extended to a new page. I wonder if that's involved somehow... If you're feeling adventurous, you could try inserting VG_(printf)() calls (or OINK() calls) in vg_signals.c:vg_sync_signalhandler() and try to work out if something is going wrong in there. Particularly around line 2106, where the comment says "extend the stack segment". You could also make a bug report in Bugzilla. Thanks. N |