Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#10354 - KDevelop 3.5.1 + GDB 6.7.1 + Kernel 2.6.24-ARCH = Unable to debug QT Applications
Attached to Project:
Arch Linux
Opened by Ippazio Martella (pazioman) - Sunday, 04 May 2008, 09:18 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 30 October 2008, 09:55 GMT
Opened by Ippazio Martella (pazioman) - Sunday, 04 May 2008, 09:18 GMT
Last edited by Pierre Schmitz (Pierre) - Thursday, 30 October 2008, 09:55 GMT
|
DetailsDescription:
I was trying to debug a QT-based application in KDevelop using the embedded GDB frontend but even though the application ran fine it was impossible to debug due the continuous SIGTRAP signals emitted by system libs and intercepted by the debugger. Here is a sample of error: Program received signal SIGTRAP, Trace/breakpoint trap. 0xb7f67d81 in malloc () from /lib/ld-linux.so.2 The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (malloc) will be abandoned. The command "set unwindonsignal on" suppressed the error dialogs but most variables became corrupted and made the QT program to crash or not to behave as expected. I solved the problem installing the 2.6.25 kernel from kernel.org and compiling it by myself (using the old .config file). Now everything work as expected. Additional info: extra/KDevelop 3.5.1-1 extra/gdb 6.7.1-1 Default kernel 2.6.24-ARCH provided with the standard core Arch Linux installation core/glibc 2.7-9 Steps to reproduce: Try to set breakpoints and step over some instructions in any QT based application (the examples and tutorials provided in the QT Official Documentation for instance). I don't know if this bug is extended to simple C/C++ debugging. I'm attaching the GDB output during the debug. |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Thursday, 30 October 2008, 09:55 GMT
Reason for closing: Not a bug
Thursday, 30 October 2008, 09:55 GMT
Reason for closing: Not a bug
Comment by Pierre Schmitz (Pierre) -
Monday, 28 July 2008, 07:38 GMT
Is this still valid?
Comment by Tobias Powalowski (tpowa) -
Sunday, 05 October 2008, 16:23 GMT
status?
Comment by Ippazio Martella (pazioman) -
Monday, 06 October 2008, 13:01 GMT
I can't try it again since I formatted my PC and I re-installed Arch Linux from scracth using the 2.6.26 kernel.
gdb_output.txt