Click here to Skip to main content
13,597,630 members
Rate this:
Please Sign up or sign in to vote.
See more:

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 9-Apr-13 17:58pm
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?
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.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.180621.3 | Last Updated 10 Apr 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100