View Issue Details

IDProjectCategoryView StatusLast Update
0003437FreeCADBugpublic2018-04-23 16:23
Reporterfederico.carminati@gmail.comAssigned Toyorik 
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformMac OS XOSHigh SierraOS Version10.13.4 (17E199)
Product Version0.18 
Target VersionFixed 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 #2: 0x0000000128844d7a Robot.so`Robot::PropertyTrajectory::Restore(Base::XMLReader&) + 42
    frame #3: 0x0000000100cfe845 libFreeCADApp.dylib`App::PropertyContainer::Restore(Base::XMLReader&) + 565
    frame #4: 0x0000000100c5411b libFreeCADApp.dylib`App::Document::readObjects(Base::XMLReader&) + 1307
    frame #5: 0x0000000100c531fc libFreeCADApp.dylib`App::Document::Restore(Base::XMLReader&) + 1212
    frame #6: 0x0000000100c56db9 libFreeCADApp.dylib`App::Document::restore() + 585
    frame #7: 0x0000000100d4a603 libFreeCADApp.dylib`App::Application::openDocument(char const*) + 627
    frame #8: 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 #9: 0x00000001003a0308 libFreeCADGui.dylib`Gui::MainWindow::delayedStartup() + 408
    frame #10: 0x0000000102f1ba31 QtCore`QObject::event(QEvent*) + 769
    frame #11: 0x000000010229bde6 QtWidgets`QWidget::event(QEvent*) + 4982
    frame #12: 0x00000001023b7285 QtWidgets`QMainWindow::event(QEvent*) + 277
    frame #13: 0x000000010039c4bb libFreeCADGui.dylib`Gui::MainWindow::event(QEvent*) + 1227
    frame #14: 0x000000010225fffd QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 269
    frame #15: 0x000000010226139a QtWidgets`QApplication::notify(QObject*, QEvent*) + 362
    frame #16: 0x000000010010734b libFreeCADGui.dylib`Gui::GUIApplication::notify(QObject*, QEvent*) + 75
    frame #17: 0x0000000102ef2798 QtCore`QCoreApplication::notifyInternal2(QObject*, QEvent*) + 168
    frame #18: 0x0000000102ef3938 QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 840
    frame #19: 0x0000000109650227 libqcocoa.dylib`___lldb_unnamed_symbol562$$libqcocoa.dylib + 183
    frame #20: 0x0000000109650af1 libqcocoa.dylib`___lldb_unnamed_symbol574$$libqcocoa.dylib + 33
    frame #21: 0x00007fff33f16a61 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #22: 0x00007fff33fd047c CoreFoundation`__CFRunLoopDoSource0 + 108
    frame #23: 0x00007fff33ef94c0 CoreFoundation`__CFRunLoopDoSources0 + 208
    frame #24: 0x00007fff33ef893d CoreFoundation`__CFRunLoopRun + 1293
    frame #25: 0x00007fff33ef81a3 CoreFoundation`CFRunLoopRunSpecific + 483
    frame #26: 0x00007fff331e0d96 HIToolbox`RunCurrentEventLoopInMode + 286
    frame #27: 0x00007fff331e0a0f HIToolbox`ReceiveNextEventCommon + 366
    frame #28: 0x00007fff331e0884 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #29: 0x00007fff31493a73 AppKit`_DPSNextEvent + 2085
    frame #30: 0x00007fff31c29e34 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044
    frame #31: 0x00007fff31488885 AppKit`-[NSApplication run] + 764
    frame #32: 0x000000010964f8dd libqcocoa.dylib`___lldb_unnamed_symbol555$$libqcocoa.dylib + 2381
    frame #33: 0x0000000102eee2be QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 398
    frame #34: 0x0000000102ef2e91 QtCore`QCoreApplication::exec() + 369
    frame #35: 0x00000001000c3ec9 libFreeCADGui.dylib`Gui::Application::runApplication() + 7929
    frame #36: 0x0000000100009dd3 FreeCAD`main + 5635
    frame #37: 0x00007fff5c212015 libdyld.dylib`start + 1
    frame #38: 0x00007fff5c212015 libdyld.dylib`start + 1
Steps To ReproduceJust try opening the above file.
Additional InformationI am using today's master
TagsNo tags attached.

Activities

Kunda1

2018-04-20 21:19

manager   ~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: [b]Help > About FreeCAD > Copy to clipboard[/b]

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