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?
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?
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
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.