Freecad crash after pushing new document button
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Freecad crash after pushing new document button
And you're totally sure that there are no Coin3d binaries of the 3.x series on your system?
I ask this because the line 825 of SoFieldContainer.cpp where it crashes is apparently part of the Coin3d 3.x version. If it were version 2.5 the line number should be 803 or so.
BTW, what does ldd freecad say?
I ask this because the line 825 of SoFieldContainer.cpp where it crashes is apparently part of the Coin3d 3.x version. If it were version 2.5 the line number should be 803 or so.
BTW, what does ldd freecad say?
Re: Freecad crash after pushing new document button
Freecad version is 0.7 - 2087
libcoin40c2 - 2.5.0-2
libcoin40c2 - 2.5.0-2
Re: Freecad crash after pushing new document button
OK and what is the output of "ldd freecad"? This should give us a hint of the .so files FreeCAD loads when getting started.
Re: Freecad crash after pushing new document button
So I typed this in terminal, right?
ldd freecad
ldd: ./freecad: No such file or directory
I do have a folder in my home directory .FreeCAD
ldd freecad
ldd: ./freecad: No such file or directory
I do have a folder in my home directory .FreeCAD
Re: Freecad crash after pushing new document button
Oh sorry, this is probably the package from Yorik. I'm not quite sure where this package installs the files into. If I am correct then it's /opt. Have a look there and search for the FreeCAD executable. The spelling can be FreeCAD or freecad.
Then simply run ldd with_the_absolute_path_to_the_executbale
Then simply run ldd with_the_absolute_path_to_the_executbale
Re: Freecad crash after pushing new document button
I hope this make any sense to you
linux-vdso.so.1 => (0x00007fffe5bff000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007fc9dd58a000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007fc9dc94c000)
libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0x00007fc9dc420000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00007fc9dc0fc000)
libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x00007fc9dbe6a000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00007fc9dbc11000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00007fc9db9c9000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fc9db6c2000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fc9db4b0000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007fc9db297000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007fc9db031000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fc9dae26000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc9dac0a000)
libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0x00007fc9da894000)
libFreeCADBase.so.2 => /opt/FreeCAD/lib/libFreeCADBase.so.2 (0x00007fc9da4e5000)
libFreeCADApp.so.2 => /opt/FreeCAD/lib/libFreeCADApp.so.2 (0x00007fc9da0ee000)
libFreeCADGui.so.2 => /opt/FreeCAD/lib/libFreeCADGui.so.2 (0x00007fc9d981e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc9d9511000)
libm.so.6 => /lib/libm.so.6 (0x00007fc9d928c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fc9d9074000)
libc.so.6 => /lib/libc.so.6 (0x00007fc9d8d02000)
libz.so.1 => /lib/libz.so.1 (0x00007fc9d8aea000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fc9d88e5000)
librt.so.1 => /lib/librt.so.1 (0x00007fc9d86dd000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fc9d8418000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fc9d8214000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00007fc9d7ffb000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fc9d7dd4000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fc9d7b4e000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fc9d7908000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fc9d76ff000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fc9d74e4000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fc9d72da000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fc9d70a8000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00007fc9d6e68000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fc9d6c76000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fc9d6a5a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fc9d6857000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc9dd9d7000)
libutil.so.1 => /lib/libutil.so.1 (0x00007fc9d6654000)
libboost_filesystem.so.1.35.0 => /usr/lib/libboost_filesystem.so.1.35.0 (0x00007fc9d6445000)
libboost_system.so.1.35.0 => /usr/lib/libboost_system.so.1.35.0 (0x00007fc9d6241000)
libxerces-c.so.28 => /usr/lib/libxerces-c.so.28 (0x00007fc9d5c69000)
libboost_program_options.so.1.35.0 => /usr/lib/libboost_program_options.so.1.35.0 (0x00007fc9d5a32000)
libboost_signals.so.1.35.0 => /usr/lib/libboost_signals.so.1.35.0 (0x00007fc9d581f000)
libSoQt4.so.20 => /usr/lib/libSoQt4.so.20 (0x00007fc9d5558000)
libCoin.so.60 => /usr/lib/libCoin.so.60 (0x00007fc9d4ae2000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007fc9d48b2000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007fc9d46ad000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fc9d4483000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007fc9d3199000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007fc9ddabc000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fc9d2f94000)
libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0x00007fc9d2c52000)
libicudata.so.38 => /usr/lib/libicudata.so.38 (0x00007fc9d1f7c000)
libCoin.so.40 => /usr/lib/libCoin.so.40 (0x00007fc9d163d000)
linux-vdso.so.1 => (0x00007fffe5bff000)
libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007fc9dd58a000)
libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007fc9dc94c000)
libQt3Support.so.4 => /usr/lib/libQt3Support.so.4 (0x00007fc9dc420000)
libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0x00007fc9dc0fc000)
libQtOpenGL.so.4 => /usr/lib/libQtOpenGL.so.4 (0x00007fc9dbe6a000)
libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00007fc9dbc11000)
libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0x00007fc9db9c9000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fc9db6c2000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fc9db4b0000)
libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007fc9db297000)
libXt.so.6 => /usr/lib/libXt.so.6 (0x00007fc9db031000)
libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fc9dae26000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fc9dac0a000)
libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0x00007fc9da894000)
libFreeCADBase.so.2 => /opt/FreeCAD/lib/libFreeCADBase.so.2 (0x00007fc9da4e5000)
libFreeCADApp.so.2 => /opt/FreeCAD/lib/libFreeCADApp.so.2 (0x00007fc9da0ee000)
libFreeCADGui.so.2 => /opt/FreeCAD/lib/libFreeCADGui.so.2 (0x00007fc9d981e000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fc9d9511000)
libm.so.6 => /lib/libm.so.6 (0x00007fc9d928c000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fc9d9074000)
libc.so.6 => /lib/libc.so.6 (0x00007fc9d8d02000)
libz.so.1 => /lib/libz.so.1 (0x00007fc9d8aea000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fc9d88e5000)
librt.so.1 => /lib/librt.so.1 (0x00007fc9d86dd000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fc9d8418000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fc9d8214000)
libaudio.so.2 => /usr/lib/libaudio.so.2 (0x00007fc9d7ffb000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00007fc9d7dd4000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fc9d7b4e000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fc9d7908000)
libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fc9d76ff000)
libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fc9d74e4000)
libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fc9d72da000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fc9d70a8000)
libQtSql.so.4 => /usr/lib/libQtSql.so.4 (0x00007fc9d6e68000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00007fc9d6c76000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fc9d6a5a000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fc9d6857000)
/lib64/ld-linux-x86-64.so.2 (0x00007fc9dd9d7000)
libutil.so.1 => /lib/libutil.so.1 (0x00007fc9d6654000)
libboost_filesystem.so.1.35.0 => /usr/lib/libboost_filesystem.so.1.35.0 (0x00007fc9d6445000)
libboost_system.so.1.35.0 => /usr/lib/libboost_system.so.1.35.0 (0x00007fc9d6241000)
libxerces-c.so.28 => /usr/lib/libxerces-c.so.28 (0x00007fc9d5c69000)
libboost_program_options.so.1.35.0 => /usr/lib/libboost_program_options.so.1.35.0 (0x00007fc9d5a32000)
libboost_signals.so.1.35.0 => /usr/lib/libboost_signals.so.1.35.0 (0x00007fc9d581f000)
libSoQt4.so.20 => /usr/lib/libSoQt4.so.20 (0x00007fc9d5558000)
libCoin.so.60 => /usr/lib/libCoin.so.60 (0x00007fc9d4ae2000)
libpcre.so.3 => /lib/libpcre.so.3 (0x00007fc9d48b2000)
libuuid.so.1 => /lib/libuuid.so.1 (0x00007fc9d46ad000)
libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fc9d4483000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x00007fc9d3199000)
libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x00007fc9ddabc000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fc9d2f94000)
libicuuc.so.38 => /usr/lib/libicuuc.so.38 (0x00007fc9d2c52000)
libicudata.so.38 => /usr/lib/libicudata.so.38 (0x00007fc9d1f7c000)
libCoin.so.40 => /usr/lib/libCoin.so.40 (0x00007fc9d163d000)
Re: Freecad crash after pushing new document button
Yes, it does!
Look here:
It's now up to Yorik to tell us what Coin version FreeCAD was built to link with -- either Coin 2.5 or Coin 3.0.
Look here:
Here we have a mixup of libCoin.so.40 aka Coin 2.5 and libCoin.so.60 aka Coin 3.0. This is definitely wrong. Now it's the question why FreeCAD loads two different Coin's.libCoin.so.60 => /usr/lib/libCoin.so.60 (0x00007fc9d4ae2000)
libCoin.so.40 => /usr/lib/libCoin.so.40 (0x00007fc9d163d000)
It's now up to Yorik to tell us what Coin version FreeCAD was built to link with -- either Coin 2.5 or Coin 3.0.
Re: Freecad crash after pushing new document button
Okay, I made a new package now:
http://yorik.orgfree.com/archive/packag ... _amd64.deb
Hopefully I got rid of remaining coin2/coin3 problems (Weird? I still don't understand how that happened.)
I think everything should run fine now...
Cheers
Yorik
http://yorik.orgfree.com/archive/packag ... _amd64.deb
Hopefully I got rid of remaining coin2/coin3 problems (Weird? I still don't understand how that happened.)
I think everything should run fine now...
Cheers
Yorik
Re: Freecad crash after pushing new document button
Hi Yorik,
it's proved that there was a conflict with different used Coin versions but it's not proved that it is a bug in your package. I guess, this can happen if the SoQt lib on the system links to Coin3.0 but FreeCAD was built with Coin2.5. Because FreeCAD also links SoQt we have the dependency conflict with two Coins.
IMO, it's more probable that on the target system is something wrong because there was the same crash with my 32-bit package. BTW, basically a 32-bit package also works on a 64-bit system.
Cheers,
Werner
it's proved that there was a conflict with different used Coin versions but it's not proved that it is a bug in your package. I guess, this can happen if the SoQt lib on the system links to Coin3.0 but FreeCAD was built with Coin2.5. Because FreeCAD also links SoQt we have the dependency conflict with two Coins.
IMO, it's more probable that on the target system is something wrong because there was the same crash with my 32-bit package. BTW, basically a 32-bit package also works on a 64-bit system.
Cheers,
Werner
Re: Freecad crash after pushing new document button
Now that you say it, I think I remember that soqt was still depending on coin2 some time ago, (btw its strange, coin2 package is called coin40 and coin3 package is called coin60 on debian/ubuntu)... I forgot to see how it went, but now I don't have coin40 anymore and soqt is still there, so probably they solved it there. tiagojanz, if you read this, can you try this new package? With a bit of luck your problems will be solved...