After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 567834 - baobab crashes with segmentation fault when trying to performe "scan folder" on a partition which is NOT included in "folders to scan"
baobab crashes with segmentation fault when trying to performe "scan folder" ...
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: baobab
2.24.x
Other Linux
: Normal normal
: ---
Assigned To: Fabio Marzocca
gnome-utils Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-15 09:28 UTC by Fabio Marzocca
Modified: 2009-03-15 11:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
A more complete solution (548 bytes, patch)
2009-03-15 11:04 UTC, Debarshi Ray
none Details | Review

Description Fabio Marzocca 2009-01-15 09:28:31 UTC
Launching baobab from terminal on a folder exluded from the list to scan, causes a segfault
Comment 1 Fabio Marzocca 2009-01-15 09:31:57 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 2 Debarshi Ray 2009-03-15 10:38:39 UTC
Is there any chance that the fix will be backported to a stable 2.24.x release?
Comment 3 Debarshi Ray 2009-03-15 11:04:41 UTC
Created attachment 130692 [details] [review]
A more complete solution

(In reply to comment #1)

> This problem has been fixed in the development version.

Presently this convers the following scenario:
$ baobab /excluded/dir

However if the same is done graphically via Analyzer -> Scan Folder, the program crashes as before.

Moving the check to baobab_scan_location is a possible solution.
Comment 4 Debarshi Ray 2009-03-15 11:26:58 UTC
What about displaying a "do you really want to" dialog, and if the user persists we can temporarily remove the location from baobab.excluded_locations scan and show the results and then add it back to the list?