Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


#166 SIGSEGV on debian sid when csladspa package is installed

Forrest Cahoon

Sonic Visualiser (installed from the 1.9cc deb linked on the web page) started crashing on startup on my debian sid machine, when previously it worked fine.

I built a debug version from the Hg sources (downloaded 2012-05-02) and was able to reproduce the problem: here's the backtrace from the crash:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff19acfa0 in __strcpy_chk () from /lib/x86_64-linux-gnu/
(gdb) backtrace
#0 0x00007ffff19acfa0 in __strcpy_chk () from /lib/x86_64-linux-gnu/
#1 0x00007fffdd116b95 in ?? () from /usr/lib/ladspa/
#2 0x00007fffdd1170e5 in ladspa_descriptor () from /usr/lib/ladspa/
#3 0x0000000000670ca7 in LADSPAPluginFactory::discoverPlugins(QString) ()
#4 0x000000000066cb06 in LADSPAPluginFactory::discoverPlugins() ()
#5 0x00000000006086f5 in RealTimePluginFactory::instance(QString) ()
#6 0x0000000000608ab0 in RealTimePluginFactory::getAllPluginIdentifiers() ()
#7 0x000000000063ba16 in TransformFactory::populateRealTimePlugins(std::map<QString, TransformDescription, std::less<QString>, std::allocator<std::pair<QString const, TransformDescription> > >&) ()
#8 0x000000000063f3fc in TransformFactory::populateTransforms() ()
#9 0x0000000000642196 in TransformFactory::getAllTransformDescriptions() ()
#10 0x0000000000464deb in MainWindow::setupTransformsMenu() ()
#11 0x00000000004461c8 in MainWindow::setupMenus() ()
#12 0x0000000000462b3b in MainWindow::MainWindow(bool, bool) ()
#13 0x000000000043c60d in main ()

I removed the csladspa package (version 1:5.17.6~dfsg-2 from the official sid repository) from my machine, and both my debug version and the deb-installed version of Sonic Visualiser started working again.