! 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 !
thunar-1.0.2 crash in thunar_tree_model_cmp_array
Status:
RESOLVED: FIXED

Comments

Description pva 2010-08-29 12:38:18 CEST
Hello, I'm getting quite reproducible crash of thunar with the following backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000450e3a in thunar_tree_model_cmp_array (a=0x7fffef624be0, b=0x7fffef624bb0, user_data=<value optimized out>)
    at thunar-tree-model.c:850
850	thunar-tree-model.c: Нет такого файла или каталога.
	in thunar-tree-model.c
(gdb) bt
#0  0x0000000000450e3a in thunar_tree_model_cmp_array (a=0x7fffef624be0, b=0x7fffef624bb0, user_data=<value optimized out>)
    at thunar-tree-model.c:850
#1  0x00007f09229102b6 in IA__g_qsort_with_data (pbase=<value optimized out>, total_elems=<value optimized out>, 
    size=<value optimized out>, compare_func=0x450e30 <thunar_tree_model_cmp_array>, user_data=0x22e6580) at gqsort.c:263
#2  0x00000000004507b3 in thunar_tree_model_sort (model=<value optimized out>, node=0x242a6f0) at thunar-tree-model.c:893
#3  0x00000000004509c0 in thunar_tree_model_item_files_added (item=0x242a6c0, files=<value optimized out>, folder=0x0)
    at thunar-tree-model.c:1382
#4  0x0000000000450b0b in thunar_tree_model_item_load_idle (user_data=<value optimized out>) at thunar-tree-model.c:1525
#5  0x00007f09228ff2d1 in g_main_dispatch (context=0x20e2800) at gmain.c:1960
#6  IA__g_main_context_dispatch (context=0x20e2800) at gmain.c:2513
#7  0x00007f0922903128 in g_main_context_iterate (context=0x20e2800, block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at gmain.c:2591
#8  0x00007f0922903635 in IA__g_main_loop_run (loop=0x20bb9b0) at gmain.c:2799
#9  0x00007f0924cde217 in IA__gtk_main () at gtkmain.c:1219
#10 0x000000000041bd24 in main (argc=1, argv=0x7fffef625068) at main.c:243


If you need any additional information to debug this issue, just ask. I've tried to create small test case to reproduce this issue, but failed.
Comment 1 Nick Schermer editbugs 2012-09-26 10:44:22 CEST
All this code changed, so please reopen if this still occurs with the latest version of thunar.

Bug #6669

Reported by:
pva
Reported on: 2010-08-29
Last modified on: 2012-09-26

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information