Discussion:
[Audacity-devel] Crash running effects on Linux
Steve the Fiddle
2017-06-26 15:38:29 UTC
Permalink
With debug build on Xubuntu, clean prefs.
To reproduce:

1) Generate a chirp (default settings)
Audacity crashes.

Backtrace:

#0 Track::GetY (this=***@entry=0x1) at ../../src/Track.cpp:190
#1 0x000000000074bbd0 in TrackArtist::DrawTracks (this=0x17a5c40,
tracks=<optimised out>, start=<optimised out>, dc=..., reg=..., rect=...,
clip=..., selectedRegion=..., zoomInfo=..., drawEnvelope=false,
bigPoints=false, drawSliders=false) at ../../src/TrackArtist.cpp:361
#2 0x000000000074ea55 in TrackPanel::DrawTracks (this=***@entry=0x17a2e50,
dc=0x17a3100) at ../../src/TrackPanel.cpp:1642
#3 0x000000000074eb88 in TrackPanel::OnPaint (this=0x17a2e50) at
../../src/TrackPanel.cpp:632
#4 0x00007ffff5ce61fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*,
wxEventFunctor&, wxEvent&) const () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5 0x00007ffff5e6c6e7 in
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6 0x00007ffff5e6c7db in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5e6cb8b in wxEvtHandler::TryHereOnly(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5e6cc13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5e6cc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff5e6c9e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff65ff3d9 in wxWindow::GTKSendPaintEvents(_GdkRegion const*)
() from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff65ffb84 in ?? () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff19faafc in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007ffff11adfa5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff11bffc1 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff11c87f9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff11c908f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff1b128cc in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff19f98b2 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff1654b9f in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#21 0x00007ffff1654b45 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#22 0x00007ffff1654b45 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#23 0x00007ffff1654b45 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007ffff1651671 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#25 0x00007ffff1651fa8 in gdk_window_process_all_updates () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff197e981 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff1630d57 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#28 0x00007ffff0ed704a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0ed73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff0ed7712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff19f86a7 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff65caed5 in wxGUIEventLoop::DoRun() () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#33 0x00007ffff5d28353 in wxEventLoopBase::Run() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#34 0x00007ffff5ced666 in wxAppConsoleBase::MainLoop() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5d79f70 in wxEntry(int&, wchar_t**) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x0000000000584292 in main (argc=1, argv=<optimised out>) at
../../src/AudacityApp.cpp:731
Paul Licameli
2017-06-26 15:55:23 UTC
Permalink
Where is your heat commit?

Is this consistently reproducible?

Is not NOT reproducible BEFORE d3c9a1decb41b5ef27443dd7e9377ffe8363c3b3?

That commit caused it, but perhaps. It changed the timing of the
processing of certain events. They were not paint events, but maybe they
are dispatched after certain paint events rather than before and that
causes it.

PRL
Post by Steve the Fiddle
With debug build on Xubuntu, clean prefs.
1) Generate a chirp (default settings)
Audacity crashes.
#1 0x000000000074bbd0 in TrackArtist::DrawTracks (this=0x17a5c40,
tracks=<optimised out>, start=<optimised out>, dc=..., reg=..., rect=...,
clip=..., selectedRegion=..., zoomInfo=..., drawEnvelope=false,
bigPoints=false, drawSliders=false) at ../../src/TrackArtist.cpp:361
dc=0x17a3100) at ../../src/TrackPanel.cpp:1642
#3 0x000000000074eb88 in TrackPanel::OnPaint (this=0x17a2e50) at
../../src/TrackPanel.cpp:632
#4 0x00007ffff5ce61fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*,
wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/
libwx_baseu-3.0.so.0
#5 0x00007ffff5e6c6e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase
const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/
libwx_baseu-3.0.so.0
#6 0x00007ffff5e6c7db in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5e6cb8b in wxEvtHandler::TryHereOnly(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5e6cc13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5e6cc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff5e6c9e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff65ff3d9 in wxWindow::GTKSendPaintEvents(_GdkRegion const*)
() from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff65ffb84 in ?? () from /usr/lib/x86_64-linux-gnu/
libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff19faafc in ?? () from /usr/lib/x86_64-linux-gnu/
libgtk-x11-2.0.so.0
#14 0x00007ffff11adfa5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff11bffc1 in ?? () from /usr/lib/x86_64-linux-gnu/
libgobject-2.0.so.0
#16 0x00007ffff11c87f9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff11c908f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/
libgobject-2.0.so.0
#18 0x00007ffff1b128cc in ?? () from /usr/lib/x86_64-linux-gnu/
libgtk-x11-2.0.so.0
#19 0x00007ffff19f98b2 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff1654b9f in ?? () from /usr/lib/x86_64-linux-gnu/
libgdk-x11-2.0.so.0
#21 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/
libgdk-x11-2.0.so.0
#22 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/
libgdk-x11-2.0.so.0
#23 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/
libgdk-x11-2.0.so.0
#24 0x00007ffff1651671 in ?? () from /usr/lib/x86_64-linux-gnu/
libgdk-x11-2.0.so.0
#25 0x00007ffff1651fa8 in gdk_window_process_all_updates () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff197e981 in ?? () from /usr/lib/x86_64-linux-gnu/
libgtk-x11-2.0.so.0
#27 0x00007ffff1630d57 in ?? () from /usr/lib/x86_64-linux-gnu/
libgdk-x11-2.0.so.0
#28 0x00007ffff0ed704a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0ed73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-
2.0.so.0
#30 0x00007ffff0ed7712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff19f86a7 in gtk_main () from /usr/lib/x86_64-linux-gnu/
libgtk-x11-2.0.so.0
#32 0x00007ffff65caed5 in wxGUIEventLoop::DoRun() () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#33 0x00007ffff5d28353 in wxEventLoopBase::Run() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#34 0x00007ffff5ced666 in wxAppConsoleBase::MainLoop() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5d79f70 in wxEntry(int&, wchar_t**) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x0000000000584292 in main (argc=1, argv=<optimised out>) at
../../src/AudacityApp.cpp:731
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-26 16:53:26 UTC
Permalink
Post by Paul Licameli
Where is your heat commit?
"Head"?
https://github.com/audacity/audacity/commit/6373a5085cef875ac397d1fd078b7631f445d6b3
Post by Paul Licameli
Is this consistently reproducible?
Yes, but not only Generate effects. For example, "Amplify" also crashes.
Post by Paul Licameli
Is not NOT reproducible BEFORE d3c9a1decb41b5ef27443dd7e9377ffe8363c3b3?
That commit caused it, but perhaps. It changed the timing of the
processing of certain events. They were not paint events, but maybe they
are dispatched after certain paint events rather than before and that
causes it.
My previous build was on Friday 23rd.

Steve
Post by Paul Licameli
PRL
On Mon, Jun 26, 2017 at 11:38 AM, Steve the Fiddle <
Post by Steve the Fiddle
With debug build on Xubuntu, clean prefs.
1) Generate a chirp (default settings)
Audacity crashes.
#1 0x000000000074bbd0 in TrackArtist::DrawTracks (this=0x17a5c40,
tracks=<optimised out>, start=<optimised out>, dc=..., reg=..., rect=...,
clip=..., selectedRegion=..., zoomInfo=..., drawEnvelope=false,
bigPoints=false, drawSliders=false) at ../../src/TrackArtist.cpp:361
dc=0x17a3100) at ../../src/TrackPanel.cpp:1642
#3 0x000000000074eb88 in TrackPanel::OnPaint (this=0x17a2e50) at
../../src/TrackPanel.cpp:632
#4 0x00007ffff5ce61fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*,
wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/libw
x_baseu-3.0.so.0
#5 0x00007ffff5e6c6e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase
const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libw
x_baseu-3.0.so.0
#6 0x00007ffff5e6c7db in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5e6cb8b in wxEvtHandler::TryHereOnly(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5e6cc13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5e6cc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff5e6c9e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff65ff3d9 in wxWindow::GTKSendPaintEvents(_GdkRegion
const*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff65ffb84 in ?? () from /usr/lib/x86_64-linux-gnu/libw
x_gtk2u_core-3.0.so.0
#13 0x00007ffff19faafc in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#14 0x00007ffff11adfa5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff11bffc1 in ?? () from /usr/lib/x86_64-linux-gnu/libg
object-2.0.so.0
#16 0x00007ffff11c87f9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff11c908f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff1b128cc in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#19 0x00007ffff19f98b2 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff1654b9f in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#21 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#22 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#23 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#24 0x00007ffff1651671 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#25 0x00007ffff1651fa8 in gdk_window_process_all_updates () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff197e981 in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#27 0x00007ffff1630d57 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#28 0x00007ffff0ed704a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0ed73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-
2.0.so.0
#30 0x00007ffff0ed7712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff19f86a7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#32 0x00007ffff65caed5 in wxGUIEventLoop::DoRun() () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#33 0x00007ffff5d28353 in wxEventLoopBase::Run() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#34 0x00007ffff5ced666 in wxAppConsoleBase::MainLoop() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5d79f70 in wxEntry(int&, wchar_t**) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x0000000000584292 in main (argc=1, argv=<optimised out>) at
../../src/AudacityApp.cpp:731
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Paul Licameli
2017-06-26 17:05:29 UTC
Permalink
Post by Steve the Fiddle
Post by Paul Licameli
Where is your heat commit?
"Head"?
https://github.com/audacity/audacity/commit/6373a5085cef875ac397d1fd078b76
31f445d6b3
Post by Paul Licameli
Is this consistently reproducible?
Yes, but not only Generate effects. For example, "Amplify" also crashes.
That's good, for investigating it.
Post by Steve the Fiddle
Post by Paul Licameli
Is not NOT reproducible BEFORE d3c9a1decb41b5ef27443dd7e9377ffe8363c3b3?
That commit caused it, but perhaps. It changed the timing of the
processing of certain events. They were not paint events, but maybe they
are dispatched after certain paint events rather than before and that
causes it.
My previous build was on Friday 23rd.
Steve
That doesn't quite answer my question. I suspect my own commit d3c9a1d.
Revert that in your build and tell me if it is fixed thereby.

