Segmentation Fault when trying to start structure-synth

Bug #571275 reported by Mario César Señoranis on 2010-04-28
52
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Structure Synth
Unknown
Unknown
structure-synth (Ubuntu)
High
kavya

Bug Description

Binary package hint: structure-synth

Trying to start structure-synth, raises a segmentation fault, Every time with any option, I install it from the Software Center, on a Fresh Ubuntu 10.04 Installation.

My laptop is hp530, with an Intel graphic chip, 3GB of ram, Core 2 Duo processor 1.60ghz. Kernel 2.6.32.21. I had enabled composite and it's working fine. And Install all the suggested packages for structure-synth.

mariocesar@laptop:~$ structure-synth
Fallo de segmentación
mariocesar@laptop:~$ structure-synth --help
Fallo de segmentación
mariocesar@laptop:~$ structure-synth --debug
Fallo de segmentación

tags: added: segfault
removed: fault segmentation
Revision history for this message
Mario César Señoranis (mariocesar) wrote :

I must add that building structure-synth from source, also had a segmentation fault

~$ sudo apt-get install build-essential libx11-dev mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev subversion libxext-dev libqt4-opengl-dev
~$ svn co https://structuresynth.svn.sourceforge.net/svnroot/structuresynth/trunk structuresynth
~$ cd structuresynth
~/structuresynth$ qmake-qt4 -project -after "CONFIG+=opengl" -after "QT+=xml opengl script"
~/structuresynth$ qmake-qt4
~/structuresynth$ make
~/structuresynth$ ./structuresynth
Fallo de segmentación
~/structuresynth$ echo ":-("

I follow this instruction to build from source http://structuresynth.sourceforge.net/download.php

Revision history for this message
giafrata (giafrata) wrote :

Same Error on my Acer TravelMate 4060

/var/log/syslog
structure-synth[1540]: segfault at 4bc ip b76b6516 sp bf8251cc error 4 in libGL.so.1.2[b76b4000+5000]

Fresh Ubuntu Lucid Lynx Installation

Intel Pentium M Processor - 1.73GHz
1.5GB RAM
Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)

I also tried to recompile last svn release of structure-synth package.. Nothing at all...

Revision history for this message
ghendrix (ghendrix-) wrote :

I got the same error on my Lenovo T400 when using the package from ubuntu

Building from source got the same result...

Revision history for this message
Chip VanDan (chip-vandan) wrote :

Same problem here:

structure-synth 1.0.0-1
Ubuntu Studio 10.04 Kernel 2.6.33-29-realtime
GNOME 2.30.2

Also tried sudo structure-synth and got a little bit more output, but still ended with segmentation fault

Error: "/var/tmp/kdecache-airlynx" is owned by uid 1000 instead of uid 0.
(8602) KIconCache::Private::themeDirsChanged: Theme directory has been modified
Segmentation fault

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Same problem here on lucid. I have backported the natty package to lucid and that one segfaults as well.

Changed in structure-synth (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Rolf Leggewie (r0lf) wrote :

not sure if this is of any help, but here is a gdb backtrace for the lucid package

$ gdb structure-synth
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/structure-synth...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/structure-synth
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x001ff516 in glViewport () from /usr/lib/mesa/libGL.so.1
(gdb) bt
#0 0x001ff516 in glViewport () from /usr/lib/mesa/libGL.so.1
#1 0x0809f13c in ?? ()
#2 0x0809f386 in ?? ()
#3 0x0806530b in ?? ()
#4 0x08066165 in ?? ()
#5 0x080558a0 in ?? ()
#6 0x013c6bd6 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#7 0x08055541 in ?? ()
(gdb) quit
A debugging session is active.

 Inferior 1 [process 20739] will be killed.

Quit anyway? (y or n) y

and the same for the natty package (running on a lucid host) with the dbg package installed alongside

$ gdb structure-synth
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/structure-synth...Reading symbols from /usr/lib/debug/usr/bin/structure-synth...done.
done.
(gdb) run
Starting program: /usr/bin/structure-synth
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x001ff516 in glViewport () from /usr/lib/mesa/libGL.so.1
(gdb) bt
#0 0x001ff516 in glViewport () from /usr/lib/mesa/libGL.so.1
#1 0x080b3749 in SyntopiaCore::GLEngine::EngineWidget::updatePerspective (this=0x8230078) at SyntopiaCore/GLEngine/EngineWidget.cpp:418
#2 0x080b3caf in EngineWidget (this=0x8230078, mainWindow=0x822f388, parent=0x822e2f0) at SyntopiaCore/GLEngine/EngineWidget.cpp:22
#3 0x08064e2f in StructureSynth::GUI::MainWindow::init (this=0x822f388) at StructureSynth/GUI/MainWindow.cpp:425
#4 0x0806af66 in MainWindow (this=0x822f388) at StructureSynth/GUI/MainWindow.cpp:284
#5 0x08057ff8 in main (argc=Cannot access memory at address 0xfffffff8
) at Main.cpp:46
(gdb) quit
A debugging session is active.

 Inferior 1 [process 20942] will be killed.

Quit anyway? (y or n) y

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Assuming this affects natty itself as well. Setting appropriate milestone so that natty hopefully won't ship with a program that does nothing but segfault. Feel free to remove the natty milestone if you disagree.

Changed in structure-synth (Ubuntu):
milestone: none → ubuntu-11.04-beta-2
Revision history for this message
Martin Pitt (pitti) wrote :

If someone wants to work on it, sure. But otherwise this is also fine to fix in an SRU.

Changed in structure-synth (Ubuntu):
milestone: ubuntu-11.04-beta-2 → none
Revision history for this message
Rolf Leggewie (r0lf) wrote :

retarget to precise release. I think the program should either be fixed by release time for the LTS or the package dropped. We've been shipping a segfaulting package for four releases already.

I wonder why Debian doesn't appear to get reports about the segfault. Maybe this is a difference in one of the underlying libs?

Changed in structure-synth (Ubuntu):
milestone: none → ubuntu-12.04
Revision history for this message
Rolf Leggewie (r0lf) wrote :

The segfault I get by running upstream r310 compiled from source is a bit different it seems.

(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 ()

I reported the problem upstream at https://sourceforge.net/tracker/?func=detail&aid=3429067&group_id=202402&atid=981438

kavya (kavyamensin123) on 2013-09-06
Changed in structure-synth (Ubuntu):
assignee: nobody → kavya (kavyamensin123)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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