View Issue Details

IDProjectCategoryView StatusLast Update
0000969FreeCADBugpublic2013-07-09 13:02
Reporterwwojciechowski Assigned Towmayer  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Summary0000969: FreeCad crash after Edit -> Alignment...
DescriptionI receive Segfault every time I try to aling even simplest parts.

Segfault happened at vbo_save_playback_vertex_list () from /usr/lib/i386-linux-gnu/libdricore9.1.0.so.1

OS: Ubuntu 12.10
Platform: 32-bit
Version: 0.13.1827 (Git)
Branch: master
Hash: 372b4542ee4588328c31819a337a656eb276d596
Python version: 2.7.3
Qt version: 4.8.3
Coin version: 3.1.3
SoQt version: 1.5.0
Additional InformationIt is replicable also for Ubuntu 12.10 x86_64

I include FreeCAD.crash core file as well as sample "ukladanie-test.fcstd".
TagsNo tags attached.
FreeCAD Information

Activities

2013-01-31 17:28

 

FreeCAD.crash (Attachment missing)

2013-01-31 17:30

 

ukladanie-test.fcstd (Attachment missing)

wmayer

2013-02-02 09:13

administrator   ~0002875

According to the backtrace this is clearly an issue with the graphic driver. Just search for vbo_save_playback_vertex_list & crash in the web and you'll find many other bug reports for other applications.

Since this function is used by Coin3d for display lists for caching OpenGL calls it might work to switch off caching globally. Therefore set the environment variable IV_SEPARATOR_MAX_CACHES=0 and restart FreeCAD.

peterinker

2013-02-03 20:15

reporter   ~0002878

Last edited: 2013-02-03 20:15

I can reproduce the crash. Steps to reproduce:

open ukladanie-test.fcstd
select both elements frez and oska
click edit->align

I have a Intel graphics hd 4000 and a nearly stock kernel on 64Bit:

uname -a
Linux pandora 3.7.5-1-ARCH #1 SMP PREEMPT Mon Jan 28 10:03:32 CET 2013 x86_64 GNU/Linux

I'm using xf86-video-intel 2.20.19-1 graphics driver

FreeCad Version: FreeCAD 0.13, Libs: 0.13R1827 (Git)

Stacktrace in FreeCad2.crash

2013-02-03 20:16

 

FreeCAD2.crash (Attachment missing)

wwojciechowski

2013-02-04 13:52

reporter   ~0002880

Last edited: 2013-02-04 13:53

@wmayer Thank you. Setting Coin3D environment variable worked for me:

$ Exec=env IV_SEPARATOR_MAX_CACHES=0 freecad &

There is also possible to disable display list caching globaly by setting variable by edit /etc/environment

peterinker

2013-02-04 21:33

reporter   ~0002882

Ups. Yes,

$ export IV_SEPARATOR_MAX_CACHES=0 ; freecad

made it work for me, too. Is it a graphic driver problem, or OpenGL problem, or a Coin3d problem, and could it be fixed within FreeCAD (besides setting the environment variable)?

wmayer

2013-07-01 10:08

administrator   ~0003313

We should create a troubleshoot page in the wiki and add this one.

wmayer

2013-07-09 13:02

administrator   ~0003367

Added to http://www.freecadweb.org/wiki/index.php?title=FAQ#FreeCAD_crashes_after_Edit_-.3E_Alignment

Issue History

Date Modified Username Field Change
2013-01-31 17:28 wwojciechowski New Issue
2013-01-31 17:28 wwojciechowski File Added: FreeCAD.crash
2013-01-31 17:30 wwojciechowski File Added: ukladanie-test.fcstd
2013-02-02 09:13 wmayer Note Added: 0002875
2013-02-03 20:15 peterinker Note Added: 0002878
2013-02-03 20:15 peterinker Note Edited: 0002878
2013-02-03 20:16 peterinker File Added: FreeCAD2.crash
2013-02-04 13:52 wwojciechowski Note Added: 0002880
2013-02-04 13:53 wwojciechowski Note Edited: 0002880
2013-02-04 21:33 peterinker Note Added: 0002882
2013-07-01 10:08 wmayer Note Added: 0003313
2013-07-09 13:01 wmayer Status new => assigned
2013-07-09 13:01 wmayer Assigned To => wmayer
2013-07-09 13:02 wmayer Note Added: 0003367
2013-07-09 13:02 wmayer Status assigned => closed
2013-07-09 13:02 wmayer Resolution open => no change required