PRL
Post by Steve the Fiddle
Post by Paul Licameli
PRL
On Mon, Jun 26, 2017 at 11:38 AM, Steve the Fiddle <
Post by Steve the Fiddle
With debug build on Xubuntu, clean prefs.
1) Generate a chirp (default settings)
Audacity crashes.
#1 0x000000000074bbd0 in TrackArtist::DrawTracks (this=0x17a5c40,
tracks=<optimised out>, start=<optimised out>, dc=..., reg=..., rect=...,
clip=..., selectedRegion=..., zoomInfo=..., drawEnvelope=false,
bigPoints=false, drawSliders=false) at ../../src/TrackArtist.cpp:361
dc=0x17a3100) at ../../src/TrackPanel.cpp:1642
#3 0x000000000074eb88 in TrackPanel::OnPaint (this=0x17a2e50) at
../../src/TrackPanel.cpp:632
#4 0x00007ffff5ce61fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*,
wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/libw
x_baseu-3.0.so.0
#5 0x00007ffff5e6c6e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase
const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libw
x_baseu-3.0.so.0
#6 0x00007ffff5e6c7db in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5e6cb8b in wxEvtHandler::TryHereOnly(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5e6cc13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5e6cc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff5e6c9e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff65ff3d9 in wxWindow::GTKSendPaintEvents(_GdkRegion
const*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff65ffb84 in ?? () from /usr/lib/x86_64-linux-gnu/libw
x_gtk2u_core-3.0.so.0
#13 0x00007ffff19faafc in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#14 0x00007ffff11adfa5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff11bffc1 in ?? () from /usr/lib/x86_64-linux-gnu/libg
object-2.0.so.0
#16 0x00007ffff11c87f9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff11c908f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff1b128cc in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#19 0x00007ffff19f98b2 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff1654b9f in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#21 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#22 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#23 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#24 0x00007ffff1651671 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#25 0x00007ffff1651fa8 in gdk_window_process_all_updates () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff197e981 in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#27 0x00007ffff1630d57 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#28 0x00007ffff0ed704a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0ed73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-
2.0.so.0
#30 0x00007ffff0ed7712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff19f86a7 in gtk_main () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#32 0x00007ffff65caed5 in wxGUIEventLoop::DoRun() () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#33 0x00007ffff5d28353 in wxEventLoopBase::Run() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#34 0x00007ffff5ced666 in wxAppConsoleBase::MainLoop() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5d79f70 in wxEntry(int&, wchar_t**) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x0000000000584292 in main (argc=1, argv=<optimised out>) at
../../src/AudacityApp.cpp:731
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Paul Licameli
2017-06-26 19:20:58 UTC
Permalink
Steve, I don't get the crash on Mac, but I reasoned about the code and I
think the fix for it is now at 2806b509e23ff154b67b93be6630ff2fe718896b

