core file is not generated
santosh
santosh.iitg at gmail.com
Wed Apr 1 11:50:47 UTC 2015
Hi,
In my setup, core file is not generated on specific scenario.
Binary name: vpt
if "vpt" is directly executed on shell, then core is generated for
SIGSEGV scenario.
if same "vpt" binary is spawned by some other binary by "execl()"
then core file is not
generated on receiving SIGSEGV.
1.
root at R0:~# ulimit -c
unlimited
2.
root at R0:~# cat /etc/security/limits.conf | grep unlimited
* soft core unlimited
root at R0:~#
SUCCESSFUL Scenario
-----------------------------------
3. If the binary is executed directly on shell prompt, then core file
is generated when SIGSEGV is received.
root at R0:~# /usr/share/pfe/vpt
.....
....
Aborted (core dumped)
root at R0:~# ls /var/volatile/crash/
core.vpt.1427885814.1008
root at R0:~#
FAIL scenario
----------------------
4.
Core file is not generated for the same binary "vpt" if it is spawned
by some other process.
e;g binary_a ---> vpt .. // binary_a is spawning "vpt" using execl()
root at R0:~# /usr/share/pfe/binary_a
.....
....
Aborted (core dumped)
root at R0:~#
root at R0:~# ls /var/volatile/crash/
// No core file is generated.
root at R0:~#
Thanks
Santosh
More information about the users
mailing list