! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
crash when opening app and filtering names
Status:
RESOLVED: FIXED
Product:
Xfce4-taskmanager
Component:
General

Comments

Description Liv 2015-08-10 22:12:55 CEST
Using Task Manager 1.1.0 

Do this: 
- make sure parole is closed
- in filter box enter 'parol'
- open Parole, close Parole
- quickly open Parole again 

At this point task manager should crash. Here's the trace: 

(gdb) run
Starting program: /usr/bin/xfce4-taskmanager 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffefc97700 (LWP 20520)]
xfce4-taskmanager-Message: Running as geek on liv-inspiron

(xfce4-taskmanager:20516): GLib-CRITICAL **: g_sequence_swap: assertion '!g_sequence_iter_is_end (b)' failed

(xfce4-taskmanager:20516): GLib-CRITICAL **: g_sequence_get: assertion '!is_end (iter)' failed

Program received signal SIGSEGV, Segmentation fault.
0x000055555555fa28 in ?? ()
(gdb) bt
#0  0x000055555555fa28 in ?? ()
#1  0x00007ffff67cd3b8 in g_closure_invoke (closure=0x55555589b250, return_value=0x0, n_param_values=4, param_values=0x7fffffffcb00, invocation_hint=0x7fffffffcaa0)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:768
#2  0x00007ffff67ded3d in signal_emit_unlocked_R (node=node@entry=0x555555f0f790, detail=detail@entry=0, instance=instance@entry=0x55555580bee0, emission_return=emission_return@entry=0x0, 
    instance_and_params=instance_and_params@entry=0x7fffffffcb00) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3551
#3  0x00007ffff67e6a29 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffccc8)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3307
#4  0x00007ffff67e6ce2 in g_signal_emit (instance=instance@entry=0x55555580bee0, signal_id=<optimized out>, detail=detail@entry=0) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
#5  0x00007ffff77613ca in IA__gtk_tree_model_rows_reordered (tree_model=tree_model@entry=0x55555580bee0, path=path@entry=0x5555559e4fa0, iter=iter@entry=0x0, 
    new_order=new_order@entry=0x55555608b360) at /build/buildd/gtk+2.0-2.24.23/gtk/gtktreemodel.c:1592
#6  0x00007ffff7765346 in gtk_tree_model_filter_rows_reordered (c_model=<optimized out>, c_path=<optimized out>, c_iter=<optimized out>, new_order=<optimized out>, data=<optimized out>)
    at /build/buildd/gtk+2.0-2.24.23/gtk/gtktreemodelfilter.c:2153
#7  0x00007ffff67cd3b8 in g_closure_invoke (closure=0x55555589ad70, return_value=0x0, n_param_values=4, param_values=0x7fffffffcfe0, invocation_hint=0x7fffffffcf80)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:768
#8  0x00007ffff67ded3d in signal_emit_unlocked_R (node=node@entry=0x555555f0f790, detail=detail@entry=0, instance=instance@entry=0x555555f42740, emission_return=emission_return@entry=0x0, 
    instance_and_params=instance_and_params@entry=0x7fffffffcfe0) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3551
#9  0x00007ffff67e6a29 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd1a8)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3307
#10 0x00007ffff67e6ce2 in g_signal_emit (instance=instance@entry=0x555555f42740, signal_id=<optimized out>, detail=detail@entry=0) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
#11 0x00007ffff77613ca in IA__gtk_tree_model_rows_reordered (tree_model=tree_model@entry=0x555555f42740, path=path@entry=0x555555b50ca0, iter=iter@entry=0x0, 
    new_order=new_order@entry=0x555555903c00) at /build/buildd/gtk+2.0-2.24.23/gtk/gtktreemodel.c:1592
