View Issue Details

IDProjectCategoryView StatusLast Update
0003437FreeCADBugpublic2018-04-23 16:23
Reporterfederico.carminati@gmail.com Assigned Toyorik  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformMac OS XOSHigh SierraOS Version10.13.4 (17E199)
Product Version0.18 
Fixed in Version0.18 
Summary0003437: Crash opening /Applications/FreeCAD.app/Contents/data/examples/RobotExample.FCStd
DescriptionCrash when opening RobotExample.FCStd


[...r/local/FreeCAD/build] lldb /Applications/FreeCAD.app/Contents/MacOS/FreeCAD
(lldb) target create "/Applications/FreeCAD.app/Contents/MacOS/FreeCAD"
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/copy.py", line 52, in <module>
    import weakref
  File "/usr/local/Cellar/python@2/2.7.14_3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/weakref.py", line 14, in <module>
    from _weakref import (
ImportError: cannot import name _remove_dead_weakref
r Current executable set to '/Applications/FreeCAD.app/Contents/MacOS/FreeCAD' (x86_64).
(lldb) r /Applications/FreeCAD.app/Contents/data/examples/RobotExample.FCStd
Process 10382 launched: '/Applications/FreeCAD.app/Contents/MacOS/FreeCAD' (x86_64)
FreeCAD 0.18, Libs: 0.18R13556 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2018
  ##### #### ### ####
  # # # # # #
  # ## #### #### # # # # #
  #### # # # # # # # ##### # #
  # # #### #### # # # # #
  # # # # # # # # # ## ## ##
  # # #### #### ### # # #### ## ## ##

Process 10382 stopped

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x7fff94137058)
    frame #0: 0x00007fff94137058 libc++abi.dylib`vtable for __cxxabiv1::__si_class_type_info + 16
