You are not logged in.

#1 2008-04-28 17:46:23

pazioman
Member
Registered: 2008-04-27
Posts: 21

Kdevelop + GDB + QT = Program received signal SIGTRAP

Hi there!
I installed Arch Linux a few days ago and I got back to work on some of my projects.
I'm programming an application which uses QT 4.3.3 with KDevelop and it runs
just fine but when I try to debug it I always get an error message saying
"Program received signal SIGTRAP" and after that the debugger (gdb) stops responding
without giving any further error messages. I don't think it's an application source problem
since with Ubuntu I could debug everything without any problem.

I noticed that if I start gdb from the command line to do the same operations
the program flows without problems.
Why doesn't gdb work in Kdevelop? Do I have to configure something?
Thx for your help

PS. The program in built in debug mode.

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

Last edited by pazioman (2008-04-28 18:24:46)

Offline

#2 2008-04-29 18:57:39

pazioman
Member
Registered: 2008-04-27
Posts: 21

Re: Kdevelop + GDB + QT = Program received signal SIGTRAP

SOLVED.

It seems that there is some problem with Archlinux default kernel (I think it is 2.6.24-ARCH).
After upgrading to 2.6.25 the problem disappeared. I don't know if it is something related to the kernel itself
or some options disabled.Now, how can i signal this bug?

Offline

Board footer

Powered by FluxBB