#12 0x00007ffff7687197 in gtk_list_store_sort_iter_changed (list_store=0x555555f42740, iter=<optimized out>, column=<optimized out>) at /build/buildd/gtk+2.0-2.24.23/gtk/gtkliststore.c:1770
#13 0x00007ffff76881e9 in IA__gtk_list_store_set_valist (list_store=0x555555f42740, iter=0x7fffffffd5d0, var_args=var_args@entry=0x7fffffffd2d8)
---Type <return> to continue, or q <return> to quit---
    at /build/buildd/gtk+2.0-2.24.23/gtk/gtkliststore.c:905
#14 0x00007ffff76882b7 in IA__gtk_list_store_set (list_store=<optimized out>, iter=<optimized out>) at /build/buildd/gtk+2.0-2.24.23/gtk/gtkliststore.c:941
#15 0x0000555555567141 in ?? ()
#16 0x000055555556746c in ?? ()
#17 0x0000555555567e0f in ?? ()
#18 0x000055555555d3b1 in ?? ()
#19 0x00007ffff64fe703 in g_timeout_dispatch (source=0x5555560906a0, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:4472
#20 0x00007ffff64fdce5 in g_main_dispatch (context=0x5555557ae0c0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3064
#21 g_main_context_dispatch (context=context@entry=0x5555557ae0c0) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3663
#22 0x00007ffff64fe048 in g_main_context_iterate (context=0x5555557ae0c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3734
#23 0x00007ffff64fe30a in g_main_loop_run (loop=0x55555608fe60) at /build/buildd/glib2.0-2.40.2/./glib/gmain.c:3928
#24 0x00007ffff768a447 in IA__gtk_main () at /build/buildd/gtk+2.0-2.24.23/gtk/gtkmain.c:1271
#25 0x000055555555ce6c in ?? ()
#26 0x00007ffff5ef2ec5 in __libc_start_main (main=0x55555555cb70, argc=1, argv=0x7fffffffdee8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffded8) at libc-start.c:287
#27 0x000055555555cefa in ?? ()
(gdb) q
Comment 1 Landry Breuil editbugs 2017-02-25 10:48:32 CET
*** Bug 12408 has been marked as a duplicate of this bug. ***
Comment 2 Ján Sučan editbugs 2017-02-25 12:06:47 CET
Created attachment 7023 
Fix crashes of taskmanager when opening an app and filtering names

Hello Landry, I am adding the patch. I hoped that someone will find some cleaner solution. Don't tell anyone you've got it from me. ;-)
Comment 3 Skunnyk editbugs 2017-07-04 22:36:12 CEST
I can reproduce with the gtk2 version, and seems to be fixed in the gtk3 port.
Please re-test by recompiling with --enable-gtk3.
Comment 4 Ivan 83 2018-05-17 02:14:29 CEST
https://bugzilla.xfce.org/show_bug.cgi?id=14403
changes work with iterators, and fix bug that a bit looks like this
Comment 5 Alexander Kurakin 2018-11-29 11:16:46 CET
Same issue. Even simpler:

- make sure parole is closed
- in filter box enter 'parol'
- open Parole
- crash
Comment 6 Alexander Kurakin 2018-11-29 11:19:29 CET
P.S. Sorry forget to specify version.

1.2.1 / GTK3 / Gentoo (Calculate Linux)
Comment 7 Theo Linkspfeifer editbugs 2019-04-25 17:41:46 CEST
I followed your steps, but the task manager did not crash.

xfce4-taskmanager 1.2.2 (GTK3)
Xubuntu 19.04
Comment 8 Alexander Kurakin 2019-04-25 23:35:35 CEST
Seems like fixed in 1.2.2.

This? https://github.com/xfce-mirror/xfce4-taskmanager/commit/af078d406a43243388e0a61d647c3a6b7ada60ed

Bug #12132

Reported by:
Liv
Reported on: 2015-08-10
Last modified on: 2019-05-13
Duplicates (1):
  • 12408 Task Manager crashes when has a filter

People

Assignee:
Mike Massonnet
CC List:
7 users

Version

Version:
unspecified

Attachments

Additional information