PDA

View Full Version : Silent crash when calling pthread_create



autertip
23rd December, 2008, 02:18 AM
Hello,

I've successfully compiled rqcamd for the dm500. Unfortunately when the program executes the pthread_create function it silently dies without any error messages.

As anyone experienced this problem before?

Since the dreambox doesn't produce a coredump I cannot work out why this may be the case. Is there a system log file I could enable to can provide more information?

Thanks in advance.

autertip
23rd December, 2008, 09:49 PM
I worked it out... The issue wasn't the pthread_create but rather a conditional check that occurs just prior that resulted in a null pointer exception.

Who would have thought that a null pointer exception would result in the application crashing with no exception....

Always learning something....

Devilfish
23rd December, 2008, 10:02 PM
Sorry we weren't able to help you out autertip but I'm glad you found the fault. :)