Results 1 to 3 of 3

Thread: Problem with valgrind

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    22
    Thanked 19 Times in 16 Posts

    Default Problem with valgrind

    When I run valgrind on Qt apps, it always reports this error and exits:

    unhandled opc_aux = 0x 1
    first_opcode == 0xDD
    vex x86->IR: unhandled instruction bytes: 0xDD 0xC 0x24 0x8B
    ==19005== valgrind: Unrecognised instruction at address 0x479851D.
    ==19005== Your program just tried to execute an instruction that Valgrind
    ==19005== did not recognise. There are two possible reasons for this.
    ==19005== 1. Your program has a bug and erroneously jumped to a non-code
    ==19005== location. If you are running Memcheck and you just saw a
    ==19005== warning about a bad jump, it's probably your program's fault.
    ==19005== 2. The instruction is legitimate but Valgrind doesn't handle it,
    ==19005== i.e. it's Valgrind's fault. If you think this is the case or
    ==19005== you are not sure, please let us know and we'll try to fix it.
    ==19005== Either way, Valgrind will now raise a SIGILL signal which will
    ==19005== probably kill your program.
    ==19005==
    ==19005== Process terminating with default action of signal 4 (SIGILL)
    ==19005== Illegal opcode at address 0x479851D
    ==19005== at 0x479851D: (within /usr/lib/libfontconfig.so.1.0.4)
    ==19005== by 0x3801707F: (within /usr/lib/valgrind/x86-linux/memcheck)
    ==19005== by 0x1000: ???

    Any clue?

    Thanx in advance
    momesana

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    3
    Thanked 39 Times in 39 Posts

    Default Re: Problem with valgrind

    Are you running valgrind as x86 on an AMD64 system?

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    258
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android
    Thanks
    22
    Thanked 19 Times in 16 Posts

    Default Re: Problem with valgrind

    Quote Originally Posted by e8johan View Post
    Are you running valgrind as x86 on an AMD64 system?
    I am running it on an x86er System.

    Here is some more information

    Portage 2.1.1-r1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13 i686)
    ================================================== ===============
    System uname: 2.6.16-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
    Gentoo Base System version 1.12.6
    Last Sync: Wed, 08 Nov 2006 00:00:01 +0000
    ccache version 2.3 [enabled]
    app-admin/eselect-compiler: [Not Present]
    dev-java/java-config: 1.3.7, 2.0.30
    dev-lang/python: 2.4.3-r4
    dev-python/pycrypto: 2.0.1-r5
    dev-util/ccache: 2.3
    dev-util/confcache: [Not Present]
    sys-apps/sandbox: 1.2.17
    sys-devel/autoconf: 2.13, 2.60
    sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
    sys-devel/binutils: 2.16.1-r3
    sys-devel/gcc-config: 1.3.13-r4
    sys-devel/libtool: 1.5.22
    virtual/os-headers: 2.6.17-r1
    ACCEPT_KEYWORDS="x86"
    AUTOCLEAN="yes"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
    CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
    CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"

    Any Ideas?

    Thanx in advance
    momesana

Similar Threads

  1. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 13:54
  2. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 13:45
  3. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 15:08
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 22:36
  5. Replies: 16
    Last Post: 7th March 2006, 16:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.