Crash when building from source when attempting to add file to data composition
Reproduction steps
After building from source with the default configuration:
- Open Xfburn
- Create a new data composition
- Add a file
- Select any file
- Open
Application output
huntertur@kobold:~/workspace/2other/xfburn$ ./xfburn/xfburn
DBG[xfburn-main.c:270] main(): xfburn version 0.6.3git-67388ba for Xfce 4.16
DBG[xfburn-settings.c:275] load_settings(): parsed
** Message: 23:43:44.887: Using UDEV
DBG[xfburn-device-list.c:229] xfburn_device_list_init(): Constructing device list
DBG[xfburn-udev-manager.c:284] xfburn_udev_manager_get_devices(): Found writer 'Dell DVD+/-RW DW316 ' at '/dev/sr0'
DBG[xfburn-device.c:435] xfburn_device_fillin_libburn_info(): libburn will determine BD support based on the disk in the drive
DBG[xfburn-device.c:443] xfburn_device_fillin_libburn_info(): Dell DVD+/-RW DW316 can burn: 1 [cdr: 1, cdrw: 1, dvdr: 1, dvdram: 1]
DBG[xfburn-device.c:355] refresh_disc(): disc_status = 2
DBG[xfburn-device.c:361] refresh_disc(): profile_no = 0x0 (), NOT erasable
** Message: 23:43:45.021: Using gstreamer transcoder.
DBG[xfburn-data-composition.c:904] add_cb(): selected files: /home/huntertur/Downloads/temp/test.patch
*** stack smashing detected ***: terminated
Aborted (core dumped)
gdb information
[New LWP 502163]
[New LWP 502164]
[New LWP 502165]
[New LWP 502216]
[New LWP 502166]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./xfburn/xfburn'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140269325659968) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
[Current thread is 1 (Thread 0x7f92ff542f40 (LWP 502163))]
Thread 5 (Thread 0x7f92fcffd640 (LWP 502166)):
#0 0x00007f9300918d7f in __GI___poll (fds=0x560dad6b1740, nfds=6, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f9300be7696 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f9300b92293 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f9300f3cc1a in () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007f9300bc1a41 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f9300894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007f9300926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x7f92cffff640 (LWP 502216)):
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f9300be170c in g_cond_wait_until () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f9300b623e1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f9300b62566 in g_async_queue_timeout_pop () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f9300bc4749 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f9300bc1a41 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007f9300894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#7 0x00007f9300926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x7f92fd7fe640 (LWP 502165)):
#0 0x00007f9300918d7f in __GI___poll (fds=0x560dacc194c0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f9300be7696 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f9300b903c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f92fec6d33d in () at /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4 0x00007f9300bc1a41 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f9300894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007f9300926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 2 (Thread 0x7f92fdfff640 (LWP 502164)):
#0 0x00007f9300918d7f in __GI___poll (fds=0x560dacc14e00, nfds=2, timeout=6422) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x00007f9300be7696 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f9300b903c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f9300b90411 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f9300bc1a41 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007f9300894b43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#6 0x00007f9300926a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7f92ff542f40 (LWP 502163)):
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140269325659968) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140269325659968) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140269325659968, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007f9300842476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007f93008287f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007f93008896f6 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f93009db943 "*** %s ***: terminated\n") at ../sysdeps/posix/libc_fatal.c:155
#6 0x00007f930093676a in __GI___fortify_fail (msg=msg@entry=0x7f93009db92b "stack smashing detected") at ./debug/fortify_fail.c:26
#7 0x00007f9300936736 in __stack_chk_fail () at ./debug/stack_chk_fail.c:24
#8 0x00007f9300ca97c0 in g_signal_emit_by_name () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9 0x00007f93013a7600 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007f93013b70ee in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#11 0x00007f9300c99e71 in g_object_run_dispose () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x0000560dab616b8d in add_cb (widget=<optimized out>, data=<optimized out>) at xfburn-data-composition.c:906
#13 0x00007f9300c8bd2f in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007f9300ca7b76 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007f9300ca9554 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007f9300ca99ce in g_signal_emit_by_name () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007f93011ee459 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#18 0x00007f93013f1710 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#19 0x00007f9300ca9640 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f9300ca97a3 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f93013792a3 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#22 0x00007f93013f0be5 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007f9300ca9640 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f9300ca97a3 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x00007f9301207d51 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007f9300c90866 in g_cclosure_marshal_VOID__BOXEDv () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007f9300ca9640 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007f9300ca97a3 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#29 0x00007f93011ffb46 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007f93012077bf in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007f9301208443 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#32 0x00007f93011cef90 in gtk_event_controller_handle_event () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#33 0x00007f93013a0045 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#34 0x00007f93013e5b77 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007f9300c8bd2f in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#36 0x00007f9300ca7564 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#37 0x00007f9300ca8f66 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#38 0x00007f9300ca97a3 in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#39 0x00007f93013ae724 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#40 0x00007f9301251680 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#41 0x00007f930125252a in gtk_main_do_event () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#42 0x00007f93018f0743 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#43 0x00007f9301927f56 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#44 0x00007f9300b92d1b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f9300be76f8 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f9300b92293 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f9301248cfd in gtk_main () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#48 0x0000560dab5fe445 in main (argc=<optimized out>, argv=<optimized out>) at xfburn-main.c:403