LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-28-2005, 08:38 AM   #1
lucs
Member
 
Registered: Feb 2005
Posts: 39

Rep: Reputation: 15
Question 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
 
Old 04-28-2005, 08:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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.
 
Old 04-28-2005, 09:14 AM   #3
lucs
Member
 
Registered: Feb 2005
Posts: 39

Original Poster
Rep: Reputation: 15
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yast segmentation fault, system freezing - nvidia driver at fault? BaltikaTroika Suse/Novell 2 12-02-2005 09:34 AM
problem in installing yahoo messenger segmentation fault lucky13luxs Linux - Software 2 10-15-2005 03:55 AM
strcat and direntp->d_name segmentation fault [I'm guessing the problem, plz propose] zeppelin Programming 3 04-12-2004 02:52 PM
Bad: Problem(s)->segmentation fault encountered when using wxNotebook HeidiTay Linux - Software 0 03-18-2004 08:48 PM
Segmentation Fault Problem luvonmik Linux - Newbie 2 02-14-2004 07:44 PM


All times are GMT -5. The time now is 01:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration