View Issue Details

IDProjectCategoryView StatusLast Update
0001340FreeCADBugpublic2014-01-11 12:44
Reporterandri_ch Assigned Towmayer  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version13.10
Summary0001340: Freecad crashes when creating a new document or opening a document
DescriptionFreecad opens up normally, but when you want a new empty document, or open a document after you chose the file from the file dialog, it crashes.
Steps To ReproduceCreate a new empty document.
Additional InformationFreeCAD 0.14, Libs: 0.14R2913 (Git)

$ uname -a
3.5.0-27-generic 0000046-Ubuntu SMP Mon Mar 25 20:00:05 UTC 2013 i686 i686 i686 GNU/Linux


I started it at the cmd line with
$ freecad -l
Coin error in SoGroup::insertChild(): idx -1254965260 is out of bounds (groupnode # children == 0)
freecad: SoGroup.cpp:281: virtual SoNode* SoGroup::getChild(int) const: Assertion `(index >= 0) && (index < this->getNumChildren())' failed.
Aborted (core dumped)
TagsNo tags attached.
FreeCAD Information

Activities

andri_ch

2013-12-28 15:41

reporter  

FreeCAD.log (Attachment missing)

wmayer

2013-12-29 09:06

administrator   ~0003985

Did you build FreeCAD yourself? Can you check which version of Coin3d FreeCAD depends on and which version of Coin3d the SoQt library depends on?
And can you start FreeCAD in the debugger?

andri_ch

2013-12-29 17:07

reporter  

my_issue_rev_2914.log (Attachment missing)

andri_ch

2013-12-29 17:12

reporter   ~0003989

Last edited: 2013-12-29 17:13

No, I did not build FreeCAD myself.
I updated freecad today to git revision 2914, but the issue persists.

Using ldd, I've found that Freecad depends on libcoin60, Version: 3.1.3-2.2
and SoQt depends on libcoin80, Version 3.1.4~abc9f50-3.

I started Freecad in gdb debugger, and I've attached the backtrace file: my_issue_rev_2914.log

wmayer

2013-12-30 13:11

administrator   ~0003991

> Using ldd, I've found that Freecad depends on libcoin60, Version: 3.1.3-2.2
 and SoQt depends on libcoin80, Version 3.1.4~abc9f50-3.

And that's exactly the problem. So, you have to make sure that FreeCAD also links libcoin80 only. It's best to uninstall libcoin60 and its dev files and install the dev files of libcoin80.

andri_ch

2014-01-05 22:50

reporter   ~0004026

Last edited: 2014-01-05 23:44

When I purged libcoin60 using apt package manager, it also uninstalled freecad, which I thought is alright because I can install it later on.

Now I can't install freecad, because I have freecad 0.14+git201401042220~ubuntu13.04.1 on my 'aptitude show freecad', which does require libcoin60, not libcoin80.

And libcoin60, after an ubuntu update, dissappeared from my sources list, now I have only libcoin80.

Although I have this repository in my apt sources.list:
http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu raring main
which means I get the latest freecad version, but it still requires libcoin60.

wmayer

2014-01-06 13:16

administrator   ~0004027

Look here:
http://packages.ubuntu.com/search?keywords=libcoin&searchon=names&suite=raring&section=all
Ubuntu 13.04 doesn't have libcoin80 but only libcoin60

And http://packages.ubuntu.com/raring/libsoqt4-20
libSoQt has a correct dependency to libcoin60

And http://bazaar.launchpad.net/~freecad-maintainers/freecad/packaging.raring/view/head:/debian/control
The .deb package requests the correct versions of Coin and SoQt.

First, I thought that FreeCAD might be the problem but it appeared that your local SoQt version is the culprit. For any reason you have one that links the wrong Coin version.

danilius

2014-01-07 20:46

reporter   ~0004031

FWIW, I have exactly the same problem on Ubuntu 13.10.

andri_ch

2014-01-08 16:54

reporter   ~0004032

Last edited: 2014-01-08 16:55

I installed freecad 0.13.1830-dfsg-3, which is the stable release and works well, it uses only libcoin80.

So, I dumped freecad 0.14+git201401042220~ubuntu13.04.1 which worked on my Ubuntu 13.04 but is not appropriate for my Ubuntu 13.10 because it requires libcoin60, which I don't have in my sources list.

After all, freecad problems started after I upgraded Ubuntu from 13.04 to 13.10, because I had 2 freecad sources:
ppa.launchpad.net_freecad-maintainers_freecad-daily_ubuntu_dists_raring_main_bi
nary-i386_Packages
which was fine for ubuntu 13.04 - that's the freecad version I used, and
ro.archive.ubuntu.com_ubuntu_dists_saucy_universe_binary-i386_Packages
which offers the stable freecad 0.13.1830-dfsg-3 which I'm now using.

danilius

2014-01-09 10:50

reporter   ~0004034

I got Freecad going on Ubuntu 13.10 by purging libcoin60 and installing libcoin80 using Synaptic.

wmayer

2014-01-11 12:27

administrator   ~0004043

> So, I dumped freecad 0.14+git201401042220~ubuntu13.04.1 which worked on my Ubuntu 13.04 but is not appropriate for my Ubuntu 13.10 because it requires libcoin60, which I don't have in my sources list.

Using the PPA of an older Ubuntu version doesn't work because you get a dependency mess there.
Does it work to use the FreeCAD PPA for Saucy?

> I got Freecad going on Ubuntu 13.10 by purging libcoin60 and installing libcoin80 using Synaptic.

Since you both have FreeCAD working again can this ticket be closed?

andri_ch

2014-01-11 12:43

reporter   ~0004046

Yes, it can be closed.

Issue History

Date Modified Username Field Change
2013-12-28 15:41 andri_ch New Issue
2013-12-28 15:41 andri_ch File Added: FreeCAD.log
2013-12-29 09:06 wmayer Note Added: 0003985
2013-12-29 17:07 andri_ch File Added: my_issue_rev_2914.log
2013-12-29 17:12 andri_ch Note Added: 0003989
2013-12-29 17:13 andri_ch Note Edited: 0003989
2013-12-30 13:11 wmayer Note Added: 0003991
2014-01-05 22:50 andri_ch Note Added: 0004026
2014-01-05 23:44 andri_ch Note Edited: 0004026
2014-01-06 13:16 wmayer Note Added: 0004027
2014-01-07 20:46 danilius Note Added: 0004031
2014-01-08 16:54 andri_ch Note Added: 0004032
2014-01-08 16:55 andri_ch Note Edited: 0004032
2014-01-09 10:50 danilius Note Added: 0004034
2014-01-11 12:27 wmayer Note Added: 0004043
2014-01-11 12:43 andri_ch Note Added: 0004046
2014-01-11 12:44 wmayer Status new => closed
2014-01-11 12:44 wmayer Assigned To => wmayer
2014-01-11 12:44 wmayer Resolution open => no change required