Server :: Create Core Dump When My Application Crashes?

Dec 29, 2010

I am using RHEL 4.7 (32bit) on HP Proliant 380G6 series server. We are using Electric Cloud Agents on these servers. Nowadays we are facing some memory issues and its creates some kernel panic and then restarts the server. When i reported the issue to my application team, they asked me to come with the core dump. I googled it enough, then i set ulimit value as unlimited. (previously it was 0, then i made a entry in /etc/profile file as follows
ulimit -c unlimited) But still whenever my server restarts due to that kernel panic, it couldnt generate the core dump. My application was installed on /opt

The attached document has the kernel panic logs

View 3 Replies


ADVERTISEMENT

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)

Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.

View 1 Replies View Related

Server :: How To Create Kernel Dump On RHEL 4.7

Jan 11, 2011

My application team is asking me to generate the kernel-dump.

Here are details about my server.
OS: RHEL 4.7/32 Bit
Kernel Version: 2.6.9-89.0.23.ELsmp
Processor: Intel(R) Xeon(R) CPU E5520@ 2.27GHz
Hardware: HP Proliant 380G6 series server.

I am using Electric Cloud applications. Sometimes it creates some kernel panic and immediately got rebooted. Kernel-debuginfo rpm is not installed. In some thread, I read the kernel-debuginfo rpm's version should match with the kernel version. In my case I couldn't even find the exact version of kernel-debuginfo version.

View 4 Replies View Related

Ubuntu :: How To Enable Core Dump

May 27, 2010

To get core dump from my program, I execute the following commands from the terminal:

ulimit -c unlimited
myprogram

After program crash, I see core file in the home directory. How can I make this mode persistent, to have code dump always?

View 4 Replies View Related

General :: Child Process Does Not Core Dump

Jul 27, 2011

In my program, I fork() to get a child process. Because of some problem, child process terminates by a segmentation fault. Parent process is still running. I have compiled my code with -g option. I have done: ulimit -c unlimited. I am not getting core dump of the child process. How can I get the core dump of child process?

View 1 Replies View Related

CentOS 5 :: Make Daemons Dump Core?

Oct 22, 2010

I modified the following files according to all I found after googling the net:

/etc/security/limits.conf
* soft core unlimited
/etc/profile
ulimit -c unlimited[code]....

I don't get a core file when I kill -11 <pid_of_sleep>

System is centos 5.3

View 3 Replies View Related

Server :: Setup Apache2 To Drop A Core File When It Crashes?

Jun 1, 2010

I'm trying to setup apache2 to drop a core file when it crashes. I know that you need to set the CoreDumpDirectory directive in /etc/apache2/apache2.conf and run "ulimit -c unlimited" from the command line (and restart apache after the ulimit command). But, on a reboot, even though the output of "ulimit -a" shows unlimited, apache2 will not create a core dump file unliess you set ulimit -c unlimited again and restart apache2. There must be a way to configure apache2.conf or something so that ulimit -c unlimited is set prior to apache2 starting, no?

View 2 Replies View Related

Programming :: GDB - Core Dump Analysis And Debug Info?

Oct 21, 2010

I am developing an application whose executable is generated inside a certain folder hierarchy (say: /DevPath/MyProject/bin). My source code is located in a different branch of this hierarchy (say: /DevPath/MyProject/src). When my app crashes, its core files are stored in /DevPath/MyProject. I'm developing the app on a pc, but running it on a separate platform in which i can only execute it. Folder hierarchy is the same as above on both computers. Usually, when a new executable version is ready, we update both the executable and the source code on the target platform, transferring all the new /DevPath/MyProject folder on it. But sometimes it can really be a bother, so we update only the executable.

1)In the case we only update the executable, keeping an old source code version, and the app generates a core file, can i trust the backtrace produced by gdb in this case? I.e., does gdb need the latest source code files or it just needs the debugging information?

2) (More radical question ) Do i really need to keep the source code on the target platform for core dump analysis or i just need the executable?

View 1 Replies View Related

Programming :: Core Dump - Right Memory Block To Be Freed

Nov 8, 2010

In one of our core dump we have the followings in the core back trace:

