944,111 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 908
  • C RSS
Sep 23rd, 2006
1

help me ? Application crashing before main

Expand Post »
I made a Cpp application wihich links with shared objects. But when I runs the application, it crashes surprisingly before entering into the main() control block. After trying with gdb I came to know it is crashing while reading symbols from a library. GDB says something like

Reading symbols from /utran/hmsDO/lib/linux/debug/libNcdd.so...Segmentation fault

and it core dumps. This binary is not part o my project, given by someone else. but if I use this library in some other application it works fine. One thing to note here my application was working fine last week, I rollbacked all the changes (not looking at the checkouted file in clearcase) but still I got the same problem.

anyone can help me please provide me your valuable suggestion, ideas and solutions. I will be very gr8full to all.
Similar Threads
Reputation Points: 14
Solved Threads: 0
Newbie Poster
ankit_rastogi82 is offline Offline
7 posts
since Aug 2005
Sep 23rd, 2006
0

Re: help me ? Application crashing before main

Hmm as such its very vague coz u see both the binary and the application along with shared object resides at your own PC and even you uploaded it here no one would have the time to go through it. Be a bit more specific and try localising the problem a bit.

Best of luck for the project.
Super Moderator
Featured Poster
Reputation Points: 3241
Solved Threads: 719
Failure as a human
~s.o.s~ is offline Offline
8,873 posts
since Jun 2006
Sep 23rd, 2006
1

Re: help me ? Application crashing before main

Try rebuilding the other apps. If they don't work it sounds like your libNcdd.so got corrupted and you need to replace it.
Moderator
Reputation Points: 3281
Solved Threads: 895
Posting Sage
WaltP is offline Offline
7,747 posts
since May 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: what is the use of "&" here
Next Thread in C Forum Timeline: Simply question: How do I return a string from a function





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC