By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,404 Members | 2,145 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,404 IT Pros & Developers. It's quick & easy.

help me ? Application crashing before main

P: n/a
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.

Sep 23 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,
"ankit" <an************@gmail.comwrote in message
news:11**********************@i42g2000cwa.googlegr oups.com...
>I made a Cpp application wihich links with shared objects. But when I
runs the application, it crashes surprisingly before entering into the
That isn't necessarily surprising. If you have got static objects they may
contain code that will be run before main (i.e. constructors).

The order is undefined.
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.
I guess you need to try to get the source code of the libary.

Regards, Ron AF Greve

http://moonlit.xs4all.nl
Sep 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.