473,233 Members | 2,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,233 software developers and data experts.

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.

Sep 23 '06 #1
1 2068
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tommy Lang | last post by:
Hi !! I am a c++ novice and I would appreciate any help with the following: I have created a class called "Number". In the main function of my program I call the class constructor twice like...
1
by: Venkat | last post by:
Hi All, Can someone tell why the program is crashing in the call to Fun2. I could able to create the filename, write into it and read it in Fun1 but the same file if i open in Fun2 it is...
7
by: Jeffrey Barrett | last post by:
/* machine.txt: ------------------ Cola 0.75 20 Ruby Red Blast 1.00 10 Lemon Fizz 0.75 8 Grape Soda
2
by: devendra pardeshi | last post by:
hi friends/seniors i am stuck on one problem in VB 6.0 and need solution. see if u can help me. first i describe the problem. Can u imagin the WinZip scenario. we right click on some file...
5
by: Sam Loveridge | last post by:
Hi All. I'm hoping someone can point me in the direction of a solution to unhandled exceptions in MDI child forms causing the application to crash. I've found various articles describing a...
3
by: Adam Clauss | last post by:
We have a Windows service written in C#. As of late, it has started crashing after running for as little as 2 minutes. I have a handler for AppDomain.UnhandledException which does NOT get called...
5
by: xoinki | last post by:
hi all, I have a very general question.. My program is crashing in a window procedure... the sample code is as follows.. return CallWindowProc(pccustgrid->m_wporiglistwndproc, hwnd,...
3
by: Vasu | last post by:
Hi! Can anybody there help me in analysis of the following code, which is a structure of customer's details, asks user to fill in the no. of customers and then their details. When I put in no. of...
0
by: Smokey Grindel | last post by:
I have clients getting this message randomly and I absoulty can not track it down! Is there any way to diagnose these errors? when they happen they always show up as crashing in application.run and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.