Random error mac version

Forums: Random error mac version
Poser (Integrated Plugin developed by Paul Kinnane)

Moderator: face_off

Forum rules
Please keep character renders sensibly modest, please do not post sexually explicit scenes of characters.

Random error mac version

Postby alaman64 » Wed Apr 09, 2014 2:42 am

alaman64 Wed Apr 09, 2014 2:42 am
I'm getting these random errors, can't even reproduce it, it happens when touching something on the interface of the plugin. But not always the same tab either.

Process: Poser Pro 2014 [483]
Path: /Applications/Poser Pro 2014/Poser Pro 2014.app/Contents/MacOS/Poser Pro 2014
Identifier: com.SmithMicro.PoserPro
Version: 10.0.3.26510 (10.0.3.26510)
Code Type: X86-64 (Native)
Parent Process: launchd [187]
Responsible: Poser Pro 2014 [483]
User ID: 501

Date/Time: 2014-04-08 22:33:11.315 -0400
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: 4F54211D-0AB1-3E34-1F2C-FA2305BF8627


Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff76e4b408

VM Regions Near 0x7fff76e4b408:
__DATA 00007fff76e33000-00007fff76e34000 [ 4K] rw-/rwx SM=COW /usr/lib/libCRFSuite.dylib
--> __DATA 00007fff76e34000-00007fff76e89000 [ 340K] rw-/rwx SM=COW /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
__DATA 00007fff76e89000-00007fff76e8a000 [ 4K] rw-/rwx SM=COW /System/Library/Frameworks/MediaAccessibility.framework/Versions/A/MediaAccessibility

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x00007fff76e4b408 OBJC_METACLASS_$___NSCFAttributedString + 0
1 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102d80205 wxGenericTreeItem::DoCalculateSize(wxGenericTreeCtrl*, wxDC&, bool) + 67
2 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102d81f38 wxGenericTreeItem::CalculateSize(wxGenericTreeCtrl*) + 56
3 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102d82280 wxGenericTreeCtrl::SetItemText(wxTreeItemId const&, wxString const&) + 116
4 _controls_.so 0x000000010ff4d7c6 _wrap_TreeCtrl_SetItemText + 662
5 org.python.python 0x0000000101857112 PyEval_EvalFrameEx + 22626
6 org.python.python 0x0000000101858d29 PyEval_EvalCodeEx + 2137
7 org.python.python 0x0000000101856b6a PyEval_EvalFrameEx + 21178
8 org.python.python 0x0000000101857ebe PyEval_EvalFrameEx + 26126
9 org.python.python 0x0000000101857ebe PyEval_EvalFrameEx + 26126
10 org.python.python 0x0000000101858d29 PyEval_EvalCodeEx + 2137
11 org.python.python 0x00000001017d3a80 function_call + 176
12 org.python.python 0x00000001017a25e2 PyObject_Call + 98
13 org.python.python 0x00000001017b4bcb instancemethod_call + 363
14 org.python.python 0x00000001017a25e2 PyObject_Call + 98
15 org.python.python 0x00000001018505f7 PyEval_CallObjectWithKeywords + 87
16 _core_.so 0x000000010fc0758c wxPyCallback::EventThunker(wxEvent&) + 434
17 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba077d wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 93
18 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba1f87 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 163
19 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba8478 0x102abe000 + 959608
20 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba426c wxEvtHandler::ProcessEventLocally(wxEvent&) + 30
21 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba36ad wxEvtHandler::ProcessEvent(wxEvent&) + 159
22 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba1c2c wxEvtHandler::SafelyProcessEvent(wxEvent&) + 18
23 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102d315be wxWindowBase::HandleWindowEvent(wxEvent&) const + 16
24 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c6b340 wxWidgetCocoaImpl::DoNotifyFocusEvent(bool, wxWidgetImpl*) + 858
25 com.apple.CoreFoundation 0x00007fff89b53e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
26 com.apple.CoreFoundation 0x00007fff89a47a6d _CFXNotificationPost + 2893
27 com.apple.Foundation 0x00007fff894dc7ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
28 com.apple.AppKit 0x00007fff8d83957f -[NSTextField textDidEndEditing:] + 347
29 com.apple.CoreFoundation 0x00007fff89b53e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
30 com.apple.CoreFoundation 0x00007fff89a47a6d _CFXNotificationPost + 2893
31 com.apple.Foundation 0x00007fff894dc7ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
32 com.apple.AppKit 0x00007fff8d838df8 -[NSTextView(NSSharing) resignFirstResponder] + 638
33 com.apple.AppKit 0x00007fff8d7112c0 -[NSWindow makeFirstResponder:] + 455
34 com.apple.AppKit 0x00007fff8d7d56e5 -[NSWindow sendEvent:] + 10173
35 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c60929 0x102abe000 + 1714473
36 com.apple.AppKit 0x00007fff8d7746e4 -[NSApplication sendEvent:] + 2021
37 com.apple.AppKit 0x00007fff8d5c4b89 -[NSApplication run] + 646
38 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c57d30 wxGUIEventLoop::DoRun() + 40
39 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102b835bf wxCFEventLoop::Run() + 133
40 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ac712b wxAppConsoleBase::MainLoop() + 169
41 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c031c5 wxApp::OnRun() + 29
42 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102b1f9b6 wxEntry(int&, char**) + 102
43 com.SmithMicro.PoserPro 0x00000001002f8e29 main + 377
44 com.SmithMicro.PoserPro 0x00000001000025c4 start + 52
Asus Z97-A / usb 3.1 - Windows 10 - 980 ti - Titan Black - Titan Z - Daz Studio
alaman64
Licensed Customer
Licensed Customer
 
Posts: 100
Joined: Sun Dec 30, 2012 4:46 pm

Re: Random error mac version

Postby face_off » Wed Apr 09, 2014 2:58 am

face_off Wed Apr 09, 2014 2:58 am
Which version of the plugin are you using pls?
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15476
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Random error mac version

Postby alaman64 » Wed Apr 09, 2014 4:03 am

alaman64 Wed Apr 09, 2014 4:03 am
I downloaded it a few minutes ago. This is a new install with no previous version. According to the plugin the version number is 1.50.0.22

Nick
Asus Z97-A / usb 3.1 - Windows 10 - 980 ti - Titan Black - Titan Z - Daz Studio
alaman64
Licensed Customer
Licensed Customer
 
Posts: 100
Joined: Sun Dec 30, 2012 4:46 pm

Re: Random error mac version

Postby face_off » Wed Apr 09, 2014 4:28 am

face_off Wed Apr 09, 2014 4:28 am
I downloaded it a few minutes ago. This is a new install with no previous version. According to the plugin the version number is 1.50.0.22
Thanks. You can see from the error that wxPython (PoserPython's GUI library) is crashing when calling the Cocoa library to redraw the Setup or Material tree. I have reported this issue to Smith Micro, but as they rightly point out - it's really a bug with wxPython in OSX rather than a specific Poser error. I may be able to code around it if I have a bit more info (since I cannot reproduce this error on my current hardware).

Could I ask you to monitor the crashes and let me know...

1) Does it only happen when the Viewport is open? (if YES, does setting Use Priority ON, Low Render Priority, Apply in the Devices tab help)
2) Is it only happening on large scenes?
3) Does it happen after importing a material, changing a node type, or some other action?

I can then investigate in more detail. If I can reproduce the crash on my system, I might be able to code around the wxPython issue.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15476
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Random error mac version

Postby face_off » Wed Apr 09, 2014 11:12 am

face_off Wed Apr 09, 2014 11:12 am
I have some more info on this - and the news is not good.

The crash happens even if the Viewport is closed. The crash is totally unrelated to Octane, and is caused by a wxPython error (bug report here....http://trac.wxwidgets.org/ticket/10085). It looks like Poser has not had this bug fix migrated through to their wxPython code.

The crash seems to happen frequently when Pasting nodes. This is due to the new node being added to the Material tree, crashing Poser due to the above wxPython bug.

I will continue to look into this issue, but it is quite possible there is no workaround :-(

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15476
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Random error mac version

Postby alaman64 » Tue Apr 15, 2014 1:19 pm

alaman64 Tue Apr 15, 2014 1:19 pm
Hi Paul,

Thanks for looking into this, I was not able to see any pattern in the error that I could reproduce. All the scenes were small, and render priority is on low.

Nick
Asus Z97-A / usb 3.1 - Windows 10 - 980 ti - Titan Black - Titan Z - Daz Studio
alaman64
Licensed Customer
Licensed Customer
 
Posts: 100
Joined: Sun Dec 30, 2012 4:46 pm

Re: Random error mac version

Postby alaman64 » Tue Apr 15, 2014 11:12 pm

alaman64 Tue Apr 15, 2014 11:12 pm
The only thing that i find consistent is that the error happens when i touch the plugin interface, i was about to change the value for the daylight power when i had the last crash. Poser wasn't doing anything, I was chaining values in the octane plugin.

This is the last error received, looks a little different from the previous one.

Process: Poser Pro 2014 [1935]
Path: /Applications/Poser Pro 2014/Poser Pro 2014.app/Contents/MacOS/Poser Pro 2014
Identifier: com.SmithMicro.PoserPro
Version: 10.0.3.26510 (10.0.3.26510)
Code Type: X86-64 (Native)
Parent Process: launchd [203]
Responsible: Poser Pro 2014 [1935]
User ID: 501

Date/Time: 2014-04-15 18:08:10.916 -0400
OS Version: Mac OS X 10.9.2 (13C64)
Report Version: 11
Anonymous UUID: 4F54211D-0AB1-3E34-1F2C-FA2305BF8627

Sleep/Wake UUID: 3619AEC3-5D8E-4F8E-B0DD-5AC5BAB9DAD7

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000434f4e3c

VM Regions Near 0x434f4e3c:
-->
__TEXT 0000000100000000-0000000100cb1000 [ 12.7M] r-x/rwx SM=COW /Applications/Poser Pro 2014/Poser Pro 2014.app/Contents/MacOS/Poser Pro 2014

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libstdc++.6.dylib 0x00007fff8b1ce7d8 std::string::assign(std::string const&) + 78
1 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102d82265 wxGenericTreeCtrl::SetItemText(wxTreeItemId const&, wxString const&) + 89
2 _controls_.so 0x000000010fefe7c6 _wrap_TreeCtrl_SetItemText + 662
3 org.python.python 0x0000000101857112 PyEval_EvalFrameEx + 22626
4 org.python.python 0x0000000101858d29 PyEval_EvalCodeEx + 2137
5 org.python.python 0x0000000101856b6a PyEval_EvalFrameEx + 21178
6 org.python.python 0x0000000101857ebe PyEval_EvalFrameEx + 26126
7 org.python.python 0x0000000101857ebe PyEval_EvalFrameEx + 26126
8 org.python.python 0x0000000101858d29 PyEval_EvalCodeEx + 2137
9 org.python.python 0x00000001017d3a80 function_call + 176
10 org.python.python 0x00000001017a25e2 PyObject_Call + 98
11 org.python.python 0x00000001017b4bcb instancemethod_call + 363
12 org.python.python 0x00000001017a25e2 PyObject_Call + 98
13 org.python.python 0x00000001018505f7 PyEval_CallObjectWithKeywords + 87
14 _core_.so 0x000000010fbb858c wxPyCallback::EventThunker(wxEvent&) + 434
15 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba077d wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) + 93
16 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba1f87 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 163
17 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba8478 0x102abe000 + 959608
18 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba426c wxEvtHandler::ProcessEventLocally(wxEvent&) + 30
19 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba36ad wxEvtHandler::ProcessEvent(wxEvent&) + 159
20 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ba1c2c wxEvtHandler::SafelyProcessEvent(wxEvent&) + 18
21 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102d315be wxWindowBase::HandleWindowEvent(wxEvent&) const + 16
22 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c6b340 wxWidgetCocoaImpl::DoNotifyFocusEvent(bool, wxWidgetImpl*) + 858
23 com.apple.CoreFoundation 0x00007fff8ebb9e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
24 com.apple.CoreFoundation 0x00007fff8eaada6d _CFXNotificationPost + 2893
25 com.apple.Foundation 0x00007fff889a37ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
26 com.apple.AppKit 0x00007fff895d757f -[NSTextField textDidEndEditing:] + 347
27 com.apple.CoreFoundation 0x00007fff8ebb9e0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
28 com.apple.CoreFoundation 0x00007fff8eaada6d _CFXNotificationPost + 2893
29 com.apple.Foundation 0x00007fff889a37ba -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
30 com.apple.AppKit 0x00007fff895d6df8 -[NSTextView(NSSharing) resignFirstResponder] + 638
31 com.apple.AppKit 0x00007fff894af2c0 -[NSWindow makeFirstResponder:] + 455
32 com.apple.AppKit 0x00007fff895736e5 -[NSWindow sendEvent:] + 10173
33 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c60929 0x102abe000 + 1714473
34 com.apple.AppKit 0x00007fff895126e4 -[NSApplication sendEvent:] + 2021
35 com.apple.AppKit 0x00007fff89362b89 -[NSApplication run] + 646
36 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c57d30 wxGUIEventLoop::DoRun() + 40
37 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102b835bf wxCFEventLoop::Run() + 133
38 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102ac712b wxAppConsoleBase::MainLoop() + 169
39 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102c031c5 wxApp::OnRun() + 29
40 libwx_osx_cocoa-2.9.1.0.0.dylib 0x0000000102b1f9b6 wxEntry(int&, char**) + 102
41 com.SmithMicro.PoserPro 0x00000001002f8e29 main + 377
42 com.SmithMicro.PoserPro 0x00000001000025c4 start + 52
Asus Z97-A / usb 3.1 - Windows 10 - 980 ti - Titan Black - Titan Z - Daz Studio
alaman64
Licensed Customer
Licensed Customer
 
Posts: 100
Joined: Sun Dec 30, 2012 4:46 pm

Re: Random error mac version

Postby face_off » Tue Apr 15, 2014 11:23 pm

face_off Tue Apr 15, 2014 11:23 pm
Hi Nick

I can reproduce the crash reliably now. As mentioned above, it is a crash inside the OS X implementation of WxPython. I will either need to a) find a code workaround for this issue, or b) remove OS X support for the Poser plugin. Based on the wxPython bug report link posted above, I'm not sure a) is doable, but I will spend some time on it after Easter.

Sorry I don't have better news. Unfortunately things like wxPython are not as robust on OS X as Windows, which makes providing the Octane plugin for Poser Mac a challenging task.

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15476
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Re: Random error mac version

Postby face_off » Mon Jul 21, 2014 5:13 am

face_off Mon Jul 21, 2014 5:13 am
I have posted an Octane 2.0 build of the Mac OS X plugin, which I believe resolves the crash that people were experiencing with this version. It requires OS X 10.9.4 or later. See http://render.otoy.com/forum/viewtopic.php?f=45&t=41240.

Thanks

Paul
Win7/Win10/Mavericks/Mint 17 - GTX550Ti/GT640M
Octane Plugin Support : Poser, ArchiCAD, Revit, Inventor, AutoCAD, Rhino, Modo, Nuke
Pls read before submitting a support question
User avatar
face_off
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15476
Joined: Fri May 25, 2012 10:52 am
Location: Adelaide, Australia

Return to Poser


Who is online

Users browsing this forum: No registered users and 11 guests

Tue Apr 23, 2024 3:29 pm [ UTC ]