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)

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?

Similar Messages

  • RunModalForDirector crashes with Program received signal:  "EXC_BAD_ACCESS"

    I am new to objective-c programming and I am trying to fix a bug in some existing code. So apologies if the solution to my problem is simple.
    The following section of code crashes with a Program received signal: “EXCBADACCESS” error message when trying to open a window and I don't know why.
    [oPanel runModalForDirectory:nil file:nil types:fileTypes]
    in the following function:
    NSString * SelectDirectory()
    NSString* fname;
    fname = nil;
    // printf("loading files\n");
    NSArray *fileTypes = [NSArray arrayWithObjects:@"asc", nil];
    // Create the File Open Panel class.
    NSOpenPanel* oPanel = [NSOpenPanel openPanel];
    [oPanel setCanChooseDirectories:YES];
    [oPanel setCanChooseFiles:NO];
    [oPanel setCanCreateDirectories:YES];
    [oPanel setAllowsMultipleSelection:NO];
    [oPanel setAlphaValue:0.95];
    [oPanel setTitle:@"Select a directory to open"];
    // Display the dialog. If the OK button was pressed, process the files.
    if ( [oPanel runModalForDirectory:nil file:nil types:fileTypes] == NSOKButton )
    NSLog(@"fname before assignment: %@",fname);
    // Get an array containing the full filenames of all files and directories selected.
    fname = [oPanel filename];
    NSLog(@"fname after assignment: %@",fname);
    else
    fname = nil;
    // printf("No directory Selected");
    return (fname);
    And the output from backtrace is:
    gdb) backtrace
    #0 0x005f7733 in gleRunVertexSubmitImmediate ()
    #1 0x005f554a in gleLLVMArrayFunc ()
    #2 0x005f554a in gleLLVMArrayFunc ()
    #3 0x005f54d7 in gleSetVertexArrayFunc ()
    #4 0x005d079a in gleDrawArraysOrElements_ExecCore ()
    #5 0x005d2c8d in gleDrawArraysOrElementsVBOExec ()
    #6 0x95609aa4 in glDrawElements ()
    #7 0x00019521 in -[MyFooGLView drawRect:] (self=0x1ab740, _cmd=0x962df5d0, rect={origin = {x = 406, y = 0}, size = {width = 275, height = 5}}) at /Users/kinglab/Desktop/C3.3.5/MyFooGLView.m:2443
    #8 0x97779bf8 in -[NSView _drawRect:clip:] ()
    #9 0x97777469 in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] ()
    #10 0x97777e9f in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] ()
    #11 0x97777e9f in -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] ()
    #12 0x97776987 in -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] ()
    #13 0x977734ab in -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] ()
    #14 0x976b3e7b in -[NSView displayIfNeeded] ()
    #15 0x976b3a29 in -[NSWindow displayIfNeeded] ()
    #16 0x976b384c in _handleWindowNeedsDisplay ()
    #17 0x95c31772 in __CFRunLoopDoObservers ()
    #18 0x95c32acc in CFRunLoopRunSpecific ()
    #19 0x95c33aa8 in CFRunLoopRunInMode ()
    #20 0x96f2a2ac in RunCurrentEventLoopInMode ()
    #21 0x96f29ffe in ReceiveNextEventCommon ()
    #22 0x96f29f39 in BlockUntilNextEventMatchingListInMode ()
    #23 0x976b16d5 in _DPSNextEvent ()
    #24 0x976b0f88 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
    #25 0x978ee38d in -[NSApplication _realDoModalLoop:peek:] ()
    #26 0x978e8acb in -[NSApplication runModalForWindow:] ()
    #27 0x978d9bb6 in -[NSSavePanel(NSSavePanelRuntime) runModalForDirectory:file:types:] ()
    #28 0x00004794 in SelectDirectory () at /Users/kinglab/Desktop/C3.3.5/FracController.m:42
    #29 0x0000ecb5 in -[MyFooGLView LoadSurfBut:] (self=0x1ab740, _cmd=0x2db85, sender=0x12a130) at /Users/kinglab/Desktop/C3.3.5/MyFooGLView.m:633
    #30 0x97782e8f in -[NSApplication sendAction:to:from:] ()
    #31 0x97782dcc in -[NSControl sendAction:to:] ()
    #32 0x97782c52 in -[NSCell _sendActionFrom:] ()
    #33 0x977822ab in -[NSCell trackMouse:inRect:ofView:untilMouseUp:] ()
    #34 0x97781afe in -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] ()
    #35 0x977813b8 in -[NSControl mouseDown:] ()
    #36 0x9777faf7 in -[NSWindow sendEvent:] ()
    #37 0x9774c6a5 in -[NSApplication sendEvent:] ()
    #38 0x976a9fe7 in -[NSApplication run] ()
    #39 0x976771d8 in NSApplicationMain ()
    #40 0x0000202c in main (argc=1, argv=0xbfffe7cc) at /Users/kinglab/Desktop/C3.3.5/main.m:15

    The problem doesn't seem to be with SelectDirectory(), it is with MyFooGLView. Perhaps that view is trying to do something that requires the event loop but you have it locked up in your modal dialog. Try using callbacks in a modeless dialog instead.

  • Program received signal:  "EXC_BAD_ACCESS". error

    I get this error sometimes when I test application on device.
    Program received signal: “EXCBADACCESS”.
    Why this error occurs and how can it be resolved ?
    Thanks for help.

    sURBHIT Mehrotra wrote:
    why this problem doesn't occur on simulator. ?? ??
    Simulators never have 100% fidelity. If you are developing on a simulator you have to be extra careful that you are doing everything perfectly. Many developers just assume that code is correct when it appears to work properly. That logic fails when you are developing on a simulator.
    There is no easy answer. You need to review your code much more carefully.

  • Program Received Signal: "SIGABRT"

    Hi, I am currently using Xcode 4.2 for Lion. I am using a normal Window-based application with a tab-bar for iPhone and iPad. Up until now, I haven't had any problems with this, but when I tried testing my app on an iPhone, I seem to be getting this message/error:
    Thread 1: Program received signal: "SIGABRT"
    And the thread that is being highlighted is
        int retVal = UIApplicationMain(argc, argv, nil, nil);
    Normally when I get this error, it turns out that the problem is I have deleted an IBOutlet or IBAction in a header but not disconnected it in the XIB file. This time however, I have checked every XIB and found that there is no such problem.
    Also, whenever I run this program on the simulator, it seems to work fine, but once I run it on the iPhone it does this.
    It seems that the problem started after I insterted a link to the App Store, but even after deleting that, I am still having this problem.
    Any help would be greatly appreciated.

    hi, 
               if we change the XCode project file from lower version to update version this type of problems may occur. I have already faced this. you have to use the break points where the problem. Basically it is the problem for releasing the object memory... Find out where it is happening and use Copy / retain keywords..... May helpful...

  • How to use labview program receive arduino 2560 mega digital sigal

    Dear sir,
    i use arduino mega 2560 connected to labview.
    i don't have idea to sketch the labview program receive arduino digital signal, pl help.

    NapDynamite wrote:
    Check for following niches:
    1. Check whether the COM port you have selected is correct.
    2. Check whether your arduino is loaded with LIFA firmware.
    The error wouldn't be with not loading the LIFA firmware it is "Insufficient location information or the device or resource is not present in the system." So I'm going to guess that COM5 doesn't exist.
    Click the little arrow next to COM5 and it will list the COM ports that LabVIEW (and MAX) see and can use.  If yours isn't listed you'll need to figure out why.  If none are listed then you likely don't have VISA installed.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Hp laserjet 1300 not receive signals from computer

    HP Laserjet 1300 seems not to receive signals from my computer. Please explain
    This question was solved.
    View Solution.

    Are you networked or USB cabled into from the printer into the computer?
    What OS are you using?
    If you are on windows 7 and networked in, then you need to check and make sure the that the IP address of the printer is listed as the same in the port settings.
    If you are on windows 7 and are using a USB cable, then you have to load the printer through the IN-OS driver. See the link below...
    Install the driver included in the Windows 7 operating system (OS)
    If you are using some other OS or driver, please let me know.
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as Accepted Solution

  • External monitor not receiving signal

    In a MacBook Pro with Mountain Lion 10.8.3 when connecting to an external monitor does not appeare to be receiving signal.

    Apple support article:
    Video Troubleshooting Internal and External Monitors

  • BPM processes,receiving signals (events) & correlation to existing instance

    Hi,
    BPM 11g/SOA Suite 11g (R1 PS2)
    I am wondering whether it is possible to receive signals (EDN events) into a running process instance. The documentation describes how a process can be started by an event. I would like to be able to feed an event (signal) into a running process (just like we do with correlation in BPEL processes). Is that possible - and if so, how?
    Along the same lines, can BPM processes receive messages through externally exposed WebService operations - into correlated process instances? For example: I have started the process to create a new employee in the organization and I want to inform the process instances taking care of this employee that she will start on a later date than originally assumed (or not at all because she has accepted another job). I know the unique employee id for this new hire. How can I configure the BPM process such that this incoming call after the instance has started is fed into a Receive activity in the process instance working on this employee?
    Maybe a similar is question would be: can a message catch event be used without a corresponding message throw event - to catch incoming messages asynchronously and not related to a message sent by the process instance.
    thanks very much for your insights,
    Lucas

    I also tried DB Adapters and it is not working for my scenario. Needed help/pointers from a BPM Guru \.
    As per my business scenario, If there any update in the database (offline approval. not using worklist) then i should complete the running BPM process for approval.
    1. To achieve this, I created a adapter to poll and it is working in polling. What is not working is picking the update in process and mark is closed/complete.
    2. I tried using Catch Event with continuation mode (but it needs throw event to begin with).
    3. I also tried ‘Receive event’, which also needs start event for continuation.
    4. If i use Initiate mode for catch event then it initiate a new process and mark it close and does not do anything with original process (having this catch event). This catch event is still waiting.
    5. If i use “receive” event with Initiate mode then jdeveloper is giving compilation time error saying that some service is not referenced in composite.
    6. I have also tried other options of using “Sub-process” or another process and invoking it but nothing seems to work.
    Any help/pointers? Thanks a lot.

  • HT201397 My "remote" can't control my Apple TV, however apple tv still received signal from "remote"

    My "remote" can't control my Apple TV, however apple tv still received signal from "remote" . Before that I have to press and hold the menu button, then the "remote" icon appeared on the screen.

    Welcome to the Apple Community.
    Your Apple TV may have become paired with another remote. Hold the remote close to and pointed at the Apple TV, hold down the menu and Rewind buttons together for 6 seconds or until you see a broken chain icon on screen.

  • During snoop. WARNING: received signal 11 from packet

    During snooping the local ip address on a V240. I saw this error:
    WARNING: received signal 11 from packet 780
    What does it mean? Is the hardware faulty? Is snoop faulty?
    The packet 780 was going outward and has xxxx in place of some data:
    ETHER: ----- Ether Header -----
    ETHER:
    ETHER: Packet 780 arrived at 15:16:38.22
    ETHER: Packet size = 696 bytes
    ETHER: Destination = xxxx,
    ETHER: Source = xxxx,
    ETHER: Ethertype = 0800 (IP)
    ETHER:
    IP: ----- IP Header -----
    IP:
    IP: Version = 4
    IP: Header length = 20 bytes
    IP: Type of service = 0x00
    IP: xxx. .... = 0 (precedence)
    IP: ...0 .... = normal delay
    IP: .... 0... = normal throughput
    IP: .... .0.. = normal reliability
    IP: .... ..0. = not ECN capable transport
    IP: .... ...0 = no ECN congestion experienced
    IP: Total length = 682 bytes
    IP: Identification = 52818
    IP: Flags = 0x4
    IP: .1.. .... = do not fragment
    IP: ..0. .... = last fragment
    IP: Fragment offset = 0 bytes
    IP: Time to live = 60 seconds/hops
    IP: Protocol = 6 (TCP)
    IP: Header checksum = 8762
    IP: Source address = xxxx, xxxx
    IP: Destination address = xxxx, xxxx
    IP: No options
    IP:
    TCP: ----- TCP Header -----
    TCP:
    TCP: Source port = 389
    TCP: Destination port = 62638
    TCP: Sequence number = 2004482227
    TCP: Acknowledgement number = 2710103459
    TCP: Data offset = 20 bytes
    TCP: Flags = 0x18
    TCP: 0... .... = No ECN congestion window reduced
    TCP: .0.. .... = No ECN echo
    TCP: ..0. .... = No urgent pointer
    TCP: ...1 .... = Acknowledgement
    TCP: .... 1... = Push
    TCP: .... .0.. = No reset
    TCP: .... ..0. = No Syn
    TCP: .... ...0 = No Fin
    TCP: Window = 49542
    TCP: Checksum = 0xe935
    TCP: Urgent pointer = 0
    TCP: No options

    OK I expect that this explains it...
    Patch Id: 112915-03
    Problem Description:
    4676230 Signal 11 errors(sigsegv) when snooping ldap port(389)

  • Reflection of the received Signal for Channel Sounding

    I am trying to use a USP NI 2920, under Labview control, in order to make a sort of channel sounding. The USRP generates a pseudonoise (PN) sequence that BPSK modulate the carrier sent to a TX antenna. The same USRP runs a receiver process that acquire the signal form RX antenna, demodulate it and correlate it with a copy of the PN. so now my problem is that the received signal is from the LOS but i want the received reflected signal too so how can i get it and represent it I hope any help would be appericated
    Finally Thanks
    Aomine

    Hi Aomine,
    please don't ask the very same question by PN!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • The original 5 meters distance router in WiFi signal is full, but the beginning of the past few days more than 3 meters on the search to the WiFi signal, my own iPhone 5, iPhone 4S received signal is full, only iPad2 searching for less than the signal.

    The original 5 meters distance router in WiFi signal is full, but the beginning of the past few days more than 3 meters on the search to the WiFi signal, my own iPhone 5, iPhone 4S received signal is full, only iPad2 searching for less than the signal.

    The original 5 meters distance router in WiFi signal is full, but the beginning of the past few days more than 3 meters on the search to the WiFi signal, my own iPhone 5, iPhone 4S received signal is full, only iPad2 searching for less than the signal.

  • Xmanager acces from remote causes Xerrors dtlogin received signal 11

    I am running Solaris 2.8 on a Ultra 10 ( 512MB)
    Xwindows /CDE on the console is running fine,
    when attempting to log on to the system from an external x-windows ( pc)
    via dtlogin the login screen does not appear.
    /var/dt/Xerrors containts:
    dtlogin: received signal 11
    Any clues what configuration could cause the process to abort.
    Kind regards,
    Gerd.

    Thanks for the replies, folks. The statistics I have posted ARE from the Test connection, it's been in the Test socket since the last time I had this malarkey ... I had forgotten that was the case, I don't know if it's the wrong thing.
    I understand about the profile banding, which is why last time the wet weather cleared away I was asking BT for a profile reset to get me back to speed promptly but it never happened, everyone ignored my request and just checked their part of the system and so it took over two weeks to come back up to 11Mb/s. Which was not the 14 I had been enjoying. 
    Anyway, those were the TEST stats then. Today's TEST stats are :
    Line state: Connected
    Connection time: 0 days, 04:41:34
    Downstream: 2.216 Mbps
    Upstream: 643.4 Kbps
    VPI/VCI: 0/38
    Type: PPPoA
    Modulation: G.992.5 Annex A
    Latency type: Interleaved
    Noise margin (Down/Up): 25.3 dB / 5.0 dB
    Line attenuation (Down/Up): 21.3 dB / 11.5 dB
    Output power (Down/Up): 18.2 dBm / 10.3 dBm
    FEC Events (Down/Up): 0 / 5666
    CRC Events (Down/Up): 0 / 62
    Loss of Framing (Local/Remote): 0 / 0
    Loss of Signal (Local/Remote): 0 / 0
    Loss of Power (Local/Remote): 0 / 0
    HEC Events (Down/Up): 0 / 216
    Error Seconds (Local/Remote): 55 / 39
    It's running only a little light surfing on BT and a torrent stream limited to 40kB/s because that's stable. 
    An incoming voice call broke the connection earlier today, it had become stable about 23:30 last night.
    I shall have to call them back to ensure an engineer is coming, I was not happy to accept a charge like
    that but if I'm running off the Test socket they've had their test access ok, yes? I hate rules that I am not
    aware of ...

  • Min Receive signal power level at the atur from atuc

    Hi can someone help me with the min receive signal power level at the atur from atuc on a adsl router

    Hi Srikanth, 
    Just to get some background info, what type of signals are being generated? What device are you using to measure these signals?  Are all of your impedances appropriately matched?  And finally would it be possible to attach the file used for waveform generation?  What I am mainly curious about is if you are trying to generate a single signal at 70MHz or if you are trying to generate at 70, 72, 68,and 66MHz at different power levels.
    Regards,
    Kyle S 
    Applications Engineer
    National Instruments

  • How to speedup receiving signal from Oscilloscope

    hello every one. 
    i have a TEK Oscilloscope(TDS 2012C) and i wnat to analyse signale in labview  that i receive from Oscilloscope. i do it, but it shows in labview so slow with delay. i want to receive signals like Oscilloscope lcd! 
    please help me.
    Thks.
    Attachments:
    Tektronix TDS 200 1000 2000 Series Acquire Continuous Waveform.vi ‏30 KB

    samle of signal
    Attachments:
    F0000TEK.jpg ‏30 KB

Maybe you are looking for

  • InDesgin 6 PDF Export, File size weirdness

    Hello ive been exporting Docs from inDesign CS5 for ages simple enough - hi quality print, no downsampling, jpeg-hi quality, PDF usually comes out about 4MB So i open the same files in inDesign 6 set my PDF export to above settings, but my PDFs are 1

  • Blog Entries and timed release?

    Is there some way in iWeb to set blog entries to appear at a particular time? For example, I'm off on vacation and would like to set up a few entries to appear while I'm offline. Would be a nice feature if there was.

  • Starting full system upgrade... there is nothing to do

    Just finished my Install of Arch and I can't seem to update anything it just gives me "Starting full system upgrade... there is nothing to do" I tried pacman -Syy and it syncs my repos and I've checked and I do have packages that are out of date so t

  • Account user images

    How do I delete and have no image in my account user. I currently have the soccer ball showing up in all email and I tried changing the image with a jpeg file but it will not change it on the email even though it shows changed in the user account. I

  • Camera, sound, and general design issues

    I bought an iPod Touch 3G about a year ago. Recently, I sold my 3g and bought a 4g. I am a professional web and interface designer and have been in the industry about 5 years. With the iPod upgrade, I got camera functionality. Also, the recent iOS up