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 306514 - Gthumb crashes on startup
Gthumb crashes on startup
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.6.x
Other Linux
: Normal critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
: 308965 317619 388666 394076 420734 444062 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-04 23:42 UTC by Brian Gerst
Modified: 2007-06-04 20:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Null-terminate call to g_strconcat() (480 bytes, patch)
2005-06-04 23:44 UTC, Brian Gerst
none Details | Review

Description Brian Gerst 2005-06-04 23:42:23 UTC
Distribution/Version: FC4 x86_64

This was on x86_64.  I simply tried to start up gthumb and it segfaulted.

Starting program: /usr/bin/gthumb
[Thread debugging using libthread_db enabled]
[New Thread 46912522973120 (LWP 12089)]
[New Thread 1084229984 (LWP 12092)]
[New Thread 1094719840 (LWP 12093)]
[New Thread 1105209696 (LWP 12094)]
[New Thread 1115699552 (LWP 12095)]
[New Thread 1126189408 (LWP 12096)]
[New Thread 1136679264 (LWP 12097)]
[New Thread 1136945504 (LWP 12099)]

Program received signal SIGSEGV, Segmentation fault.

Thread 46912522973120 (LWP 12089)

  • #0 IA__g_strconcat
    at gstrfuncs.c line 224
  • #1 resolve_all_symlinks
    at file-utils.c line 1750
  • #2 comments_get_comment_filename
    at comments.c line 262
  • #3 comments_load_comment
    at comments.c line 539
  • #4 folder_is_film
    at main.c line 1050
  • #5 add_bookmark_menu_item
    at gthumb-window.c line 1125
  • #6 window_update_history_list
    at gthumb-window.c line 1276
  • #7 go_to_directory_continue
    at gthumb-window.c line 6589
  • #8 dir_list_refresh_continue
    at dir-list.c line 404
  • #9 _gnome_vfs_job_go
    from /usr/lib64/libgnomevfs-2.so.0
  • #10 IA__g_main_context_dispatch
    at gmain.c line 1933
  • #11 g_main_context_iterate
    at gmain.c line 2564
  • #12 IA__g_main_loop_run
    at gmain.c line 2768
  • #13 gtk_main
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #14 main
    at main.c line 161

Comment 1 Brian Gerst 2005-06-04 23:44:22 UTC
Created attachment 47247 [details] [review]
Null-terminate call to g_strconcat()

The call to g_strconcat() in resolve_all_symlinks() was not null-terminated.
Comment 2 Paolo Bacchilega 2005-06-05 14:53:44 UTC
patch applied, thank you.
Comment 3 Michael Chudobiak 2006-09-25 19:08:14 UTC
*** Bug 308965 has been marked as a duplicate of this bug. ***
Comment 4 Michael Chudobiak 2007-01-08 12:38:22 UTC
*** Bug 317619 has been marked as a duplicate of this bug. ***
Comment 5 Michael Chudobiak 2007-01-08 12:38:48 UTC
*** Bug 388666 has been marked as a duplicate of this bug. ***
Comment 6 Michael Chudobiak 2007-01-08 12:39:59 UTC
*** Bug 394076 has been marked as a duplicate of this bug. ***
Comment 7 Michael Chudobiak 2007-03-21 11:50:06 UTC
*** Bug 420734 has been marked as a duplicate of this bug. ***
Comment 8 Michael Chudobiak 2007-06-04 20:06:55 UTC
*** Bug 444062 has been marked as a duplicate of this bug. ***