SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/home/freecadweb/public_html/tracker/core.php' line 274

0002540: Crash on startup - FreeCAD Tracker
FreeCAD Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002540FreeCADBugpublic2016-05-06 12:242017-01-13 22:07
Reporterdema 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusfeedbackResolutionopen 
PlatformOSLinuxOS VersionGentoo
Product Version 
Target VersionFixed in Version 
Summary0002540: Crash on startup
DescriptionLatest version from git "FreeCAD 0.17, Libs: 0.17R7475 (Git)"
crashes on startup. Under gdb it shows blank splash screen and crashes.
gdb's "bt full" dump is in the attachment
Steps To ReproduceJust launch it.
Additional InformationI have following relevant packages installed:

dev-qt/qtgui-4.8.7
dev-qt/qtopengl-4.8.7
dev-qt/qtcore-4.8.7-r2
TagsNo tags attached.
Attached Fileslog file icon freecad_gdb.log [^] (27,636 bytes) 2016-05-06 12:24

- Relationships

-  Notes
(0007063)
wmayer (administrator)
2016-05-06 16:02

To me it looks like a problem with Qt because there is a long cascade of Qt function calls. Did it work with older FreeCAD versions but using the exact same Qt version? When starting it from the console are there any output messages that are not FreeCAD-related?
(0007084)
dema (reporter)
2016-05-12 06:44

Yep, this is what I'm getting in the debugger:

(gdb) run
Starting program: /home/dema/tmp/freecad-build/bin/FreeCAD
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
FreeCAD 0.17, Libs: 0.17R7518 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

using visual class 4, id b1
Attach observer 0xaea7c0
Attach observer 0xafa110
Attach observer 0x1f504b0
Attach observer 0x1fbeb88
Attach observer 0x1fd35b8
Attach observer 0x1fd35b8
Attach observer 0x1fdd210
hijackWindow() context created for Gui::SplashScreen(0x25e5b50) 1

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1980808 in QWidgetPrivate::drawWidget (this=0x260b5b0, pdev=0x0, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=0x25ed950)
    at /var/tmp/portage/dev-qt/qtgui-4.8.7/work/qt-everywhere-opensource-src-4.8.7/src/gui/kernel/qwidget.cpp:5555
5555 QPaintEngine *paintEngine = pdev->paintEngine();
(gdb) p pdev
$1 = (QPaintDevice *) 0x0
(gdb) up
#1 0x00007ffff1b506e2 in QWidgetBackingStore::sync (this=0x25ed950) at /var/tmp/portage/dev-qt/qtgui-4.8.7/work/qt-everywhere-opensource-src-4.8.7/src/gui/painting/qbackingstore.cpp:1373
1373 tlw->d_func()->drawWidget(windowSurface->paintDevice(), dirtyCopy, tlwOffset, flags, 0, this);
(gdb) p windowSurface
$2 = (QWindowSurface *) 0x20782e0
(gdb) p windowSurface->paintDevice()
warning: RTTI symbol not found for class 'QGLWindowSurface'
warning: RTTI symbol not found for class 'QGLWindowSurface'
warning: RTTI symbol not found for class 'QGLWindowSurface'
$3 = (QPaintDevice *) 0x0
(gdb)

Looks like some error in qtgl code.
(0007583)
Kunda1 (manager)
2017-01-09 19:16

@dema is this still reproducible for you with Qt5 ?
(0007661)
dema (reporter)
2017-01-12 06:30

I'm sorry, I'm unable to compile latest FreeCAD due to missing libmed library on Gentoo.
(0007662)
wmayer (administrator)
2017-01-12 08:46

You can disable the FEM and MeshPart modules in order to avoid building the smesh library.
(0007735)
Kunda1 (manager)
2017-01-13 22:07

dema, do you know how to do that ?

- Issue History
Date Modified Username Field Change
2016-05-06 12:24 dema New Issue
2016-05-06 12:24 dema File Added: freecad_gdb.log
2016-05-06 16:02 wmayer Note Added: 0007063
2016-05-12 06:44 dema Note Added: 0007084
2017-01-09 19:16 Kunda1 Note Added: 0007583
2017-01-11 18:43 Kunda1 Status new => feedback
2017-01-12 06:30 dema Note Added: 0007661
2017-01-12 06:30 dema Status feedback => new
2017-01-12 08:46 wmayer Note Added: 0007662
2017-01-12 15:48 Kunda1 Status new => feedback
2017-01-13 22:07 Kunda1 Note Added: 0007735


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker