program segfaults at program start
Brought to you by:
mikaelc
The program has been segfaulting for years in Ubuntu. And compiling the latest svn code does as well.
(gdb) bt
#0 0x001ff516 in glViewport () from /usr/lib/mesa/libGL.so.1
#1 0x080ae609 in SyntopiaCore::GLEngine::EngineWidget::updatePerspective() ()
#2 0x080af91f in SyntopiaCore::GLEngine::EngineWidget::EngineWidget(QMainWindow*, QWidget*) ()
#3 0x08064b2f in StructureSynth::GUI::MainWindow::init() ()
#4 0x0806a896 in StructureSynth::GUI::MainWindow::MainWindow() ()
#5 0x08058ac0 in main ()
More information can also be found in https://bugs.launchpad.net/bugs/571275
Hi, I'm mainly use Windows for development, but I always check Structure Synth on Ubuntu, and I have no problems. I suspect your gfx drivers is annoyed by something. What if you change the crashing line to something hardcoded like "glViewport(0,0,600,400)". Does it still crash?
Mikael, thank you for the quick follow-up. I should tell you, I'm not a programmer. "Change the crashing line" is not enough information for me. Can you provide a full patch instead of the instructions?
Could you try setting line 418 in EngineWidget.cpp to "glViewport(0,0,600,400)" and check if it still crashes? And if this doesn't help, try putting in a 'return;' statement in line 410 to skip this function?
Thank you.
First suggestion still segfaults the same way. Second suggestion "works" but is obviously not yet a solution.