Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-21-2005, 06:38 PM   #1
LQ Newbie
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
gdb crashes when debugging pthread-ed program

We are running our application on an Octagon GX1 based SBC running Linux Kernel 2.6.5. We are using pthreads and whenever we attempt to debug in gdb we get a segementation fault. I wrote a test program with only a main and a couple of cout's and linked it with pthreads and it also crashed on the GX1; however, when I don't link with pthreads it run in gdb just fine. Has anyone else experienced this, and if so, does anyone have any recommendations?

Thanks in advance.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pthread support in gdb 6.3 on suse linux 9.3 Krishna100 Programming 4 09-20-2007 02:31 PM
fortran debugging question with g77 and gdb miasmak Programming 1 08-16-2006 08:03 AM
Help debugging with gdb and core files Programming 1 05-28-2005 05:58 AM
gdb problem during debugging xine crash ... rs_javadi Linux - Software 0 08-24-2004 07:25 AM
Multi-thread debugging with gdb on RedHat 9.0 Rodney Riggs Linux - Software 0 09-23-2003 05:34 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration