473,769 Members | 2,402 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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...Se gmentation 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 2089
Hi,
"ankit" <an************ @gmail.comwrote in message
news:11******** **************@ i42g2000cwa.goo glegroups.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...Se gmentation 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
1816
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 this(at start up)... int main(){ Number no1; Number no2; .......
1
1293
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 crashing. Is something that needs to be done to NewFile object like destroying it, if so can someone tell how to do that. I used ~NewFile() but it is throwing syntax error. void main() {
7
1586
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
7244
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 and select in context menu add to zip.Now if winzip is not runnig allready new instance of winzip application begins and
5
4542
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 method using Application.Run(new MyMainParentForm) to place in the application's Sub Main to allow catching of unhandled exceptions in the application. The problem I'm facing is that I want to be able to trap unhandled exceptions at the MDI child...
3
5521
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 in case (it is setup correctly - I have seen it called in other places). The only error information I get is from Event Viewer: Faulting application rtmsdriversvc.exe, version 2.2.2.0, stamp 45ed8d14, faulting module kernel32.dll, version...
5
1963
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, message, wparam, lparam); this is a window procedure for a listbox.. sometimes it is crashing while editing the listbox.. actually this listbox is a part of customized grid.. if a user presses tab then he can navigate thru the grid.. and edit.
3
1786
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 customer as 2 and start filling in users details, in the detail of second customer till the name of State is OK as soon as I fill in the detail of State and press enter, it shows the field of PIN code but then suddenly it says something like...
0
723
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 not anywhere that gives me a hint to why its happening... thanks! Exception Information: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10043
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.