This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

version mismatch between libthread_db and libpthread

Hi,

I have been using gdb for debugging DM365 code with montavista for several months.  After I added a video decode thread to the code the debugging terminates continuously with this message:

gdbserver: error initializing thread_db library: version mismatch between libthread_db and libpthread

gdbserver: error initializing thread_db library: version mismatch between libthread_db and libpthread

gdbserver: error initializing thread_db library: version mismatch between libthread_db and libpthread

....

gdbserver: error initializing thread_db library: version mismatch between libthread_db and libpthread
readchar: Got EOF                                                              
Remote side has terminated connection.  GDBserver will reopen the connection.

 

Now the I didn't change the libraries and when I prevent the video decode thread from starting I am able to debug my code again.  However I don't think the video decode thread is wrong since if I run the application in normal mode (not debugging), it works fine. On the contrary with the video decode thread the gdb server disconnects continuosly even if the thread is permanently stopped in a blocking function (fifo_get).

Has someone of you some idea about the possible issue or experienced this issue before?

Thank you.