help me ? Application crashing before main

Reply

Join Date: Aug 2005
Posts: 7
Reputation: ankit_rastogi82 is an unknown quantity at this point 
Solved Threads: 0
ankit_rastogi82 ankit_rastogi82 is offline Offline
Newbie Poster

help me ? Application crashing before main

 
1
  #1
Sep 23rd, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Jun 2006
Posts: 7,581
Reputation: ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of ~s.o.s~ has much to be proud of 
Solved Threads: 461
Super Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Failure as a human

Re: help me ? Application crashing before main

 
0
  #2
Sep 23rd, 2006
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.
I don't accept change; I don't deserve to live.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 3,114
Reputation: WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of WaltP has much to be proud of 
Solved Threads: 281
Moderator
WaltP's Avatar
WaltP WaltP is offline Offline
Posting Sensei

Re: help me ? Application crashing before main

 
1
  #3
Sep 23rd, 2006
Try rebuilding the other apps. If they don't work it sounds like your libNcdd.so got corrupted and you need to replace it.
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC