Results 1 to 4 of 4

Thread: gdb crashed cause of LD_PRELOAD cannot be preloaded

  1. #1
    Join Date
    Jul 2010
    Location
    Germany
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default gdb crashed cause of LD_PRELOAD cannot be preloaded

    Hi,
    when I start the debugger in Qt Creator I get this message on the stdout

    ERROR: ld.so: object '/home/<me>/.local/share/data/Nokia/QtCreator/qtc-debugging-helper/<number>/libgdbmacros.so' from LD_PRELOAD cannot be preloaded: ignored.

    and by the first breakpoint the gdb crashed and Creator get Message
    "Gdb unerwartet beedet - Der Gdb-Prozess wurde plötzlich beendet (abgestürzt)."

    After that the applicaton process is dead and i have to kill it.

    I use
    - openSuse 11.1
    - QtCreator 1.3.1 based on Qt 4.6.3 or 2.0.0 based on Qt 4.7.0
    - Qt versions: Qt from PATH 4.6.1, 4.5.3 and 4.6.3
    - GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs

    By every combination the error is there.

    I dont know what happened with my system, in the past the debugger run. The wanted file exist and is made from QtCreator if I rebuild debugger helper (options -> Qt4 -> QtVersions -> rebuild)

    How can I make the shared library preloaded?
    Last edited by pk; 9th July 2010 at 16:10.

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: gdb crashed cause of LD_PRELOAD cannot be preloaded

    You normally get that message when files are missing or invalid - did you try to reinstall?

  3. #3
    Join Date
    Jul 2010
    Location
    Germany
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: gdb crashed cause of LD_PRELOAD cannot be preloaded

    I updated QtCreator from 1.2 to 1.3.1 -> no change
    Install qt-sdk-linux-x86_64-opensource-2010.04.bin -> no change

  4. #4
    Join Date
    Jul 2010
    Location
    Germany
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: gdb crashed cause of LD_PRELOAD cannot be preloaded

    Ok, I found it.
    The debugger crashed because of a Watcher which i have had set for a previous run. I saw in the debuggers view (Debug->Views->Debugger) that the Watcher wasn't found. I think it crashed because the value didn't exist at the breakpoint time. I deleted the Watcher and everything was fine.
    Last edited by pk; 12th July 2010 at 09:37.

Similar Threads

  1. QT Creator crashed on startup
    By eloos in forum Qt Tools
    Replies: 13
    Last Post: 20th November 2009, 08:50
  2. Help: Qt crashed when linked against libSoQt
    By jwieland in forum Qt Programming
    Replies: 18
    Last Post: 14th April 2009, 22:17
  3. Crashed project
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 26th January 2008, 00:25
  4. Qwizard crashed when created in a slot
    By joshlareau in forum Qt Programming
    Replies: 9
    Last Post: 15th January 2008, 09:16
  5. qapplication with open(/dev/name,O_RDWR) crashed???
    By ttbug in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 16th September 2006, 07:56

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.