#0 0xb77bf947 in raise () from /lib/tls/libc.so.6
#1 0xb77c10c9 in abort () from /lib/tls/libc.so.6
#2 0xb77f56ba in __fsetlocking () from /lib/tls/libc.so.6
#3 0xb77fcf7f in mallopt () from /lib/tls/libc.so.6
#4 0xb77fd022 in free () from /lib/tls/libc.so.6

It occurred in a memory block free operation. From our analysis, there seems no issue relate the the memory block it self. The memory pointer pointed to the right memory block to be freed and the contents of the memory seems right (not corrupted), in one world, there is nothing obviously wrong. Does any one have any ideas what could be wrong when seeing about?

View 1 Replies View Related

Programming :: Core Dump Analysis Require A Program Name / Why Is So?

Jul 21, 2010

To analyse a coredump, I need to specify program name/path in GDB/KDevelop. Since the program name along with arguments is also within a core dump, I wonder if it doesn't keep the proper path of program that crashed and so asks for it?

View 3 Replies View Related

OpenSUSE :: Get Application To Utilize More Than One Core In Multi-core Setup?

Mar 27, 2011

I have a command line OCR program called OCR Shop XTR (Vividata corp) that I am using on a system with a 6-core AMD chip. I changed the bios so that the 6-cores were activated, but htop shows me that while the program is running, I am only getting activity on one core (the program maxes out the one core with consistent usage between 97% and 100%).

I have read that many programs are not written to take advantage of multiple core cpu's. However, I am just hoping that there is some way to get this program to take advantage of the extra cores. Does anyone know of a way to invoke programs from the command line which would spread the workload out among additional cores?

Here is the output of uname -a:Linux linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/LinuxAnd here is the output for one of the cores from cat /proc/cpuinfo:processor : 5

vendor_id : AuthenticAMD
cpu family : 16
model : 10
model name : AMD Phenom(tm) II X6 1100T Processor
stepping : 0

[Code].....

View 5 Replies View Related

Programming :: Get A Core Dump In One Of The C Library Calls (like Strcpy Or Printf)

Sep 20, 2010

I am trying to port some "C" code from Solaris to Linux. I have a Dell PowerEdge R610 with an Intel Xeon E5504 quad core processor running Red Hat Linux Enterprise 5.3. I am compiling in 64 bit mode. I have managed to get the code compiled and linked, but when I attempt to execute it, I get a core dump in one of the C library calls (like strcpy or printf.)

I have a static library that contains our own code that makes the call to the C library. If I move the library method into the source file with the main method and rename it to be certain that I am executing my method instead of the method in our library, the call succeeds. Eventually another static library call is made that results in a core dump in the shared object. I compile my library code into a static library with gcc as:

[Code]....

View 3 Replies View Related

General :: Convert The Core Dump To A Readable Text File?

Nov 12, 2009

i just touch linux, may i know how can i convert the core dump file to a readable textfile, which include all the information, which is in core dump, such as all variables, threads information, call trace for each tasks, and so on. i know use the GDB can view this, but it won't dump all the informations to one text file. but sometimes, people want to view the core dump reason without Linux environment.

View 2 Replies View Related

Software :: Segfault In Application / But No Core Or Application Failure

Feb 19, 2009

I am trying to troubleshoot an application that is generating several segfaults with an error 14, but the application is not crashing.The program continues to run. I would assume I can connect to a running process to debug it, but I'm not sure what to gather. The program has several background processes associated with it so I'm sure I'll need to attach to the actual internal process. Does anyone have any experience in this to offer some insight?

View 3 Replies View Related

Networking :: How To Create Dump Log Using TCPdump

Dec 7, 2010

I am trying to create a dump log using tcpdump. I want display the top 10 ip addresses sorted numerically showing how many times the ips are hitting the server. I'm getting frustrated because It's not working how I'd like it to.

View 1 Replies View Related

Ubuntu :: Create A Virtual Machine And Configure The System Through The GUI And Then Dump All Of The Settings?

Oct 7, 2010

I'm working on a script. fter it has installed and removed packages, I need to configure a ton of settings. In GNOME, I understand that those settings are kept in "/home/user/.gconf". Can I create a virtual machine and configure the system through the GUI to my liking and then dump all of the settings, so that I can load them on another machine? Is it as simple as copying the directories?

