Can't load custom SVG image files
Hi,
I have been trying to create customs parts with v0.3.0b and Illustrator CS3 on Mac OS X 10.5.7. But I can't load even simple images as follows. I might miss important points. Could you please let me know if you have any errors in my image file?
<?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 13.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 14948) -->
Process: Fritzing [7961] Path: /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/MacOS/Fritzing Identifier: org.fritzing.Fritzing Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [152]
Interval Since Last Report: 441539 sec Crashes Since Last Report: 48 Per-App Interval Since Last Report: 2640 sec Per-App Crashes Since Last Report: 4
Date/Time: 2009-05-31 13:07:18.871 +0900 OS Version: Mac OS X 10.5.7 (9J61) Report Version: 6 Anonymous UUID: 788E418E-6DD5-4D51-B1EF-272707308034
Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000000000dc Crashed Thread: 0
Thread 0 Crashed:
0 org.fritzing.Fritzing 0x00014b24 AddDeleteItemCommand::dropOrigin() + 6
1 org.fritzing.Fritzing 0x000759d9 SketchWidget::addItem(ModelPart, BaseCommand::CrossViewType, ViewGeometry const&, long, long, long, AddDeleteItemCommand, PaletteItem) + 179
2 org.fritzing.Fritzing 0x000cae3b PartsEditorView::addItemInPartsEditor(ModelPart, SvgAndPartFilePath) + 137
3 org.fritzing.Fritzing 0x000ce589 PartsEditorView::loadSvgFile(ModelPart) + 35
4 org.fritzing.Fritzing 0x000ce982 PartsEditorView::loadSvgFile(QString const&) + 178
5 org.fritzing.Fritzing 0x000cee1a PartsEditorView::loadFile() + 1164
6 org.fritzing.Fritzing 0x001221ea PartsEditorView::qt_metacall(QMetaObject::Call, int, void) + 286
7 QtCore 0x00b37efc QMetaObject::activate(QObject*, int, int, void) + 556
8 QtGui 0x02573ade QLabel::linkActivated(QString const&) + 62
9 QtGui 0x0257709a QLabel::qt_metacall(QMetaObject::Call, int, void) + 522
10 QtCore 0x00b37efc QMetaObject::activate(QObject*, int, int, void) + 556
11 QtGui 0x0236f39e QTextControl::linkActivated(QString const&) + 62
12 QtGui 0x02376f07 QTextControl::setFocusToNextOrPreviousAnchor(bool) + 2535
13 QtGui 0x02377956 QTextControl::moveCursor(QTextCursor::MoveOperation, QTextCursor::MoveMode) + 1478
14 QtGui 0x0237d25a QTextControl::processEvent(QEvent*, QMatrix const&, QWidget) + 1322
15 QtGui 0x0236fff7 QTextControl::processEvent(QEvent, QPointF const&, QWidget) + 87
16 QtGui 0x025750f6 QLabel::alignment() const + 1958
17 QtGui 0x021bb37c QWidget::event(QEvent) + 3628
18 QtGui 0x02570f55 QFrame::event(QEvent) + 37
19 QtGui 0x02573f5f QLabel::event(QEvent) + 95
20 QtGui 0x0216ed1f QApplicationPrivate::notify_helper(QObject, QEvent) + 191
21 QtGui 0x0217649d QApplication::notify(QObject, QEvent) + 3405
22 QtCore 0x00b25a12 QCoreApplication::notifyInternal(QObject, QEvent) + 98
23 QtGui 0x021034db QApplicationPrivate::globalEventProcessor(OpaqueEventHandlerCallRef, OpaqueEventRef, void) + 5627
24 com.apple.HIToolbox 0x92f4411d DispatchEventToHandlers(EventTargetRec, OpaqueEventRef, HandlerCallRec) + 1181
25 com.apple.HIToolbox 0x92f4355b SendEventToEventTargetInternal(OpaqueEventRef, OpaqueEventTargetRef, HandlerCallRec) + 405
26 com.apple.HIToolbox 0x92f5feac SendEventToEventTarget + 52
27 com.apple.HIToolbox 0x92f72088 ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef, OpaqueEventRef, void) + 1208
28 com.apple.HIToolbox 0x92f444d6 DispatchEventToHandlers(EventTargetRec, OpaqueEventRef, HandlerCallRec) + 2134
29 com.apple.HIToolbox 0x92f4355b SendEventToEventTargetInternal(OpaqueEventRef, OpaqueEventTargetRef, HandlerCallRec) + 405
30 com.apple.HIToolbox 0x92f5feac SendEventToEventTarget + 52
31 QtGui 0x02117534 non-virtual thunk to QDesktopWidget::~QDesktopWidget() + 2276
32 QtCore 0x00b24fc1 QEventLoop::processEvents(QFlags
Thread 1: 0 libSystem.B.dylib 0x94bd72ce semaphore_wait_signal_trap + 10 1 libSystem.B.dylib 0x94c092c6 pthreadcond_wait + 1267 2 libSystem.B.dylib 0x94c4e539 pthread_cond_wait + 48 3 QtCore 0x00a34d96 QWaitCondition::wait(QMutex*, unsigned long) + 278 4 QtNetwork 0x0059d346 QHostInfo::fromName(QString const&) + 1062 5 QtCore 0x00a3395b QThreadStorageData::QThreadStorageData(void ()(void)) + 2491 6 libSystem.B.dylib 0x94c08155 pthreadstart + 321 7 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 2: 0 libSystem.B.dylib 0x94c266fa select$DARWIN_EXTSN + 10 1 libSystem.B.dylib 0x94c08155 pthreadstart + 321 2 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 3: 0 libSystem.B.dylib 0x94bd7286 mach_msg_trap + 10 1 libSystem.B.dylib 0x94bdea7c mach_msg + 72 2 com.apple.CoreFoundation 0x932d604e CFRunLoopRunSpecific + 1790 3 com.apple.CoreFoundation 0x932d6cd4 CFRunLoopRun + 84 4 com.apple.DesktopServices 0x96ed5e17 TSystemNotificationTask::SystemNotificationTaskProc(void*) + 123 5 ...ple.CoreServices.CarbonCore 0x9226b057 PrivateMPEntryPoint + 56 6 libSystem.B.dylib 0x94c08155 pthreadstart + 321 7 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 4: 0 libSystem.B.dylib 0x94bd7286 mach_msg_trap + 10 1 libSystem.B.dylib 0x94bdea7c mach_msg + 72 2 com.apple.CoreFoundation 0x932d604e CFRunLoopRunSpecific + 1790 3 com.apple.CoreFoundation 0x932d6cd4 CFRunLoopRun + 84 4 com.apple.DesktopServices 0x96ed5f90 TFSEventsNotificationTask::FSEventsNotificationTaskProc(void*) + 216 5 ...ple.CoreServices.CarbonCore 0x9226b057 PrivateMPEntryPoint + 56 6 libSystem.B.dylib 0x94c08155 pthreadstart + 321 7 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 5: 0 libSystem.B.dylib 0x94bde46e _semwaitsignal + 10 1 libSystem.B.dylib 0x94c08dcd pthread_cond_wait$UNIX2003 + 73 2 ...ple.CoreServices.CarbonCore 0x9226ce83 TSWaitOnCondition + 126 3 ...ple.CoreServices.CarbonCore 0x9224bd6a TSWaitOnConditionTimedRelative + 202 4 ...ple.CoreServices.CarbonCore 0x9226cb00 MPWaitOnQueue + 208 5 com.apple.DesktopServices 0x96ee0f72 TNodeSyncTask::SyncTaskProc(void*) + 84 6 ...ple.CoreServices.CarbonCore 0x9226b057 PrivateMPEntryPoint + 56 7 libSystem.B.dylib 0x94c08155 pthreadstart + 321 8 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 6: 0 libSystem.B.dylib 0x94bd72e6 semaphore_timedwait_signal_trap + 10 1 libSystem.B.dylib 0x94c092af pthreadcond_wait + 1244 2 libSystem.B.dylib 0x94c0ab33 pthread_cond_timedwait_relative_np + 47 3 ...ple.CoreServices.CarbonCore 0x9224bd96 TSWaitOnConditionTimedRelative + 246 4 ...ple.CoreServices.CarbonCore 0x9226cb00 MPWaitOnQueue + 208 5 com.apple.DesktopServices 0x96ee8899 TPropertyTask::PropertyTaskProc(void*) + 105 6 ...ple.CoreServices.CarbonCore 0x9226b057 PrivateMPEntryPoint + 56 7 libSystem.B.dylib 0x94c08155 pthreadstart + 321 8 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 7: 0 libSystem.B.dylib 0x94c079c6 kevent + 10 1 libSystem.B.dylib 0x94c08155 pthreadstart + 321 2 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 8: 0 libSystem.B.dylib 0x94bd72e6 semaphore_timedwait_signal_trap + 10 1 libSystem.B.dylib 0x94c092af pthreadcond_wait + 1244 2 libSystem.B.dylib 0x94c0ab33 pthread_cond_timedwait_relative_np + 47 3 ...ple.CoreServices.CarbonCore 0x9224bd96 TSWaitOnConditionTimedRelative + 246 4 ...ple.CoreServices.CarbonCore 0x9226cb00 MPWaitOnQueue + 208 5 com.apple.DesktopServices 0x96ee2ebc TFolderSizeTask::FolderSizeTaskProc(void*) + 104 6 ...ple.CoreServices.CarbonCore 0x9226b057 PrivateMPEntryPoint + 56 7 libSystem.B.dylib 0x94c08155 pthreadstart + 321 8 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 9: 0 libSystem.B.dylib 0x94bd72e6 semaphore_timedwait_signal_trap + 10 1 libSystem.B.dylib 0x94c092af pthreadcond_wait + 1244 2 libSystem.B.dylib 0x94c0ab33 pthread_cond_timedwait_relative_np + 47 3 com.apple.Foundation 0x925dfdcc -[NSCondition waitUntilDate:] + 236 4 com.apple.Foundation 0x925dfbe0 -[NSConditionLock lockWhenCondition:beforeDate:] + 144 5 com.apple.AppKit 0x90353904 +[NSNavFBENodePreviewHelper subthreadComputePreviewThumbnailImages] + 278 6 com.apple.Foundation 0x92599e0d -[NSThread main] + 45 7 com.apple.Foundation 0x925999b4 _NSThreadmain + 308 8 libSystem.B.dylib 0x94c08155 pthreadstart + 321 9 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 10: 0 libSystem.B.dylib 0x94bde46e _semwaitsignal + 10 1 libSystem.B.dylib 0x94bde236 usleep$UNIX2003 + 61 2 com.apple.AppKit 0x9015f229 -[NSUIHeartBeat heartBeatThread:] + 2042 3 com.apple.Foundation 0x92599e0d -[NSThread main] + 45 4 com.apple.Foundation 0x925999b4 _NSThreadmain + 308 5 libSystem.B.dylib 0x94c08155 pthreadstart + 321 6 libSystem.B.dylib 0x94c08012 thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x1b158510 ecx: 0xbfffe234 edx: 0xffffff01 edi: 0x1ad97180 esi: 0x1ae85700 ebp: 0xbfffe258 esp: 0xbfffe258 ss: 0x0000001f efl: 0x00010246 eip: 0x00014b24 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x000000dc
Binary Images:
0x1000 - 0x1feff8 +org.fritzing.Fritzing ??? (???) <3d456f648c6a62b198e3cac611ae5dd5> /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/MacOS/Fritzing
0x3f9000 - 0x42bff7 +phonon ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/Frameworks/phonon.framework/Versions/4/phonon
0x443000 - 0x485fff +QtSvg ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/Frameworks/QtSvg.framework/Versions/4/QtSvg
0x49a000 - 0x4c5ff5 +QtSql ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/Frameworks/QtSql.framework/Versions/4/QtSql
0x4d8000 - 0x526fff +QtXml ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/Frameworks/QtXml.framework/Versions/4/QtXml
0x53e000 - 0x621fe2 +QtNetwork ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/Frameworks/QtNetwork.framework/Versions/4/QtNetwork
0x699000 - 0x6a0fff +libqgif.dylib ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/PlugIns/imageformats/libqgif.dylib
0x6a4000 - 0x6abfff +libqico.dylib ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/PlugIns/imageformats/libqico.dylib
0x6b0000 - 0x6d1fe3 +libqjpeg.dylib ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/PlugIns/imageformats/libqjpeg.dylib
0x6d6000 - 0x71efe7 +libqmng.dylib ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/PlugIns/imageformats/libqmng.dylib
0x725000 - 0x72bfff +libqsvg.dylib ??? (???) /Applications/fritzing.2009.05.19.mac/Fritzing.app/Contents/PlugIns/imageformats/libqsvg.dylib
0x72f000 - 0x778fe7 +libqtiff.dylib ??? (???)
Hi Kotobuki,
Sorry for the crash, and thanks for the full stack trace. It's not a problem with your svgs: it is the same bug that jdolce just reported. We'll put out a new release of Fritzing in the next few days.
Cheers,
- j
Post a Reply
Please login to post a reply.