Bug#884947: freecad: FreeCad crashes on start due to updated libcoin

Tobias Frost tobi at debian.org
Mon Dec 25 17:19:33 UTC 2017


Source: coin3
Followup-For: Bug #884947
Control: reopen -1
Control: found -1  3.1.4~abc9f50+d

Hi,

I was to fast in concluding that the bug is fixed.. (I accidentially installed libcoin80, not the gcc5 abi one
and it worked with that one)

After fixing that (installing 80v5 again) I see the segfault again.
Note that I'm running a self-compiled one (0.17, git trunk) but the segfault happens also
with the packaged FreeCAD.

Program received signal SIGSEGV, Segmentation fault.
#0  /lib/x86_64-linux-gnu/libc.so.6(+0x33af0) [0x7f179ff98af0]
#1  /usr/lib/x86_64-linux-gnu/libCoin.so.80(cc_memalloc_deallocate+0) [0x7f17a725de20]
#2  0x7f17a73b8eb6 in SoType::createType(SoType, SbName, void* (*)(), unsigned short) from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x396
#3  0x7f17a72c977b in SoGLCacheContextElement::initClass() from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x6b
#4  0x7f17a72a7f1f in SoElement::initElements() from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x18f
#5  0x7f17a72a803f in SoElement::initClass() from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x8f
#6  0x7f17a73a028e in SoDB::init() from /usr/lib/x86_64-linux-gnu/libCoin.so.80+0x19e
#7  0x7f17aa0dd760 in Gui::Application::runApplication() from /usr/local/lib/libFreeCADGui.so+0xf46
#8  FreeCAD(main+0xa71) [0x5601ef5f9275]
#9  /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f179ff85561]
#10  FreeCAD(_start+0x2a) [0x5601ef5f86aa]

(Here's the backtrace with the packaged freecad, ran under gdb)
Program received signal SIGSEGV, Segmentation fault.
cc_memalloc_deallocate (allocator=0x696c23223d666572, ptr=ptr at entry=0x555555da4430) at memalloc.cpp:197
197     memalloc.cpp: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0  0x00007ffff4de4e20 in cc_memalloc_deallocate(cc_memalloc*, void*) (allocator=0x696c23223d666572, ptr=ptr at entry=0x555555da4430) at memalloc.cpp:197
#1  0x00007ffff4f3feb6 in SbHash<char const*, short>::SbHashEntry::operator delete(void*) (ptr=0x555555da4430)
    at ../../src/misc/SbHash.h:144
#2  0x00007ffff4f3feb6 in SbHash<char const*, short>::resize(unsigned int) (newsize=<optimized out>, this=0x555555dc7f00) at ../../src/misc/SbHash.h:444
#3  0x00007ffff4f3feb6 in SbHash<char const*, short>::put(char const* const&, short const&) (obj=<optimized out>, key=<optimized out>, this=0x555555dc7f00) at ../../src/misc/SbHash.h:473
#4  0x00007ffff4f3feb6 in SoType::createType(SoType, SbName, void* (*)(), unsigned short) (parent=..., name=..., method=method at entry=0x7ffff4e506d0 <SoGLCacheContextElement::createInstance()>, data=data at entry=0)
    at SoType.cpp:305
#5  0x00007ffff4e5077b in SoGLCacheContextElement::initClass() () at SoGLCacheContextElement.cpp:168
#6  0x00007ffff4e2ef1f in SoElement::initElements() () at SoElement.cpp:459
#7  0x00007ffff4e2f03f in SoElement::initClass() () at SoElement.cpp:516
#8  0x00007ffff4f2728e in SoDB::init() () at SoDB.cpp:305
#9  0x00007ffff741ea18 in Gui::Application::runApplication() () at ./src/Gui/Application.cpp:1661
#10 0x00005555555573e1 in main(int, char**) (argc=<optimized out>, argv=0x7fffffffe2b8)
    at ./src/Main/MainGui.cpp:235

tobi at edoras:~$ dpkg -l libcoin80v5
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                               Version                        Architektur                    Beschreibung
+++-==================================================-==============================-==============================-==========================================================================================================
ii  libcoin80v5                                        3.1.4~abc9f50+dfsg3-1          amd64                          high-level 3D graphics kit implementing the Open Inventor API



-- System Information:

Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


More information about the debian-science-maintainers mailing list