After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 531084 - Brasero crashes in strlen () when debug mode is on
Brasero crashes in strlen () when debug mode is on
Status: RESOLVED FIXED
Product: brasero
Classification: Applications
Component: general
0.7.1
Other Linux
: Normal critical
: 0.7
Assigned To: Brasero maintainer(s)
Brasero maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2008-05-02 15:43 UTC by Pedro Villavicencio
Modified: 2008-06-29 07:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pedro Villavicencio 2008-05-02 15:43:03 UTC
This report has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/brasero/+bug/225405

"When I try to copy a disk to another disk or to an image and I run brasero with 'brasero -g' (debug mode), I get a crash."

"(gdb) run -g
[...]
(brasero:6535): BraseroBurn-DEBUG: At burn.c:1540: 1 tasks to perform
(brasero:6535): BraseroBurn-DEBUG: At burn-task.c:525: Starting fake task (2)
(brasero:6535): BraseroBurn-DEBUG: At burn-task-ctx.c:147: Setting current track (1 tracks)
(brasero:6535): BraseroBurn-DEBUG: At burn-task.c:253: ::activate method BraseroCdrdao
(brasero:6535): BraseroBurn-DEBUG: At burn-job.c:330: no ::activate method BraseroCdrdao
(brasero:6535): BraseroBurn-DEBUG: At burn-task.c:235: ::start method BraseroCdrdao

Program received signal SIGSEGV, Segmentation fault.

Thread 140667040061376 (LWP 6535)

  • #0 strlen
    from /lib/libc.so.6
  • #1 vfprintf
    from /lib/libc.so.6
  • #2 vasprintf
    from /lib/libc.so.6
  • #3 g_vasprintf
    from /usr/lib/libglib-2.0.so.0
  • #4 g_strdup_vprintf
    from /usr/lib/libglib-2.0.so.0
  • #5 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #6 brasero_burn_debug_messagev
    at burn-debug.c line 91
  • #7 brasero_job_log_message
    at burn-job.c line 1746
  • #8 brasero_job_get_action
    at burn-job.c line 1240
  • #9 brasero_job_item_start
    at burn-job.c line 580
  • #10 brasero_task_start_items
    at burn-task.c line 237
  • #11 brasero_task_start
    at burn-task.c line 551
  • #12 brasero_burn_run_imager
    at burn.c line 1278
  • #13 brasero_burn_run_tasks
    at burn.c line 1585
  • #14 brasero_burn_record_session
    at burn.c line 1882
  • #15 brasero_burn_record
    at burn.c line 2221
  • #16 brasero_burn_dialog_run
    at brasero-burn-dialog.c line 1819
  • #17 brasero_project_manager_burn
    at brasero-project-manager.c line 357
  • #18 brasero_project_manager_switch
    at brasero-project-manager.c line 435
  • #19 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #20 ??
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 ??
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #27 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #29 ??
    from /usr/lib/libgobject-2.0.so.0
  • #30 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #32 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #33 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #35 ??
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #37 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #38 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #41 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #42 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #43 ??
    from /usr/lib/libglib-2.0.so.0
  • #44 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #45 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 main
    at main.c line 735
rax            0x1	1
rbx            0x7fffa0f80210	140735893996048
rcx            0x7	7
rdx            0x7fffa0f80258	140735893996120
rsi            0xf32e44	15937092
rdi            0x1	1
rbp            0x7fffa0f7fbd0	0x7fffa0f7fbd0
rsp            0x7fffa0f7f528	0x7fffa0f7f528
r8             0x2525252525252525	2676586395008836901
r9             0x8101010101010100	-9151031864016699136
r10            0x7efefefefefefeff	9151031864016699135
r11            0x1	1
r12            0xffffffff	4294967295
r13            0x1	1
r14            0xf32e30	15937072
r15            0x0	0
rip            0x7fef91112060	0x7fef91112060 <strlen+16>
eflags         0x10213	[ CF AF IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
mxcsr          0x1fa0	[ PE IM DM ZM OM UM PM ]
"

Thanks,
Comment 1 Luis Medinas 2008-06-03 03:03:04 UTC
Confirmed bt:

  • #0 strlen
    from /lib/libc.so.6
  • #1 vfprintf
    from /lib/libc.so.6
  • #2 vasprintf
    from /lib/libc.so.6
  • #3 g_vasprintf
    from /usr/lib/libglib-2.0.so.0
  • #4 g_strdup_vprintf
    from /usr/lib/libglib-2.0.so.0
  • #5 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #6 brasero_burn_debug_messagev
    at burn-debug.c line 91
  • #7 brasero_job_log_message
    at burn-job.c line 1823
  • #8 brasero_job_get_action
    at burn-job.c line 1289
  • #9 brasero_job_item_start
    at burn-job.c line 586
  • #10 brasero_task_start_items
    at burn-task.c line 237
  • #11 brasero_task_start
    at burn-task.c line 551
  • #12 brasero_burn_run_imager
    at burn.c line 1324
  • #13 brasero_burn_run_tasks
    at burn.c line 1652
  • #14 brasero_burn_record_session
    at burn.c line 1958
  • #15 brasero_burn_record
    at burn.c line 2322
  • #16 brasero_burn_dialog_run
    at brasero-burn-dialog.c line 1779
  • #17 brasero_project_manager_burn
    at brasero-project-manager.c line 425
  • #18 brasero_project_manager_switch
    at brasero-project-manager.c line 504
  • #19 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #20 ??
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #22 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #23 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #24 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #25 ??
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #28 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 gtk_menu_shell_activate_item
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #33 ??
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #36 ??
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 ??
    from /usr/lib/libgdk-x11-2.0.so.0
  • #40 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #41 ??
    from /usr/lib/libglib-2.0.so.0
  • #42 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #43 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 main
    at main.c line 809

Comment 2 Philippe Rouquier 2008-06-28 18:54:33 UTC
I committed a possible fix to trunk. I'd appreciate if people could test it.
NOTE: this looks very similar to
#538953 – crash in Brasero Disc Burning: I was trying to copy a C...
Comment 3 Philippe Rouquier 2008-06-29 07:20:39 UTC
This bug seems to be fixed. The reporter for #538953 confirmed the latest changes fix the problem. Feel free to reopen the bug if it isn't.