LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   problem with segmentation fault (https://www.linuxquestions.org/questions/slackware-14/problem-with-segmentation-fault-318052/)

lucs 04-28-2005 08:38 AM

problem with segmentation fault
 
Hello! I've got a problem when I try to remove modules from kernel: in fact my operation system returns me a message of "segmentation fault" after rmmod name_module command?Why? Could anyone help me? Thank you very much! lucs

acid_kewpie 04-28-2005 08:39 AM

to get any more information you'd need to run the command inside of a debugger, i.e. gdb. when it crashes you can then use "bt" to print the backtrace of what was happening at the time it went down.

lucs 04-28-2005 09:14 AM

I've tried to use gdb but after compilation when I use gdb name_file and I type (gdb) run, it shows me this message:
This GDB was configured as "i386-slackware-linux"...
(gdb) run
Starting program: /direct1/direct2/direct3/name_file
/bin/bash: line 1: /direct1/direct2/direct3/name_file: Permission denied
/bin/bash: line 1: exec: /direct1/direct2/direct3/name_file: cannot execute: Success

Program exited with code 0176.
warning: shared library handler failed to enable breakpoint
You can't do that without a process to debug.

Maybe I don't understand what you want to say me, infact I'm not a very good kernel programmer, but where I have to put "bt" parameter?Thank you!


All times are GMT -5. The time now is 11:20 PM.