DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C (http://www.daniweb.com/forums/forum118.html)
-   -   help me ? Application crashing before main (http://www.daniweb.com/forums/thread55962.html)

ankit_rastogi82 Sep 23rd, 2006 6:47 am
help me ? Application crashing before main
 
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.

~s.o.s~ Sep 23rd, 2006 12:43 pm
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.

WaltP Sep 23rd, 2006 1:39 pm
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.


All times are GMT -4. The time now is 5:21 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC