Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(MacOS) Text primitive dialog error
04-23-2018, 08:19 PM
Post: #1
(MacOS) Text primitive dialog error
I think the text object plugin is unstable.
The OS native font selector can select fonts in all installed locations.
However, even if I select a font, Wings 3D may issue an error dialog saying that the font can not be found.

I was able to pick up the font and choose a font that can create 3D objects.After that, when I tried to save the created 3D data in obj format, the option dialog will not appear.

Then, craslog sometimes created it, and OSX crash report appeared.
Another topic, I have developed another plugin based on the text plugin but encountered the same error.
This time, the error occurred in other mac,so I report it. Wink

Code:
Dump written 2018-4-23_12-41
Version: 2.1.6
OS: Mac OS X (Darwin 16.7.0 x86_64)
GPU: Intel Inc. | Intel(R) Iris(TM) Pro Graphics 6200
Window: geom
Reason: {{{badarg,3446},{wxDialog,new_4,4}},
         [{wxe_util,rec,1,[{file,"wxe_util.erl"},{line,84}]},
          {wings_dialog,'-build_dialog/3-fun-0-',3,
                        [{file,"wings_dialog.erl"},{line,785}]},
          {wx,batch,1,[{file,"wx.erl"},{line,184}]},
          {wings_dialog,dialog_1,5,[{file,"wings_dialog.erl"},{line,262}]},
          {wings,execute_command,3,[{file,"wings.erl"},{line,655}]},
          {wings_develop,time_command,2,
                         [{file,"wings_develop.erl"},{line,79}]},
          {wings,raw_command,4,[{file,"wings.erl"},{line,629}]},
          {wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,957}]},
          {wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,923}]},
          {wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,824}]},
          {wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,651}]},
          {wings,init_part2,2,[{file,"wings.erl"},{line,104}]},
          {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

Short stack trace:
[]

Long stack trace:
[{wx,batch,1,[{file,"wx.erl"},{line,186}]},
{wings_dialog,dialog_1,5,[{file,"wings_dialog.erl"},{line,262}]},
{wings,execute_command,3,[{file,"wings.erl"},{line,655}]},
{wings_develop,time_command,2,[{file,"wings_develop.erl"},{line,79}]},
{wings,raw_command,4,[{file,"wings.erl"},{line,629}]},
{wings_wm,handle_event,3,[{file,"wings_wm.erl"},{line,957}]},
{wings_wm,send_event,2,[{file,"wings_wm.erl"},{line,923}]},
{wings_wm,do_dispatch,2,[{file,"wings_wm.erl"},{line,824}]},
{wings_wm,get_and_dispatch,0,[{file,"wings_wm.erl"},{line,651}]},
{wings,init_part2,2,[{file,"wings.erl"},{line,104}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]


From MacOS Native Error Report(Omitted at a partly)
Code:
Process:               beam.smp [1832]
Path:                  /Applications/Wings3D215.app/Contents/Resources/bin/beam.smp
Identifier:            com.wings3d.wings3d
Version:               1.5 (0.1)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           beam.smp [1832]
User ID:               501

Date/Time:             2018-04-23 12:51:34.999 +0900
OS Version:            Mac OS X 10.12.6 (16G1314)
Report Version:        12


Time Awake Since Boot: 14000 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   wxe_driver.so                     0x000000001ded00b6 WxeApp::wxe_dispatch(wxeCommand&) + 21942
1   wxe_driver.so                     0x000000001dec3bb4 WxeApp::dispatch(wxeFifo*) + 228
2   wxe_driver.so                     0x000000001dec374e WxeApp::dispatch_cmds() + 62
3   wxe_driver.so                     0x000000001e3ab8a9 wxEvtHandler::SearchDynamicEventTable(wxEvent&) + 185
4   wxe_driver.so                     0x000000001e3ab61b wxEvtHandler::ProcessEventLocally(wxEvent&) + 59
5   wxe_driver.so                     0x000000001e3ab52e wxEvtHandler::ProcessEvent(wxEvent&) + 190
6   wxe_driver.so                     0x000000001e2ce5cd wxAppConsoleBase::ProcessIdle() + 77
7   wxe_driver.so                     0x000000001e17eaf6 wxAppBase::ProcessIdle() + 22
8   wxe_driver.so                     0x000000001e10c50a wxApp::ProcessIdle() + 26
9   wxe_driver.so                     0x000000001e3014ac wxEventLoopBase::ProcessIdle() + 28
10  wxe_driver.so                     0x000000001e38a277 wxCFEventLoop::OSXCommonModeObserverCallBack(__CFRunLoopObserver*, int, void*) + 87
11  com.apple.CoreFoundation          0x00007fffaa2ebd37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
12  com.apple.CoreFoundation          0x00007fffaa2ebca7 __CFRunLoopDoObservers + 391
13  com.apple.CoreFoundation          0x00007fffaa2cc82e __CFRunLoopRun + 1214
14  com.apple.CoreFoundation          0x00007fffaa2cc114 CFRunLoopRunSpecific + 420
15  com.apple.HIToolbox               0x00007fffa982cebc RunCurrentEventLoopInMode + 240
16  com.apple.HIToolbox               0x00007fffa982ccf1 ReceiveNextEventCommon + 432
17  com.apple.HIToolbox               0x00007fffa982cb26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
18  com.apple.AppKit                  0x00007fffa7dc3a54 _DPSNextEvent + 1120
19  com.apple.AppKit                  0x00007fffa853f7ee -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
20  com.apple.AppKit                  0x00007fffa7db83db -[NSApplication run] + 926
21  wxe_driver.so                     0x000000001e15a78e wxGUIEventLoop::OSXDoRun() + 110
22  wxe_driver.so                     0x000000001e38ab94 wxCFEventLoop::DoRun() + 52
23  wxe_driver.so                     0x000000001e301375 wxEventLoopBase::Run() + 165
24  wxe_driver.so                     0x000000001e2ce351 wxAppConsoleBase::MainLoop() + 209
25  wxe_driver.so                     0x000000001e10c55a wxApp::OnRun() + 26
26  wxe_driver.so                     0x000000001e333dd7 wxEntry(int&, wchar_t**) + 71
27  wxe_driver.so                     0x000000001dec1faf wxe_main_loop(void*) + 63
28  beam.smp                          0x000000001bb40ff8 erts_sys_main_thread + 264
29  beam.smp                          0x000000001ba18bca erl_start + 8266

Thread 1:: sys_sig_dispatc
0   libsystem_kernel.dylib            0x00007fffbfb87246 read + 10
1   beam.smp                          0x000000001bb415e3 signal_dispatcher_thread_func + 51

Thread 2:: sys_msg_dispatc
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbbe616 ethr_cond_wait + 6

Thread 3:: async_1
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 4:: async_2
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 5:: async_3
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 6:: async_4
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 7:: async_5
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 8:: async_6
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 9:: async_7
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 10:: async_8
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 11:: async_9
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 12:: async_10
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 13:: 1_scheduler
0   beam.smp                          0x000000001ba3eda2 copy_struct_x + 1298

Thread 14:: 2_scheduler
0   libsystem_kernel.dylib            0x00007fffbfb85eb6 __select + 10
1   beam.smp                          0x000000001bb4dd7a erts_poll_wait_nkp + 922

Thread 15:: 3_scheduler
0   libsystem_kernel.dylib            0x00007fffbfb85eb6 __select + 10
1   beam.smp                          0x000000001bbc147f wait__ + 879

Thread 16:: 4_scheduler
0   libsystem_kernel.dylib            0x00007fffbfb85eb6 __select + 10
1   beam.smp                          0x000000001bbc147f wait__ + 879

Thread 17:: aux
0   libsystem_kernel.dylib            0x00007fffbfb85bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib           0x00007fffbfc717fa _pthread_cond_wait + 712
2   beam.smp                          0x000000001bbc1090 ethr_event_wait + 96

Thread 18:
0   libsystem_kernel.dylib            0x00007fffbfb8644e __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fffbfc70621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib           0x00007fffbfc7007d start_wqthread + 13

Thread 19:
0   libsystem_pthread.dylib           0x00007fffbfc70070 start_wqthread + 0
1   ???                               0x6e69740000000000 0 + 7956017760075513856

Thread 20:
0   libsystem_pthread.dylib           0x00007fffbfc70070 start_wqthread + 0
1   ???                               0x000000001bd4a000 0 + 466919424

Thread 21:: com.apple.NSEventThread
0   libsystem_kernel.dylib            0x00007fffbfb7e34a mach_msg_trap + 10
1   libsystem_kernel.dylib            0x00007fffbfb7d797 mach_msg + 55
2   com.apple.CoreFoundation          0x00007fffaa2cd434 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation          0x00007fffaa2cc8c1 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation          0x00007fffaa2cc114 CFRunLoopRunSpecific + 420
5   com.apple.AppKit                  0x00007fffa7f10f02 _NSEventThread + 205
6   libsystem_pthread.dylib           0x00007fffbfc7093b _pthread_body + 180
7   libsystem_pthread.dylib           0x00007fffbfc70887 _pthread_start + 286
8   libsystem_pthread.dylib           0x00007fffbfc7008d thread_start + 13

Thread 22:
0   libsystem_kernel.dylib            0x00007fffbfb8644e __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fffbfc70621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib           0x00007fffbfc7007d start_wqthread + 13

Thread 23:
0   libsystem_kernel.dylib            0x00007fffbfb8644e __workq_kernreturn + 10
1   libsystem_pthread.dylib           0x00007fffbfc7048e _pthread_wqthread + 1023
2   libsystem_pthread.dylib           0x00007fffbfc7007d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00007fd8ebd592e0  rbx: 0x0000000024ad2e38  rcx: 0x600007fd8ee76726  rdx: 0x00007fd8ebf368f0
  rdi: 0x00007fd8ebc2d320  rsi: 0x0000000024ad2e38  rbp: 0x00007fff542319c0  rsp: 0x00007fff54226680
   r8: 0x00000000ffffffff   r9: 0x00000000ffffffff  r10: 0x0000000000000000  r11: 0x000000001e836d80
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x00000000ffffffff
  rip: 0x000000001ded00b6  rfl: 0x0000000000010202  cr2: 0x0000000109dd4000
  
Logical CPU:     3
Error Code:      0x00000000
Trap Number:     13

VM Region Summary:
ReadOnly portion of Libraries: Total=318.3M resident=0K(0%) swapped_out_or_unallocated=318.3M(100%)
Writable regions: Total=305.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=305.7M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Accelerate framework               768K        7
Activity Tracing                   256K        2
CG backing stores                 39.9M        5
CG image                          1088K       57
CG raster data                     480K       22
CoreAnimation                     13.4M       58
CoreImage                          608K        2
CoreUI image data                 5028K       34
CoreUI image file                  460K       10
Dispatch continuations            8192K        2
Foundation                          24K        3
Kernel Alloc Once                    8K        2
MALLOC                           150.4M      102
MALLOC guard page                   48K       11
MALLOC_LARGE (reserved)            528K        2         reserved VM address space (unallocated)
Memory Tag 242                      12K        2
Memory Tag 251                     192K        5
OpenCL                              16K        3
OpenGL GLSL                        256K        4
STACK GUARD                       56.1M       25
Stack                             23.6M       25
VM_ALLOCATE                        1.5G       53
VM_ALLOCATE (reserved)             240K        3         reserved VM address space (unallocated)
__DATA                            28.2M      248
__GLSLBUILTINS                    2588K        2
__IMAGE                            528K        2
__LINKEDIT                       120.9M       16
__TEXT                           197.4M      246
__UNICODE                          556K        2
mapped file                      100.7M       32
shared memory                     16.4M       13
===========                     =======  =======
TOTAL                              2.3G      969
TOTAL, minus reserved VM space     2.3G      969

Model: iMac16,2,4 processors, Intel Core i5, 3.1 GHz, 8 GB, SMC 2.32f20
Graphics: Intel Iris Pro Graphics 6200, Intel Iris Pro Graphics 6200, Built-In
Bluetooth: Version 5.0.5f1, 3 services, 27 devices, 1 incoming serial ports
USB Device: USB 3.0 Bus
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub in Apple Pro Keyboard
USB Device: USB Optical Mouse
USB Device: Apple Pro Keyboard
USB Device: Apple USB SuperDrive
Thunderbolt Bus: iMac, Apple Inc., 27.4

---------
tkbd
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)