PRL
On Mon, Jun 26, 2017 at 12:53 PM, Steve the Fiddle <
Post by Steve the Fiddle
Post by Paul Licameli
Where is your heat commit?
"Head"?
https://github.com/audacity/audacity/commit/6373a5085cef875a
c397d1fd078b7631f445d6b3
Post by Paul Licameli
Is this consistently reproducible?
Yes, but not only Generate effects. For example, "Amplify" also crashes.
That's good, for investigating it.
Post by Steve the Fiddle
Post by Paul Licameli
Is not NOT reproducible BEFORE d3c9a1decb41b5ef27443dd7e9377ffe8363c3b3?
That commit caused it, but perhaps. It changed the timing of the
processing of certain events. They were not paint events, but maybe they
are dispatched after certain paint events rather than before and that
causes it.
My previous build was on Friday 23rd.
Steve
That doesn't quite answer my question. I suspect my own commit d3c9a1d.
Revert that in your build and tell me if it is fixed thereby.
PRL
Post by Steve the Fiddle
Post by Paul Licameli
PRL
On Mon, Jun 26, 2017 at 11:38 AM, Steve the Fiddle <
Post by Steve the Fiddle
With debug build on Xubuntu, clean prefs.
1) Generate a chirp (default settings)
Audacity crashes.
#1 0x000000000074bbd0 in TrackArtist::DrawTracks (this=0x17a5c40,
tracks=<optimised out>, start=<optimised out>, dc=..., reg=..., rect=...,
clip=..., selectedRegion=..., zoomInfo=..., drawEnvelope=false,
bigPoints=false, drawSliders=false) at ../../src/TrackArtist.cpp:361
dc=0x17a3100) at ../../src/TrackPanel.cpp:1642
#3 0x000000000074eb88 in TrackPanel::OnPaint (this=0x17a2e50) at
../../src/TrackPanel.cpp:632
#4 0x00007ffff5ce61fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*,
wxEventFunctor&, wxEvent&) const () from /usr/lib/x86_64-linux-gnu/libw
x_baseu-3.0.so.0
#5 0x00007ffff5e6c6e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase
const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libw
x_baseu-3.0.so.0
#6 0x00007ffff5e6c7db in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5e6cb8b in wxEvtHandler::TryHereOnly(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5e6cc13 in wxEvtHandler::ProcessEventLocally(wxEvent&)
() from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5e6cc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff5e6c9e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&)
() from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff65ff3d9 in wxWindow::GTKSendPaintEvents(_GdkRegion
const*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff65ffb84 in ?? () from /usr/lib/x86_64-linux-gnu/libw
x_gtk2u_core-3.0.so.0
#13 0x00007ffff19faafc in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#14 0x00007ffff11adfa5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff11bffc1 in ?? () from /usr/lib/x86_64-linux-gnu/libg
object-2.0.so.0
#16 0x00007ffff11c87f9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff11c908f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff1b128cc in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#19 0x00007ffff19f98b2 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff1654b9f in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#21 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#22 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#23 0x00007ffff1654b45 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#24 0x00007ffff1651671 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#25 0x00007ffff1651fa8 in gdk_window_process_all_updates () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff197e981 in ?? () from /usr/lib/x86_64-linux-gnu/libg
tk-x11-2.0.so.0
#27 0x00007ffff1630d57 in ?? () from /usr/lib/x86_64-linux-gnu/libg
dk-x11-2.0.so.0
#28 0x00007ffff0ed704a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0ed73f0 in ?? () from /lib/x86_64-linux-gnu/libglib-
2.0.so.0
#30 0x00007ffff0ed7712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff19f86a7 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff65caed5 in wxGUIEventLoop::DoRun() () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#33 0x00007ffff5d28353 in wxEventLoopBase::Run() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#34 0x00007ffff5ced666 in wxAppConsoleBase::MainLoop() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5d79f70 in wxEntry(int&, wchar_t**) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x0000000000584292 in main (argc=1, argv=<optimised out>) at
../../src/AudacityApp.cpp:731
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Steve the Fiddle
2017-06-27 10:20:42 UTC
Permalink
Thanks Paul, that appears to have fixed it.

Steve
Post by Paul Licameli
Steve, I don't get the crash on Mac, but I reasoned about the code and I
think the fix for it is now at 2806b509e23ff154b67b93be6630ff2fe718896b
PRL
On Mon, Jun 26, 2017 at 12:53 PM, Steve the Fiddle
Post by Steve the Fiddle
Post by Paul Licameli
Where is your heat commit?
"Head"?
https://github.com/audacity/audacity/commit/6373a5085cef875ac397d1fd078b7631f445d6b3
Post by Paul Licameli
Is this consistently reproducible?
Yes, but not only Generate effects. For example, "Amplify" also crashes.
That's good, for investigating it.
Post by Steve the Fiddle
Post by Paul Licameli
Is not NOT reproducible BEFORE d3c9a1decb41b5ef27443dd7e9377ffe8363c3b3?
That commit caused it, but perhaps. It changed the timing of the
processing of certain events. They were not paint events, but maybe they
are dispatched after certain paint events rather than before and that causes
it.
My previous build was on Friday 23rd.
Steve
That doesn't quite answer my question. I suspect my own commit d3c9a1d.
Revert that in your build and tell me if it is fixed thereby.
PRL
Post by Steve the Fiddle
Post by Paul Licameli
PRL
On Mon, Jun 26, 2017 at 11:38 AM, Steve the Fiddle
Post by Steve the Fiddle
With debug build on Xubuntu, clean prefs.
1) Generate a chirp (default settings)
Audacity crashes.
#1 0x000000000074bbd0 in TrackArtist::DrawTracks (this=0x17a5c40,
tracks=<optimised out>, start=<optimised out>, dc=..., reg=..., rect=...,
clip=..., selectedRegion=..., zoomInfo=..., drawEnvelope=false,
bigPoints=false, drawSliders=false) at ../../src/TrackArtist.cpp:361
#2 0x000000000074ea55 in TrackPanel::DrawTracks
#3 0x000000000074eb88 in TrackPanel::OnPaint (this=0x17a2e50) at
../../src/TrackPanel.cpp:632
#4 0x00007ffff5ce61fe in
wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&)
const () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#5 0x00007ffff5e6c6e7 in
wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&,
wxEvtHandler*, wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#6 0x00007ffff5e6c7db in wxEventHashTable::HandleEvent(wxEvent&,
wxEvtHandler*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7 0x00007ffff5e6cb8b in wxEvtHandler::TryHereOnly(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#8 0x00007ffff5e6cc13 in wxEvtHandler::ProcessEventLocally(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007ffff5e6cc75 in wxEvtHandler::ProcessEvent(wxEvent&) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007ffff5e6c9e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) ()
from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007ffff65ff3d9 in wxWindow::GTKSendPaintEvents(_GdkRegion
const*) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#12 0x00007ffff65ffb84 in ?? () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#13 0x00007ffff19faafc in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#14 0x00007ffff11adfa5 in g_closure_invoke () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x00007ffff11bffc1 in ?? () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x00007ffff11c87f9 in g_signal_emit_valist () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff11c908f in g_signal_emit () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff1b128cc in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#19 0x00007ffff19f98b2 in gtk_main_do_event () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#20 0x00007ffff1654b9f in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#21 0x00007ffff1654b45 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#22 0x00007ffff1654b45 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#23 0x00007ffff1654b45 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#24 0x00007ffff1651671 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#25 0x00007ffff1651fa8 in gdk_window_process_all_updates () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#26 0x00007ffff197e981 in ?? () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00007ffff1630d57 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#28 0x00007ffff0ed704a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff0ed73f0 in ?? () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ffff0ed7712 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ffff19f86a7 in gtk_main () from
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#32 0x00007ffff65caed5 in wxGUIEventLoop::DoRun() () from
/usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#33 0x00007ffff5d28353 in wxEventLoopBase::Run() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#34 0x00007ffff5ced666 in wxAppConsoleBase::MainLoop() () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#35 0x00007ffff5d79f70 in wxEntry(int&, wchar_t**) () from
/usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#36 0x0000000000584292 in main (argc=1, argv=<optimised out>) at
../../src/AudacityApp.cpp:731
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
audacity-devel mailing list
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Loading...