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@R0:~# ulimit -c
unlimited

2.
root@R0:~# cat /etc/security/limits.conf | grep unlimited
*               soft    core             unlimited

root@R0:~#


SUCCESSFUL Scenario
-----------------------------------
3.  If the binary is executed directly on shell prompt, then core file
is generated when SIGSEGV is received.

root@R0:~# /usr/share/pfe/vpt
.....
....
Aborted (core dumped)

root@R0:~# ls /var/volatile/crash/
   core.vpt.1427885814.1008
root@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@R0:~# /usr/share/pfe/binary_a
.....
....
Aborted (core dumped)

root@R0:~#

root@R0:~# ls /var/volatile/crash/
   // No core file is generated.
root@R0:~#



Thanks
Santosh
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to