[pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT

Startseite
Nachricht löschen
Autor: Zoltan Herczeg
Datum:  
To: pcre-dev
Alte Treads: [pcre-dev] [Bug 1223] New: Test failure on 10.7/i386 with JIT
Betreff: [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1223




--- Comment #11 from Zoltan Herczeg <hzmester@???> 2013-02-01 05:37:42 ---
> I can't reproduce the pcretest segfault with the trunk checkout, though, even
> before applying your patch.


I suspect misaligned_stack_error_ appears only in some kind of debug mode.
Could you disassemble the library with otool and check whether do_searchovector
calls this method? It should be somewhere at the beginning of the function.

http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/otool.1.html

This says:

-t     Display the contents of the (__TEXT,__text) section.  With the -v flag,
this disassembles  the text.  And with -V, it also symbolically disassembles
the operands.


Search for do_searchovector and misaligned_stack_error_ should be called in the
first 20-30 lines of the function body.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email