! 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 !
SEGV (11) on /usr/bin/thunar (on moving files via Ctrl-C Ctrl-V)
Status:
RESOLVED: FIXED

Comments

Description Mikhail Kasimov 2017-02-17 19:00:55 CET
Hello!

Initial report:

[1] https://bugzilla.suse.com/show_bug.cgi?id=1012237

[2] k_mikhail@linux-mk500:~> thunar --version
Thunar 1.6.10 (Xfce 4.12)

Copyright (c) 2004-2015
	Команда разработчиков Thunar. Все права защищены.

Автор: Benedikt Meurer <benny@xfce.org>.

Об ошибках сообщайте на <http://bugzilla.xfce.org/>.

k_mikhail@linux-mk500:~> rpm -q thunar
thunar-1.6.10-4.6.x86_64

[3] k_mikhail@linux-mk500:~> coredumpctl | grep [tT]hunar
<skipped>
Птн 2017-02-17 19:51:48 EET   1607  1000   100  11 * /usr/bin/thunar

[4] k_mikhail@linux-mk500:~> coredumpctl gdb 1607
           PID: 1607 (Thunar)
           UID: 1000 (k_mikhail)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Птн 2017-02-17 19:51:16 EET (7min ago)
  Command Line: Thunar --daemon
    Executable: /usr/bin/thunar
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (k_mikhail)
       Boot ID: 1ce14bb138ad4e279a2e2d33226baf0c
    Machine ID: 4664bc7cba6aee90fe1efc7f571cbf28
      Hostname: linux-mk500
      Coredump: /var/lib/systemd/coredump/core.Thunar.1000.1ce14bb138ad4e279a2e2d33226baf0c.1607.1487353876000000.xz
       Message: Process 1607 (Thunar) of user 1000 dumped core.

GNU gdb (GDB; openSUSE Leap 42.2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/thunar...Reading symbols from /usr/lib/debug/usr/bin/thunar.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 1607]
[New LWP 28669]
[New LWP 2167]
[New LWP 2170]
[New LWP 28678]
[New LWP 2166]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `Thunar --daemon'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x7f36040b6ea0, 
    fundamental_type=fundamental_type@entry=80) at gtype.c:4033
4033	  node = lookup_type_node_I (type_instance->g_class->g_type);
[Current thread is 1 (Thread 0x7f3637955a00 (LWP 1607))]

[5] (gdb) bt
#0  0x00007f3634803a9d in g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x7f36040b6ea0, fundamental_type=fundamental_type@entry=80) at gtype.c:4033
#1  0x00007f36347e5fe7 in g_object_unref (_object=0x7f36040b6ea0) at gobject.c:3080
#2  0x0000000000437de2 in thunar_file_info_clear (file=file@entry=0x7f35f008f440) at thunar-file.c:894
#3  0x000000000043922c in thunar_file_load (file=file@entry=0x7f35f008f440, error=error@entry=0x0, cancellable=0x0)
    at thunar-file.c:1168
#4  0x000000000043ad53 in thunar_file_reload (file=0x7f35f008f440) at thunar-file.c:3926
#5  0x00007f363450d015 in g_main_context_dispatch (context=0x12fe5a0) at gmain.c:3154
#6  0x00007f363450d015 in g_main_context_dispatch (context=context@entry=0x12fe5a0) at gmain.c:3769
#7  0x00007f363450d388 in g_main_context_iterate (context=0x12fe5a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#8  0x00007f363450d64a in g_main_loop_run (loop=0x138daa0) at gmain.c:4034
#9  0x00007f36363d97b7 in IA__gtk_main () at gtkmain.c:1268
#10 0x00000000004223ad in main (argc=1, argv=0x7fffd0a3ef08) at main.c:312
(gdb)
Comment 1 Mikhail Kasimov 2017-02-24 02:31:37 CET
https://bugzilla.opensuse.org/show_bug.cgi?id=1012237#c6

've tried to copy huge pile of small (~ 100kb) files in amount of ~4000 files. And, seems, I'm lucky man. :)

[1] k_mikhail@linux-mk500:~> coredumpctl | grep 2017-02-24
Птн 2017-02-24 02:50:59 EET   1587  1000   100  11 * /usr/bin/thunar

[2] k_mikhail@linux-mk500:~> coredumpctl gdb 1587
           PID: 1587 (Thunar)
           UID: 1000 (k_mikhail)
           GID: 100 (users)
        Signal: 11 (SEGV)
     Timestamp: Птн 2017-02-24 02:50:22 EET (6min ago)
  Command Line: Thunar --daemon
    Executable: /usr/bin/thunar
 Control Group: /user.slice/user-1000.slice/session-2.scope
          Unit: session-2.scope
         Slice: user-1000.slice
       Session: 2
     Owner UID: 1000 (k_mikhail)
       Boot ID: d302005272cf47eb9669701d90d16de5
    Machine ID: 4664bc7cba6aee90fe1efc7f571cbf28
      Hostname: linux-mk500
      Coredump: /var/lib/systemd/coredump/core.Thunar.1000.d302005272cf47eb9669701d90d16de5.1587.1487897422000000.xz
       Message: Process 1587 (Thunar) of user 1000 dumped core.

GNU gdb (GDB; openSUSE Leap 42.2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/thunar...Reading symbols from /usr/lib/debug/usr/bin/thunar.debug...done.
done.

warning: core file may not match specified executable file.
[New LWP 1587]
[New LWP 1978]
[New LWP 1981]
[New LWP 24728]
[New LWP 24739]
[New LWP 1977]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `Thunar --daemon'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  g_type_check_instance_is_fundamentally_a (
    type_instance=type_instance@entry=0x300f690, 
    fundamental_type=fundamental_type@entry=80) at gtype.c:4033
