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 751454 - gthumb crashes when deleting a file
gthumb crashes when deleting a file
Status: RESOLVED INCOMPLETE
Product: gthumb
Classification: Other
Component: general
3.4.x
Other Linux
: High critical
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2015-06-24 18:29 UTC by Herbert Parentes Fortes Neto
Modified: 2019-09-14 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Herbert Parentes Fortes Neto 2015-06-24 18:29:32 UTC
Hi,

I receive a report saying that gthumb crashes when deleting a file
with DEL key (keyboard).

I got differents messages on the terminal from the report:

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed

(gthumb:3952): Gtk-CRITICAL **: _gtk_style_context_validate: assertion 'GTK_IS_STYLE_CONTEXT (context)' failed
**
Gtk:ERROR:/tmp/buildd/gtk+3.0-3.14.5/./gtk/gtkstylecontext.c:619:gtk_style_context_finalize: assertion failed: (priv->children == NULL)
Segmentation Fault

The report at debian is here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789765


regards,
Herbert
Comment 1 André Klapper 2015-06-24 20:37:41 UTC
Thanks for taking the time to report this.
Without a stack trace from the crash it's very hard to determine what caused it.
Can you get us a stack trace? Please see https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for more information on how to do so. When pasting a stack trace in this bug report, please reset the status of this bug report from NEEDINFO to its previous status. Thanks in advance!
Comment 2 Herbert Parentes Fortes Neto 2015-06-25 19:52:55 UTC
(In reply to André Klapper from comment #1)
> Thanks for taking the time to report this.
> Without a stack trace from the crash it's very hard to determine what caused
> it.
> Can you get us a stack trace? Please see
> https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for
> more information on how to do so. When pasting a stack trace in this bug
> report, please reset the status of this bug report from NEEDINFO to its
> previous status. Thanks in advance!

The options for the Status is NEEDINFO or RESOLVED. Kept NEEDINFO.

There it is:

(gdb) thread apply all bt

Thread 1 (Thread 0xb626d880 (LWP 19909))

  • #0 gth_grid_view_item_unref
    at gth-grid-view.c line 358
  • #1 g_list_foreach
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #2 gth_grid_view_line_free
    at gth-grid-view.c line 374
  • #3 _gth_grid_view_free_lines_from
    at gth-grid-view.c line 906
  • #4 _gth_grid_view_relayout_from_line
    at gth-grid-view.c line 927
  • #5 _gth_grid_view_relayout_cb
    at gth-grid-view.c line 954
  • #6 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #7 g_main_context_dispatch
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #8 ??
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #9 g_main_context_iteration
    from /lib/i386-linux-gnu/libglib-2.0.so.0
  • #10 g_application_run
    from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
  • #11 main
    at main.c line 493

Comment 3 Herbert Parentes Fortes Neto 2015-07-16 15:58:58 UTC
Hi,

One more info.

The user says that "this bug happens almost always
when browsing the /tmp folder".


regards,
Herbert
Comment 4 Lorenzo J. Lucchini 2016-01-21 01:12:56 UTC
This problem happens to me as well on Debian Unstable with gThumb 3.4.1.
Stack trace follows:

(gthumb:12843): Gtk-CRITICAL **: gtk_event_controller_get_propagation_phase: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed

(gthumb:12843): Gtk-CRITICAL **: _gtk_widget_remove_controller: assertion 'GTK_IS_EVENT_CONTROLLER (controller)' failed
*** Error in `/usr/bin/gthumb': free(): invalid pointer: 0x802a44d0 ***

Program received signal SIGABRT, Aborted.
0xb7fdcbd1 in __kernel_vsyscall ()
(gdb) thread apply all bt


Comment 5 André Klapper 2018-06-18 13:50:01 UTC
Thanks for taking the time to report this.
Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. 

If this problem still happens in version 3.6:
Can you get us a stack trace ***with debugging symbols***? Please see https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces for more information on how to do so and reopen this bug report. Thanks in advance!
Comment 6 André Klapper 2019-09-14 22:28:55 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!