|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I have a program crashed saying segmentation fault, but I cannot see any clue from the output, I cannot even find a core dump file, how to have a core dump file while crash?
Thanks Charlie |
|
#2
|
||||
|
||||
|
ulimit -c unlimited
christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#3
|
|||
|
|||
|
You can run a binary after compilation using gdb
gdb "binary file" then give "r" to execute the binary it will tell you where the fault or error is, if there are any. you can see the man page of gdb for more info
__________________
Regards JK |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > core dump |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|