[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:       Tom Hughes <tom () compton ! nu>
Date:       2005-10-06 11:35:26
Message-ID: 20051006113526.28602.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 tom compton nu  2005-10-06 13:34 -------
That assertion is definitely in the code to handle pop but there are no pop \
instructions in the disassembly you provided.

In fact the address valgrind gave appears to be in the middle of that add instruction \
which is wrong, but might explain what is happening. One thing I did notice is that \
the add is 6 bytes long but gas only generates 3 bytes for "add $4, %esp" so \
presumably your JITer is producing a different encoding for the instruction.

Can you (a) try this with 3.0.1 or the current SVN code and see what happens and (b) \
get the actual byte stream that the JITer is producing for the problem instruction.

Thanks.


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

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