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 407871 - Crash after deleting catalog file
Crash after deleting catalog file
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.9.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
: 425177 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-14 14:26 UTC by Michael Chudobiak
Modified: 2007-04-10 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (103.40 KB, text/plain)
2007-02-14 14:28 UTC, Michael Chudobiak
  Details
return a boolean when path is NULL at catalog_list_get_iter_from_path (539 bytes, patch)
2007-04-10 11:40 UTC, manuel braga
none Details | Review

Description Michael Chudobiak 2007-02-14 14:26:17 UTC
- View a catalog in gthumb
- close gthumb
- delete the catalog file
- restart gthumb
- gthumb says "The specified catalog does not exist"
- gthumb goes to folder view
- click on "Catalog" icon -> crash

gthumb should be more tolerant of deleted catalog files. (I was deleting catalog files while researching bug 98933.)

- Mike
Comment 1 Michael Chudobiak 2007-02-14 14:28:32 UTC
Created attachment 82538 [details]
backtrace
Comment 2 Paolo Bacchilega 2007-03-08 11:09:10 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 3 Michael Chudobiak 2007-04-02 09:39:43 UTC
I think something is still broken here - bug reports from 2.10.0+:

http://bugzilla.gnome.org/show_bug.cgi?id=425177
https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/100085

- Mike
Comment 4 Michael Chudobiak 2007-04-02 09:41:08 UTC
*** Bug 425177 has been marked as a duplicate of this bug. ***
Comment 5 Michael Chudobiak 2007-04-09 17:53:01 UTC
Fixed, see bug 427846.

- Mike
Comment 6 manuel braga 2007-04-10 11:40:47 UTC
Created attachment 86102 [details] [review]
return a boolean when path is NULL at catalog_list_get_iter_from_path

This bug is still here.
The function src/catalog-list.c:catalog_list_get_iter_from_path returns -1 when the path is NULL, it's return type is gboolean.
Comment 7 Michael Chudobiak 2007-04-10 12:46:40 UTC
Committed, thanks!

- Mike