[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 101018] Valgrind crash in dynamicly JITed code. (disInstr):
From:       Emmeran Seehuber <rototor () rototor ! de>
Date:       2005-10-06 21:07:20
Message-ID: 20051006210720.5701.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=101018         




------- Additional Comments From rototor rototor de  2005-10-06 23:07 -------
Disabling BoehmGC with 

$ export GC_DONT_GC=1

seems to be enough. I can now reproduce the bug with valgrind 3.0.0:

vex: priv/guest-x86/toIR.c:10991 (disInstr_X86_WRK): Assertion `!epartIsReg(rm) && \
(gregOfRM(rm) == 0)' failed. vex storage:  P 512,  T total 649202384 (20558115),  T \
curr 688 (32)

valgrind: the 'impossible' happened:
   LibVEX called failure_exit().
==32625==    at 0xB0016D10: vgPlain_core_panic_at (m_libcassert.c:181)
==32625==    by 0xB0016D0F: panic (m_libcassert.c:177)
==32625==    by 0xB0016D45: vgPlain_core_panic_at (m_libcassert.c:182)
==32625==    by 0xB0016D6E: vgPlain_core_panic (m_libcassert.c:187)
==32625==    by 0xB0026073: failure_exit (m_translate.c:360)
==32625==    by 0xB006758E: vex_assert_fail (vex_util.c:163)
==32625==    by 0xB00B9F66: disInstr_X86_WRK (toIR.c:11691)
==32625==    by 0xB00BA85E: disInstr_X86 (toIR.c:12109)
==32625==    by 0xB008F0F1: bb_to_IR (bb_to_IR.c:187)
==32625==    by 0xB0066C6F: LibVEX_Translate (vex_main.c:408)
==32625==    by 0xB0026778: vgPlain_translate (libvex_basictypes.h:162)
==32625==    by 0xB003E037: handle_tt_miss (scheduler.c:566)
==32625==    by 0xB003E423: vgPlain_scheduler (scheduler.c:680)
==32625==    by 0xB005D972: vgModuleLocal_thread_wrapper (syswrap-linux.c:80)
==32625==    by 0xB0058B6C: run_a_thread_NORETURN (syswrap-x86-linux.c:150)

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable
==32625==    at 0x1C559574: ???
==32625==    by 0x1C558F1F: ???
==32625==    by 0x1C558E08: ???
==32625==    by 0x1C558BB2: ???
==32625==    by 0x1C5561B3: ???
==32625==    by 0x1C5560F3: ???
==32625==    by 0x8050190: GSBBasicSelfTests::runTests_() (gsbBasicSelfTests.h:642)
==32625==    by 0x804F67C: SelfTest::run(GSInterpreter*) (SelfTest.cpp:175)
==32625==    by 0x8051E53: startup(char const*, int) (server.cpp:23)
==32625==    by 0x8051EF0: main (server.cpp:38)

I'll attach a binary dump of the function which causes the problem.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic