Memory corruption and crash when building with xfce4-dev-tools >= 4.17.1
Git master (d455c449) crashes without warnings, while 0.6.2 shows warnings but does not crash.
Warnings of 0.6.2:
(xfburn:48173): GLib-GIO-CRITICAL **: 11:33:40.785: g_simple_action_set_enabled: assertion 'G_IS_SIMPLE_ACTION (simple)' failed
** (xfburn:48173): WARNING **: 11:33:50.701: Hmm, why can we refresh when there is no drive?
** (xfburn:48173): WARNING **: 11:33:51.703: Hmm, why can we refresh when there is no drive?
Git master displays the dialog indicating that there is no burner, then crashes if you close the dialog.
Console output:
DBG[xfburn-main.c:270] main(): xfburn version 0.6.3git-64f3cf0 for Xfce 4.16
DBG[xfburn-settings.c:275] load_settings(): parsed
** Message: 11:47:03.459: Using UDEV
DBG[xfburn-device-list.c:229] xfburn_device_list_init(): Constructing device list
** Message: 11:47:04.953: Using gstreamer transcoder.
Erreur de segmentation (core dumped)
Backtrace:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f6d06684d7e in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f6d0534b9c0 (LWP 48493))]
(gdb) bt
#0 0x00007f6d06684d7e in g_slice_alloc () at /usr/lib/libglib-2.0.so.0
#1 0x00007f6d0668536e in g_slice_alloc0 () at /usr/lib/libglib-2.0.so.0
#2 0x00007f6d067896bf in g_type_create_instance () at /usr/lib/libgobject-2.0.so.0
#3 0x00007f6d06770550 in () at /usr/lib/libgobject-2.0.so.0
#4 0x00007f6d067724d5 in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
#5 0x00007f6d06772b4e in g_object_new () at /usr/lib/libgobject-2.0.so.0
#6 0x00007f6d071e5a25 in () at /usr/lib/libgtk-3.so.0
#7 0x00007f6d06789759 in g_type_create_instance () at /usr/lib/libgobject-2.0.so.0
#8 0x00007f6d06770550 in () at /usr/lib/libgobject-2.0.so.0
#9 0x00007f6d06771d80 in g_object_new_with_properties () at /usr/lib/libgobject-2.0.so.0
#10 0x00007f6d06772b7a in g_object_new () at /usr/lib/libgobject-2.0.so.0
#11 0x00007f6d071fbd41 in () at /usr/lib/libgtk-3.so.0
#12 0x00007f6d071f62b8 in () at /usr/lib/libgtk-3.so.0
#13 0x00007f6d071f61cc in () at /usr/lib/libgtk-3.so.0
#14 0x00007f6d073ef94f in () at /usr/lib/libgtk-3.so.0
#15 0x00007f6d071f6c0d in gtk_menu_shell_bind_model () at /usr/lib/libgtk-3.so.0
#16 0x00007f6d071ed09e in gtk_menu_bar_new_from_model () at /usr/lib/libgtk-3.so.0
#17 0x000055e4bb6cece4 in xfburn_main_window_init (mainwin=0x55e4bc808260) at xfburn-main-window.c:199
#18 0x00007f6d06789759 in g_type_create_instance () at /usr/lib/libgobject-2.0.so.0
#19 0x00007f6d06770550 in () at /usr/lib/libgobject-2.0.so.0
#20 0x00007f6d0677295f in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0
#21 0x00007f6d0732d6f2 in gtk_widget_new () at /usr/lib/libgtk-3.so.0
#22 0x000055e4bb6cf7e1 in xfburn_main_window_new () at xfburn-main-window.c:591
#23 0x000055e4bb6bdc00 in main (argc=<optimized out>, argv=<optimized out>) at xfburn-main.c:391
It also crashes if you just wait a few seconds, but maybe not always.
Console output:
DBG[xfburn-main.c:270] main(): xfburn version 0.6.3git-64f3cf0 for Xfce 4.16
DBG[xfburn-settings.c:275] load_settings(): parsed
** Message: 11:44:59.433: Using UDEV
DBG[xfburn-device-list.c:229] xfburn_device_list_init(): Constructing device list
DBG[xfburn-udev-manager.c:136] cb_device_monitor_uevent(): UDEV: device uevent: change
DBG[xfburn-device-list.c:350] cb_volumes_changed(): Udev volume changed
Erreur de segmentation (core dumped)
Backtrace:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f968bb168be in g_slice_free_chain_with_offset () from /usr/lib/libglib-2.0.so.0
[Current thread is 1 (Thread 0x7f9689fd39c0 (LWP 47569))]
(gdb) bt
#0 0x00007f968bb168be in g_slice_free_chain_with_offset () at /usr/lib/libglib-2.0.so.0
#1 0x0000559d36127a8e in xfburn_device_refresh_info (device=0x559d377080c0, get_speed_info=get_speed_info@entry=1) at xfburn-device.c:508
#2 0x0000559d361280af in refresh (devlist=0x559d3761aee0) at xfburn-device-list.c:368
#3 0x00007f968bbf2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#4 0x00007f968bc1fe88 in () at /usr/lib/libgobject-2.0.so.0
#5 0x00007f968bc0ff35 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#6 0x00007f968bc101c4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#7 0x00007f968ae334f6 in () at /usr/lib/libffi.so.8
#8 0x00007f968ae2ff5e in () at /usr/lib/libffi.so.8
#9 0x00007f968ae32b73 in ffi_call () at /usr/lib/libffi.so.8
#10 0x00007f968bbf8485 in g_cclosure_marshal_generic () at /usr/lib/libgobject-2.0.so.0
#11 0x00007f968bbf2210 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#12 0x00007f968bc1fe88 in () at /usr/lib/libgobject-2.0.so.0
#13 0x00007f968bc0ff35 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#14 0x00007f968bc101c4 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#15 0x00007f968bc4443d in () at /usr/lib/libgudev-1.0.so.0
#16 0x00007f968baf681b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#17 0x00007f968bb4cec9 in () at /usr/lib/libglib-2.0.so.0
#18 0x00007f968baf5d7f in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#19 0x00007f968c540bb3 in gtk_dialog_run () at /usr/lib/libgtk-3.so.0
#20 0x0000559d36119ea9 in main (argc=<optimized out>, argv=<optimized out>) at xfburn-main.c:299