4033	  node = lookup_type_node_I (type_instance->g_class->g_type);
[Current thread is 1 (Thread 0x7f05c9a5ba00 (LWP 1587))]


[3] (gdb) bt
#0  0x00007f05c6909a9d in g_type_check_instance_is_fundamentally_a (type_instance=type_instance@entry=0x300f690, fundamental_type=fundamental_type@entry=80)
    at gtype.c:4033
#1  0x00007f05c68ebfe7 in g_object_unref (_object=0x300f690) at gobject.c:3080
#2  0x0000000000437de2 in thunar_file_info_init (iface=0x300f690)
    at thunar-file.c:393
#3  0x0000000003009500 in  ()
#4  0x000000000043922c in thunar_file_get_async_finish (object=0x17125a0, result=0x3009500, user_data=0x0) at thunar-file.c:1111
#5  0x00007f05c6613015 in g_main_context_dispatch (context=0x17125a0)
    at gmain.c:3154
#6  0x00007f05c6613015 in g_main_context_dispatch (context=context@entry=0x17125a0) at gmain.c:3769
#7  0x00007f05c6613388 in g_main_context_iterate (context=0x17125a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#8  0x00007f05c661364a in g_main_loop_run (loop=0x17a1aa0) at gmain.c:4034
#9  0x00007f05c84df7b7 in IA__gtk_main () at gtkmain.c:1268
#10 0x00000000004223ad in main (argc=1, argv=0x7ffc63ac2298) at main.c:278
Comment 2 Mikhail Kasimov 2017-02-27 23:15:25 CET
Due to tests (thanks to Simon Steinbeiss on giving link on Xubuntu test-case: http://packages.qa.ubuntu.com/qatracker/milestones/361/builds/117794/testcases/1681/results) this fixed in thunar 1.6.11.

Closed for now.
Comment 3 Mikhail Kasimov 2017-02-27 23:15:58 CET
UTR with Thunar 1.6.11.

Bug #13359

Reported by:
Mikhail Kasimov
Reported on: 2017-02-17
Last modified on: 2017-02-27

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
1.6.10

Attachments

Additional information