Menu

#1 Segfault when starting

open
nobody
None
5
2006-11-20
2006-11-20
Anonymous
No

I wanted to reduce a mesh but a segfault occured:

Opening file mask.wrl: done
Creating temporary data structures: done
Checking file header: VRML 1.0
Found translation value.
Adding Model to the Scene: done.
Found translation value.
Found vertices: parsed 114496 vertices.
Found vertex index: parsed 143334 triangles in the vertex index.
Adding Model to the Scene: Segmentation fault

GDB offers this output:

GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run mask.wrl
Starting program: /home/norbert/software/mesh/mesh-decimation/src/algo mask.wrl
Opening file mask.wrl: done
Creating temporary data structures: done
Checking file header: VRML 1.0
Found translation value.
Adding Model to the Scene: done.
Found translation value.
Found vertices: parsed 114496 vertices.
Found vertex index: parsed 143334 triangles in the vertex index.
Adding Model to the Scene:
Program received signal SIGSEGV, Segmentation fault.
0x08056117 in Triangle::calculateColor ()
(gdb) bt
#0 0x08056117 in Triangle::calculateColor ()
#1 0x08055e8e in Triangle::Triangle ()
#2 0x0805545d in Model::configureVectors ()
#3 0x08054c39 in Model::Model ()
#4 0x08050578 in VRMLParser::addModelToScene ()
#5 0x0804f7a4 in VRMLParser::parse ()
#6 0x0805a086 in Viewport::load ()
#7 0x08059658 in Viewport::Viewport ()
#8 0x0805c813 in ViewportController::createViewport ()
#9 0x080636ce in main ()

Any ideas?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.