libc++abi.dylib`vtable for __cxxabiv1::__si_class_type_info:
-> 0x7fff94137058 <+16>: popq %rsi
    0x7fff94137059 <+17>: cli
    0x7fff9413705a <+18>: sbbl $0x7fff5a, %eax ; imm = 0x7FFF5A
    0x7fff9413705f <+23>: addb %ah, 0x1d(%rdx,%rdi,8)
Target 0: (FreeCAD) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x7fff94137058)
  * frame #0: 0x00007fff94137058 libc++abi.dylib`vtable for __cxxabiv1::__si_class_type_info + 16
    frame #1: 0x000000012884987e Robot.so`Robot::Trajectory::generateTrajectory() + 1342
    frame 0000002: 0x0000000128844d7a Robot.so`Robot::PropertyTrajectory::Restore(Base::XMLReader&) + 42
    frame 0000003: 0x0000000100cfe845 libFreeCADApp.dylib`App::PropertyContainer::Restore(Base::XMLReader&) + 565
    frame 0000004: 0x0000000100c5411b libFreeCADApp.dylib`App::Document::readObjects(Base::XMLReader&) + 1307
    frame 0000005: 0x0000000100c531fc libFreeCADApp.dylib`App::Document::Restore(Base::XMLReader&) + 1212
    frame 0000006: 0x0000000100c56db9 libFreeCADApp.dylib`App::Document::restore() + 585
    frame 0000007: 0x0000000100d4a603 libFreeCADApp.dylib`App::Application::openDocument(char const*) + 627
    frame 0000008: 0x0000000100d5f904 libFreeCADApp.dylib`App::Application::processFiles(std::__1::list<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) + 292
    frame 0000009: 0x00000001003a0308 libFreeCADGui.dylib`Gui::MainWindow::delayedStartup() + 408
    frame 0000010: 0x0000000102f1ba31 QtCore`QObject::event(QEvent*) + 769
    frame 0000011: 0x000000010229bde6 QtWidgets`QWidget::event(QEvent*) + 4982
    frame 0000012: 0x00000001023b7285 QtWidgets`QMainWindow::event(QEvent*) + 277
    frame 0000013: 0x000000010039c4bb libFreeCADGui.dylib`Gui::MainWindow::event(QEvent*) + 1227
    frame 0000014: 0x000000010225fffd QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
    frame 0000015: 0x000000010226139a QtWidgets`QApplication::notify(QObject*, QEvent*) + 362
    frame 0000016: 0x000000010010734b libFreeCADGui.dylib`Gui::GUIApplication::notify(QObject*, QEvent*) + 75
    frame 0000017: 0x0000000102ef2798 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 168
    frame 0000018: 0x0000000102ef3938 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 840
    frame 0000019: 0x0000000109650227 libqcocoa.dylib`___lldb_unnamed_symbol562$$libqcocoa.dylib + 183
    frame 0000020: 0x0000000109650af1 libqcocoa.dylib`___lldb_unnamed_symbol574$$libqcocoa.dylib + 33
    frame 0000021: 0x00007fff33f16a61 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame 0000022: 0x00007fff33fd047c CoreFoundation`__CFRunLoopDoSource0 + 108
    frame 0000023: 0x00007fff33ef94c0 CoreFoundation`__CFRunLoopDoSources0 + 208
    frame 0000024: 0x00007fff33ef893d CoreFoundation`__CFRunLoopRun + 1293
    frame 0000025: 0x00007fff33ef81a3 CoreFoundation`CFRunLoopRunSpecific + 483
    frame 0000026: 0x00007fff331e0d96 HIToolbox`RunCurrentEventLoopInMode + 286
    frame 0000027: 0x00007fff331e0a0f HIToolbox`ReceiveNextEventCommon + 366
    frame 0000028: 0x00007fff331e0884 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame 0000029: 0x00007fff31493a73 AppKit`_DPSNextEvent + 2085
    frame 0000030: 0x00007fff31c29e34 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    frame 0000031: 0x00007fff31488885 AppKit`-[NSApplication run] + 764
    frame 0000032: 0x000000010964f8dd libqcocoa.dylib`___lldb_unnamed_symbol555$$libqcocoa.dylib + 2381
    frame 0000033: 0x0000000102eee2be QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
    frame 0000034: 0x0000000102ef2e91 QtCore`QCoreApplication::exec() + 369
    frame 0000035: 0x00000001000c3ec9 libFreeCADGui.dylib`Gui::Application::runApplication() + 7929
    frame 0000036: 0x0000000100009dd3 FreeCAD`main + 5635
    frame 0000037: 0x00007fff5c212015 libdyld.dylib`start + 1
    frame 0000038: 0x00007fff5c212015 libdyld.dylib`start + 1
Steps To ReproduceJust try opening the above file.
Additional InformationI am using today's master
TagsNo tags attached.
FreeCAD Information

Activities

Kunda1

2018-04-20 21:19

administrator   ~0011171

Please open a forum thread about this in the Help section of the forum and link this ticket to it + vice versa. Also always post: Help > About FreeCAD > Copy to clipboard

federico.carminati@gmail.com

2018-04-20 22:32

reporter   ~0011173

I have opened a thread in the help section of the forum

https://forum.freecadweb.org/viewtopic.php?f=3&t=28259

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13557 (Git)
Build type: Release
Branch: master
Hash: 52443a1b1bac1cf5cfbde936cb5f8d6e10177025
Python version: 2.7.14
Qt version: 5.10.1
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)

yorik

2018-04-23 16:23

administrator   ~0011182

fixed with commit 786054fd2

Issue History

Date Modified Username Field Change
2018-04-20 15:42 federico.carminati@gmail.com New Issue
2018-04-20 21:19 Kunda1 Status new => feedback
2018-04-20 21:19 Kunda1 Note Added: 0011171
2018-04-20 22:32 federico.carminati@gmail.com Note Added: 0011173
2018-04-20 22:32 federico.carminati@gmail.com Status feedback => new
2018-04-23 16:23 yorik Assigned To => yorik
2018-04-23 16:23 yorik Status new => closed
2018-04-23 16:23 yorik Resolution open => fixed
2018-04-23 16:23 yorik Fixed in Version => 0.18
2018-04-23 16:23 yorik Note Added: 0011182