Crash when editing label

Bug #385538 reported by Reuben Thomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
audacity (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: audacity

I was editing a label in a label track, and pressed Ctrl-Z; audacity crashed, giving the following backtrace:

#0 TrackListIterator::Next (this=0xbfd29ac4, SkipLinked=false) at Track.cpp:186
#1 0x080d8762 in AudacityProject::GetUpdateFlags (this=0x9a890d8) at Menus.cpp:1386
#2 0x080da13f in AudacityProject::UpdateMenus (this=0x9a890d8) at Menus.cpp:1477
#3 0x0810687b in AudacityProject::FixScrollbars (this=0x9a890d8) at Project.cpp:1281
#4 0x0815c66b in TrackPanel::DoDrawIndicator (this=0x9d3ec08, dc=@0xbfd29c70)
    at TrackPanel.cpp:960
#5 0x0816a296 in TrackPanel::OnPaint (this=0x9d3ec08) at TrackPanel.cpp:1159
#6 0xb76fd231 in wxAppConsole::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#7 0xb779c49a in wxEvtHandler::ProcessEventIfMatches () from /usr/lib/libwx_baseu-2.8.so.0
#8 0xb779d6b4 in wxEventHashTable::HandleEvent () from /usr/lib/libwx_baseu-2.8.so.0
#9 0xb779d7bb in wxEvtHandler::ProcessEvent () from /usr/lib/libwx_baseu-2.8.so.0
#10 0xb798beb0 in wxWindow::GtkSendPaintEvents () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#11 0xb798c46d in ?? () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#12 0xb6cc4526 in _gtk_marshal_BOOLEAN__BOXED (closure=0x9d3c0b8, return_value=0xbfd2a240,
    n_param_values=2, param_values=0xb3057ac8, invocation_hint=0xbfd2a22c,
    marshal_data=0xb798c3e0) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmarshalers.c:84
#13 0xb6b5ac7b in IA__g_closure_invoke (closure=0x9d3c0b8, return_value=0xbfd2a240,
    n_param_values=2, param_values=0xb3057ac8, invocation_hint=0xbfd2a22c)
    at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#14 0xb6b70e57 in signal_emit_unlocked_R (node=0x98e3858, detail=0, instance=0x9ce5520,
    emission_return=0xbfd2a378, instance_and_params=0xb3057ac8)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3247
#15 0xb6b7234f in IA__g_signal_emit_valist (instance=0x9ce5520, signal_id=38, detail=0,
    var_args=0xbfd2a3d0 "è£ҿ\204¤ҿ UÎ\töT޶ UÎ\t\200\024\215\t")
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2990
#16 0xb6b72936 in IA__g_signal_emit (instance=0x9ce5520, signal_id=38, detail=0)
    at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3037
#17 0xb6ddf2ae in gtk_widget_event_internal (widget=0x9ce5520, event=0xbfd2a484)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkwidget.c:4761
#18 0xb6cbe56d in IA__gtk_main_do_event (event=0xbfd2a484)
    at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1558
#19 0xb6a25e95 in gdk_window_process_updates_internal (window=0x9d99aa0)
    at /build/buildd/gtk+2.0-2.16.1/gdk/gdkwindow.c:2611
#20 0xb6a264af in IA__gdk_window_process_all_updates ()
    at /build/buildd/gtk+2.0-2.16.1/gdk/gdkwindow.c:2677
#21 0xb6a264db in gdk_window_update_idle (data=0x0)
    at /build/buildd/gtk+2.0-2.16.1/gdk/gdkwindow.c:2521
#22 0xb6a098fb in gdk_threads_dispatch (data=0xa699470)
    at /build/buildd/gtk+2.0-2.16.1/gdk/gdk.c:498
#23 0xb6acec81 in g_idle_dispatch (source=0xa7414b8, callback=0x34c, user_data=0xa699470)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:3922
#24 0xb6ad0b88 in IA__g_main_context_dispatch (context=0x989a500)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#25 0xb6ad40eb in g_main_context_iterate (context=0x989a500, block=1, dispatch=1,
    self=0x9889ca0) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#26 0xb6ad45ba in IA__g_main_loop_run (loop=0x9d08158)
    at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2656
#27 0xb6cbe7d9 in IA__gtk_main () at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1205
#28 0xb7975215 in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#29 0xb7a0bd4e in wxAppBase::MainLoop () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#30 0xb7a0b921 in wxAppBase::OnRun () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#31 0xb7736daa in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#32 0xb7736fa7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#33 0x08081ac0 in main (argc=163379408, argv=0x34c) at AudacityApp.cpp:383

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: audacity 1.3.7-2ubuntu1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: audacity
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Reuben Thomas (rrt) wrote :
Revision history for this message
Benjamin Drung (bdrung) wrote :

I cannot reproduce it with audacity 1.3.9-3 from karmic (9.10). When pressing Ctrl-Z while editing a label, it does not crash. Can you test, if this version fixes your bug?

Changed in audacity (Ubuntu):
status: New → Incomplete
Revision history for this message
Reuben Thomas (rrt) wrote :

Nope, the bug is still there. Specifically, the crash occurs if I create a new label (e.g. by making a label from a selection), then type some characters, then press Ctrl+Z until the label is empty again. The next Ctrl+Z kills audacity.

Revision history for this message
Benjamin Drung (bdrung) wrote :

Yes, with this description I can reproduce it. It is important, that the label was just created.

Changed in audacity (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Triaged
Revision history for this message
Benjamin Drung (bdrung) wrote :

The bug is fixed in the CVS checkout from today (2009-09-28).

Changed in audacity (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package audacity - 1.3.9-6

---------------
audacity (1.3.9-6) unstable; urgency=low

  [ David Henningsson ]
  * Add myself to uploaders
  * Avoid that Audacity leaves autosave files behind, if quitted with
    monitoring enabled (LP: #455990)
  * prevent crashes when undoing label track changes (picked from
    upstream CVS). (LP: #385538)

 -- Benjamin Drung <email address hidden> Thu, 22 Oct 2009 00:22:42 +0200

Changed in audacity (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.