Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 05-11-2010, 04:31 PM   #1
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, 04:49 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,797

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
What do you mean "fsck says that the partition is fine"? Did you force a fsck (after unmounting it)?
Old 05-11-2010, 10:18 PM   #3
Senior Member
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
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-11-2010, 11:32 PM   #4
Registered: Jan 2006
Location: USA
Posts: 540

Rep: Reputation: 60
what happens if you make a symlink to that folder and try to open dir via symlink?
Old 05-19-2010, 03:29 PM   #5
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.


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

All times are GMT -5. The time now is 07:40 PM.

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