git master, segfault while closing audacity

Hi,
In linux (debian sid), I do some operations in audacity (load a wav file, normalize) then close audacity (File → Exit) without saving and it segfaults (each time).
I ran it in gdb and got the attached trace.

Regards

Jean-Luc
audacity-gdb-bt.txt (7.22 KB)

Audacity 2.3.3 should be built with wxWidgets 3.1.

Ah OK… But they are not available with debian… :astonished:

This forum board is for feedback and discussion about Audacity 2.3.3 alpha. Is that the version that you are using?

Sorry for the late answer (I have bad health problems).

I’m using git master version.
From Help → About, I get Audacity 2.3.3-alpha-Aug 29 2019 (today).

I’ve built wx 3.1 (3.1.0).

This fixes the problem while closing audacity.
But I get a popup with a backtrace when I start audacity :

ASSERT INFO:
…/src/gtk/window.cpp(3321): assert ““source”” failed in DoScreenToClient(): ScreenToClient failed on unrealized window

BACKTRACE:
[1] wxWindow::DoScreenToClient(int*, int*) const
[2] wxTopLevelWindowBase::DoScreenToClient(int*, int*) const
[3] wxWindow::DoScreenToClient(int*, int*) const
[4] wxWindow::DoScreenToClient(int*, int*) const
[5] wxWindow::DoScreenToClient(int*, int*) const
[6] wxWindow::DoScreenToClient(int*, int*) const
[7] ToolBar::SetDocked(ToolDock*, bool)
[8] ToolBar::ReCreateButtons()
[9] ControlToolBar::ReCreateButtons()
[10] ToolBar::Create(wxWindow*)
[11] ControlToolBar::Create(wxWindow*)
[12] ToolManager::ReadConfig()
[13] ToolManager::ToolManager(AudacityProject*, wxWindow*)
[14] AudacityProject::AudacityProject()
[15] ProjectManager::New()
[16] AudacityApp::OnInit()
[17] wxEntry(int&, wchar_t**)
[18] main
[19] __libc_start_main
[20] _start

If I unckeck the “Show this dialog the next time”, audacity starts and works as expected.
If I hit “Continue”, I get the same popup billions times.

If I run it from gdb, I get the following message:
[AVAudioResampleContext @ 0x5555576216c0] Value 160,000000 for parameter ‘phase_shift’ out of range [0 - 30]

If I hit the “Stop” button instead of “Continue”, I get:
Thread 1 “audacity” received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff771dbec in wxWindow::DoScreenToClient(int*, int*) const ()
from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_unofficial_core-3.1.so.0

Regards

Jean-Luc