[Qt-interest] Valgrind on MAC SIGILL
Bruno Seabra Lima
bslima at telemidia.puc-rio.br
Thu Jan 27 20:55:11 CET 2011
Just to post a resolving:
u need the trunk version of valgrind (3.7) ...
Bruno Seabra Mendonça Lima
--------------
Bacharel em Ciência da Computação - UFMA
Mestrando da PUC-Rio
Pesquisador Laboratório Telemidia (PUC-Rio)
Pesquisador Colaborador LAWS (UFMA)
Pesquisador/Desenvolvedor Intacto Software
-------------
www.bslima.com
On Thu, Jan 27, 2011 at 4:40 PM, Bruno Seabra Lima <
bslima at telemidia.puc-rio.br> wrote:
> Hi Guys,
> i'm running valgrind on a minimum QtGui application, but i'm getting a
> SIGILL from Valgrind,
> the application is allright without Valgrind.
>
> Here is a valgrind output:
>
> vex x86->IR: unhandled instruction bytes: 0x66 0xF 0x3A 0xA
> ==5532== valgrind: Unrecognised instruction at address 0x10ac4d2.
> ==5532== Your program just tried to execute an instruction that Valgrind
> ==5532== did not recognise. There are two possible reasons for this.
> ==5532== 1. Your program has a bug and erroneously jumped to a non-code
> ==5532== location. If you are running Memcheck and you just saw a
> ==5532== warning about a bad jump, it's probably your program's fault.
> ==5532== 2. The instruction is legitimate but Valgrind doesn't handle it,
> ==5532== i.e. it's Valgrind's fault. If you think this is the case or
> ==5532== you are not sure, please let us know and we'll try to fix it.
> ==5532== Either way, Valgrind will now raise a SIGILL signal which will
> ==5532== probably kill your program.
> ==5532==
> ==5532== Process terminating with default action of signal 4 (SIGILL)
> ==5532== Illegal opcode at address 0x10AC4D2
> ==5532== at 0x10AC4D2: floorf$fenv_access_off (in
> /usr/lib/libSystem.B.dylib)
> ==5532== by 0x18188B8E: get_font_info (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib)
> ==5532== by 0x15300A3: get_font_info (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x153005B: CGFontGetUnitsPerEm (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x16B729A: CGFontCreateGlyphBitmap32 (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x1590A78: create_missing_bitmaps (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x15497C6: CGGlyphLockLockGlyphBitmaps (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x17F35522: ripc_RenderGlyphs (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib)
> ==5532== by 0x17F34F66: ripc_DrawGlyphs (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib)
> ==5532== by 0x1547971: draw_glyphs (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x15472C6: CGContextShowGlyphsWithAdvances (in
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics)
> ==5532== by 0x152294: QFontEngineMac::imageForGlyph(unsigned int, int,
> bool) (in /Library/Frameworks/QtGui.framework/Versions/4/QtGui)
>
> Bruno Seabra Mendonça Lima
> --------------
> Bacharel em Ciência da Computação - UFMA
> Mestrando da PUC-Rio
> Pesquisador Laboratório Telemidia (PUC-Rio)
> Pesquisador Colaborador LAWS (UFMA)
> Pesquisador/Desenvolvedor Intacto Software
> -------------
> www.bslima.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110127/b5d71268/attachment.html
More information about the Qt-interest-old
mailing list