Joe
> im working on a slackware7 box, when anything segfaults there is never
> any core file. i am compiling my app with gcc and the -ggdb flag. are
> core dumps part of the funtionality of the kernel or the app? and how
> can you make linux core dump when things go bad?
> thanks!
1) Resource limits. Do a 'ulimit -a' and check.
2) File permissions. Can the user the application is running in write
to the directory the application runs in? Is there a 'core' file already
there that the user can't delete or write over?
3) Security considerations. Is the program suid/sgid?
DS
Howdy,
Some of my programs dump core, others don't. I tried
it on RedHat 6.1 and Mandrake 7.0 with kernels 2.2.14
and 2.2.15. I tried tcsh and bash with coredumpsize
set to 1GB. It seems to be application specific.
Is there any other criteria when suppressing apart from
the type of signal and the size limitation?
The application that doesn't dump core contains signal
handlers for some signals, but not for SEGV or ABRT.
Ruppert
-----------------------------------------------------------------
Dept of Elec. & Comp. Engr. http://alpha.ece.ucsb.edu/~ruppert
University of California Phone: (805) 893-7788
Santa Barbara, CA 93106 Fax: (805) 893-3262
-----------------------------------------------------------------
3. core dumps core dumps everywhere...
4. Want to send a string to the serial port, if a new mail arrives
5. Making a setgid program dump core?
6. List of all Man Pages on FreeBSD 4.x
7. Dynamic Libraries: core dump after changes have been made
8. Orchid Kelvin Driver Needed
9. DP2 Java 1.3 makes core dump
10. Core dump not making proper filename
11. 2.5 + X makes Emacs dump core (+ patch)
12. What makes program core dump when output piped?
13. Get "Segmentation fault (core dumped)" but no core file found