LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-11-2010, 05:31 PM   #1
divanych
LQ Newbie
 
Registered: May 2010
Location: Moscow, Russia
Distribution: OpenSuse
Posts: 2

Rep: Reputation: 0
segmentation fault with ls on certain directory


Dear colleagues,

I have a problem with a directory which contains my music collection. It can't be opened; all other directories work fine. I can cd into my ~/Music directory, but ls gives segfault and KDE programs hang when trying to open this directory. The problem probably has appeared after the rename of subdirectory under the Windows (don't remember particular ext3 driver; can check tomorrow).

fsck says that the partition is fine. The whole disk is mounted on the single partition. Windows is located on another physical disk.

Is there any way to recover my directory?

System is OpenSuSe 10.2 x86-64. File system ext3. I can provide any additional system information if needed.

Thanks in advance.
 
Old 05-11-2010, 05:49 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,652

Rep: Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536Reputation: 536
What do you mean "fsck says that the partition is fine"? Did you force a fsck (after unmounting it)?
 
Old 05-11-2010, 11:18 PM   #3
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,496

Rep: Reputation: 68
You can try and use the dir command and see if that segfaults on you. ls is a very old and mostly bug free program so I am pretty sure something is a bit funky with your directory. Or it could possibly be something wrong with the first file in the directory.
 
Old 05-12-2010, 12:32 AM   #4
Linux_Kidd
Member
 
Registered: Jan 2006
Location: USA
Posts: 539

Rep: Reputation: 51
what happens if you make a symlink to that folder and try to open dir via symlink?
 
Old 05-19-2010, 04:29 PM   #5
divanych
LQ Newbie
 
Registered: May 2010
Location: Moscow, Russia
Distribution: OpenSuse
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you, forced fsck has shown no errors but lead to the disappearance of the problem.
 
  


Reply

Tags
file recovery, opensuse102


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 On
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 10:34 AM
segmentation fault samprabhu Linux - General 3 07-29-2005 08:17 PM
segmentation fault??? max_rsr Programming 2 04-15-2005 09:47 PM
Segmentation fault dand Linux - Newbie 2 12-16-2004 05:45 PM
Segmentation Fault monojit_18 Programming 1 12-12-2004 12:22 PM


All times are GMT -5. The time now is 06:49 PM.

Main Menu
Advertisement
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