View 2 Replies View Related

CentOS 5 Hardware :: Launching X11 Sometimes Crashes Core I5 Clarkdale With Black Screen

Aug 23, 2010

I am having a problem with my Core i5 system running Centos 5.5. The system will lock up with a black screen on occasion when launching X11 - this could happen at any time, from the install CD the first time it's being installed or trying a live CD, or the 3rd-10th time I launch startx from tty1 or sometimes just switching from tty1 to display0 or display1. When the crash occurs, sometimes the systems fans will all turn on loud, and the reset button becomes non-responsive. Other times the screen is black and it just sits there and I have to hard power off. There's nothing in /var/log/messages.

I tried a fix from an old post for 5.4 adding the option for "DDC" "false" in the xorg.conf file, and this did not help. I also ran all the system updates, no help.

The system is totally stable so long as I don't switch between ttys and X11 or launch new X11s (it's also stable under other OSs and has passed Memtest86+ 4).

Is this an instability with the Core i5 driver? The "Video Card" in the display options is set to "intel - Experimental modesetting driver for Intel Integrated Graphics Chipsets" - the "experimental" part is a little scary. Should I try setting the driver to "i810" as the 5.5 release notes recommends (again there's no onboard "chipset" this is an embedded graphics processor on the i5 CPU).

here's the getinfo.sh dump

--glen201
== BEGIN uname -rmi ==
2.6.18-194.11.1.el5 x86_64 x86_64
== END uname -rmi ==

[Code].....

View 2 Replies View Related

Programming :: Incremental Backup Using DUMP Command - Error "DUMP: Only Level 0 Dumps Are Allowed On A Subdirectory"

Sep 6, 2010

I have used Dump Command to dump the application files. For Full backup the level 0 is working fine. For incremental backup I used the level 1 or 2 it is getting the error as

DUMP: Only level 0 dumps are allowed on a subdirectory
DUMP: The ENTIRE dump is aborted.

The code I used
===============================
#!/bin/bash
#Full Day Backup Script
#application folders backup
#test is the username
now=$(date +"%d-%m-%Y")
[Code]...

View 2 Replies View Related

Server :: How To Restore Dump Command

Sep 7, 2010

I am still new in linux (Redhat) i used dump command to backup the root of the linux server: #dump -0u -f /dev/st0 / the command is achieved. how to restore this dump.

View 2 Replies View Related

Fedora X86/64bit :: Can't Able To Create More Than 28 Spawn Bash In Core 64 Bit?

Jun 1, 2010

I can't able to create more than 28 spawn bash in fedora core 7 (2.6.25.4 kernel) linux 64 bit machine. I can able to create 1015 spawn bash in 32 bit fedora 7 core. Script I have used for both 32 bit and 64 bit:

[Code]...

View 1 Replies View Related

Server :: Dump Kernel - Discovering More Detail?

Jun 5, 2009

I need to discover more detail error kernel panic in my linux box, some body know any way do dump in kernel Linux?

View 1 Replies View Related

Fedora :: Input To Create New Username And Password - Install X86-64 Bit Core 12?

Dec 25, 2009

1. No any input to create new username and password when I install X86-64 bit Core 12 And I can not login with root. So how can I login Fedora core 12?

View 4 Replies View Related

Server :: Disk Dump - Creating Virtual Directory

Apr 14, 2010

I'm quite new to linux, but I've managed to grasp some basics. Now my intention here to create a virtual directory, which I resorted to creating an Image File so that I can mount it and have my folder have a dedicated storage. I will mount this image as a loop device. Well it's not much of a problem, but I would like to know whether this is suitable. Say I want to create a 25GB Image.

Code:
dd if=/dev/zero of=/home/disk-img/25GB.ext3 bs=1G count=25

Is this recommended? I'm using block size as 1G which is really huge, so I was wondering, if this is actually recommended. From what I read, some said that it's only advisable to use 4096k or lower, but what I found was that these suggestions are very dated (year 2003), and it is now 2010, so I would like to know if it makes any big differences.

View 13 Replies View Related

Server :: Dump All Users To The Same Sftp Starting Directory?

Jul 7, 2010

Using CentOS 5.5. I have a handful of users that I need to have connect to my server via sftp and start in the same directory. for example, user1, user2, user3, etc.. will connect via sftp and upon connection will all be in the /some/dir/path/ftp-root directory.I know one way is to create these users all with the same 'home' directory, since by default a user starts in their home directory when connecting via sftp, but before just doing that, I wanted to find out if that is really the appropriate method to use? alternatives? Is there some setting on the sftp server end that could direct all users to one starting directory so that these users don't have to have the same 'home' dir? I'm using the sshd daemon that comes with CentOS 5.5 (with all current updates/patches)

View 4 Replies View Related

Server :: Nonzero Characters In Hex Dump After Zeroing Drive?

Mar 15, 2010

Having done a short DoD wipe of hard drive (Dareks Boot & Nuke),I installed Windows XP on the first half of the drive and again zeroed the other half of drive for installing Debian.Please see attachment of screen shot for command lines input and output.After doing a grep for non zero characters on the second half of the drive(sda2)I was puzzled to find a grep command line search for non zero characters actually turned some up. I have no idea why they are there or what if anything they mean

View 4 Replies View Related

CentOS 5 :: Reading Server Crash Dump Files

Oct 18, 2010

Is there any command available inorder to read the server crash dump files?

View 4 Replies View Related

General :: Dump And Restore - Making Client And Server Identical

Jan 12, 2010

Need confirmation if the following scenario works for making my client and server as identical?

My local(source) Linux server @192.168.0.2
My remote Linux client @192.168.0.70
On the local system :
#df -m
Filesystem Mounted on
/dev/hda3 /
/dev/hda1 /boot
tmpfs /dev/shm

On the local system , issue the followings to make client and server as identical :
#dump -0uvf - /dev/hda3 | ssh root@192.168.0.70 -c "restore -rf - /"
#dump -0uvf - /dev/hda1 | ssh root@192.168.0.70 -c "restore -rf - /boot"
#dump -0uvf - /dev/shm | ssh root@192.168.0.70 -c "restore -rf - /tmpfs"

View 1 Replies View Related

Server :: Backup Of Svn Repository Using Svnadmin Dump Dumpfile Location

Apr 14, 2011

One of my clients needs a backup of his svn repository. I see that this is possible using svadmin dump command. I see where the location of the source repository is, but I don't see anything in documentation as to where the actual dump file is located. I need to know where the dump file is so I can scp or rsync the file to another server for backup.

View 5 Replies View Related

OpenSUSE Install :: ATI Driver - Boot But X Windows Crashes When Open Any Application?

Apr 4, 2011

I am new to opensuse, having migrated from Ubuntu. I have had some difficulty with power management on Ubuntu so i decided to install opensuse with kde as i heard it was good for laptops. I have had lots of trouble getting opensuse 11.4 to boot properly and to run without freezing.

I have trawled the forums and bugzilla and the documentation, e.g. SDB:ATI - openSUSE and SDB:Configuring graphics cards - openSUSE. Consequently i am now able to boot (normally), however whenever i open any application, e.g. Dolphin file manager, Firefox, etc, the tab starts to load (little circle starts spinning on the tab), and then it freezes.

At this point I can exit X Windows and enter the text mode. I have repeated this with the FGLRX and Radeon drivers running. This is always repeatable. I can also boot into level 3 and do things there.

My computer details are:
HP Pavilion dv6 3032TX
Processor - Intel i7 720 QM
Ram - 6GB
GPU - ATI Mobility Radeon 5650
Harddrive - 640GB 5400rpm

[Code]...

What i have tried so far:

1. First 4 steps on SDB:Configuring graphics cards - openSUSE
2. Install and run FGLRX

Note that i cannot failsafe boot - it never boots into X Windows and just hangs. I really do like the look and feel of opensuse and would love to use it, but at this point my only option is to try another distro.

View 3 Replies View Related

Programming :: Helios : Using Tab On Text Field Having Content Proposals, Crashes Application?

Sep 8, 2010

Using content proposal in helios, giving problem if u press tab. Below is the error. For recreation snippet is provided(taken from 2 sites) after error log.Only u need to press tab while proposal pop up is visible & then point mouse at client.

#################################ERROR LOG#############################
# A fatal error has been detected by the Java Runtime Environment:
#

[code]....

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved