Click here to Skip to main content
15,886,019 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I have a C program where i am writing a record in string to a file , i am getting coredump.
When i opened coredump with gdb to get stacktrace i get this error message

(Internal error: pc 0x4070db in read in psymtab, but not in symtab.)

Please suggest if someone has faced this issue.

Thanks in advance
Posted
Comments
Richard MacCutchan 10-Apr-13 3:46am    
Try stepping through your code to see where the crash occurs.
CPallini 10-Apr-13 3:55am    
Could you please post the relevant code here?
Sergey Alexandrovich Kryukov 16-Apr-13 0:37am    
Please stop posting non-answers as "solution". It can give you abuse reports which eventually may lead to cancellation of your CodeProject membership. And the fact you even self-accepted some formally is just outrageous, a sure way for a ban. I hope you won't do it after this warning.

Comment on any posts, reply to available comments, or use "Improve question" (above).
Also, keep in mind that members only get notifications on the post sent in reply to there posts.
—SA

1 solution

This is a gdb's bug,see more information here.
When you write something to a file,you should check if the file stream pointer is NULL,make sure the file path is correct.
If it is possible, show your code directly.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900