|
Posted by GhyslainB
at Jul 28, 2020, 9:28:37 AM
|
Re: YafaRay rendering plug-in
Thank you Emmanuel for your prompt reply!
I've now tried this new 1.3.1 version. However, another issue seems to have arisen and leads to a crash.
First trying the plugin with the jar version of the app and one of my projects. Upon launching the Create photo with Yafaray render, there is first a series of library reference error messages in the console:
dlerror: dlopen(/Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libphotonmap.dylib, 2): Library not loaded: /usr/local/opt/boost/lib/libboost_system.dylib Referenced from: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libphotonmap.dylib Reason: image not found dlerror: dlopen(/Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libspotlight.dylib, 2): Library not loaded: /usr/local/opt/boost/lib/libboost_filesystem.dylib Referenced from: /Users/Ghyslain/Library/Application Support/eTeks/Sweet Home 3D/work/6000-90938268-2b68-4125-a6c0-b417f8f85adb/dll4459707302376552544tmp/yafaray-plugins/libspotlight.dylib Reason: image not found Etc., etc. (I won't copy all the logs here because it would fill out the forum, but I can send them to you in full if needed.)
Then, after some crunching (with medium-high CPU utilization), the application exits with this error:
# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000018df57b7d, pid=9787, tid=0x0000000000027b67 # # JRE version: Java(TM) SE Runtime Environment (8.0_201-b09) (build 1.8.0_201-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [libyafaray_v3_core.dylib+0x60b7d] yafaray::imageFilm_t::setProgressBar(yafaray::progressBar_t*)+0xd # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # An error report file with more information is saved as: # /Users/Ghyslain/hs_err_pid9787.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
The referenced log file begins with the following:
# A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x000000018df57b7d, pid=9787, tid=0x0000000000027b67 # # JRE version: Java(TM) SE Runtime Environment (8.0_201-b09) (build 1.8.0_201-b09) # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode bsd-amd64 compressed oops) # Problematic frame: # C [libyafaray_v3_core.dylib+0x60b7d] yafaray::imageFilm_t::setProgressBar(yafaray::progressBar_t*)+0xd # # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. #
--------------- T H R E A D ---------------
Current thread (0x00007fdfc00a6000): JavaThread "pool-11-thread-1" [_thread_in_native, id=162663, stack(0x00007000075e9000,0x00007000076e9000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x00000000000001c8
[...]
Stack: [0x00007000075e9000,0x00007000076e9000], sp=0x00007000076e8410, free space=1021k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libyafaray_v3_core.dylib+0x60b7d] yafaray::imageFilm_t::setProgressBar(yafaray::progressBar_t*)+0xd C [libyafarayjni.dylib+0x683e] Java_com_eteks_sweethome3d_plugin_yafarayrendering_YafarayRenderer_render+0x2ce j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayRenderer$ImageOutput;Ljava/util/Map;)V+0 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Ljava/awt/image/BufferedImage;Lcom/eteks/sweethome3d/model/Camera;Ljava/awt/image/ImageObserver;)V+1493 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.computePhoto(Lcom/eteks/sweethome3d/model/Home;)V+164 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.access$1400(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayPhotoPanel;Lcom/eteks/sweethome3d/model/Home;)V+2 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel$17.run()V+8 j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95 j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [libjvm.dylib+0x2f0bea] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x6ae V [libjvm.dylib+0x2f138e] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x164 V [libjvm.dylib+0x2f153a] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x4a V [libjvm.dylib+0x34be29] thread_entry(JavaThread*, Thread*)+0x7c V [libjvm.dylib+0x570c33] JavaThread::thread_main_inner()+0x9b V [libjvm.dylib+0x57232e] JavaThread::run()+0x1c2 V [libjvm.dylib+0x48f3ca] java_start(Thread*)+0xf6 C [libsystem_pthread.dylib+0x3661] _pthread_body+0x154 C [libsystem_pthread.dylib+0x350d] _pthread_body+0x0 C [libsystem_pthread.dylib+0x2bf9] thread_start+0xd C 0x0000000000000000
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayRenderer$ImageOutput;Ljava/util/Map;)V+0 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayRenderer.render(Ljava/awt/image/BufferedImage;Lcom/eteks/sweethome3d/model/Camera;Ljava/awt/image/ImageObserver;)V+1493 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.computePhoto(Lcom/eteks/sweethome3d/model/Home;)V+164 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel.access$1400(Lcom/eteks/sweethome3d/plugin/yafarayrendering/YafarayPhotoPanel;Lcom/eteks/sweethome3d/model/Home;)V+2 j com.eteks.sweethome3d.plugin.yafarayrendering.YafarayPhotoPanel$17.run()V+8 j java.util.concurrent.ThreadPoolExecutor.runWorker(Ljava/util/concurrent/ThreadPoolExecutor$Worker;)V+95 j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+5 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub
I've also tried with the App Store version of SH3D (and a demo file), and it leads to the same behaviour, with the following System crash report:
Crashed Thread: 100 Java: pool-10-thread-1
Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000000001c8 Exception Note: EXC_CORPSE_NOTIFY
VM Regions Near 0x1c8: --> __TEXT 000000010d3b3000-000000010d3b4000 [ 4K] r-x/rwx SM=COW /Applications/Sweet Home 3D.app/Contents/MacOS/SweetHome3D
Application Specific Information: abort() called
Thread 0:: AppKit Thread Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fff512ba20a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff512b9724 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff29186845 __CFRunLoopServiceMachPort + 341 3 com.apple.CoreFoundation 0x00007fff29185b97 __CFRunLoopRun + 1783 4 com.apple.CoreFoundation 0x00007fff29185207 CFRunLoopRunSpecific + 487 5 com.apple.HIToolbox 0x00007fff28465d96 RunCurrentEventLoopInMode + 286 6 com.apple.HIToolbox 0x00007fff28465b06 ReceiveNextEventCommon + 613 7 com.apple.HIToolbox 0x00007fff28465884 _BlockUntilNextEventMatchingListInModeWithFilter + 64 8 com.apple.AppKit 0x00007fff26715a73 _DPSNextEvent + 2085 9 com.apple.AppKit 0x00007fff26eabe34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 10 libosxapp.dylib 0x000000012800c328 -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124 11 com.apple.AppKit 0x00007fff2670a885 -[NSApplication run] + 764 12 libosxapp.dylib 0x000000012800bf72 +[NSApplicationAWT runAWTLoopWithApp:] + 156 13 libawt_lwawt.dylib 0x0000000127f900bf -[AWTStarter starter:] + 905 14 com.apple.Foundation 0x00007fff2b2e50b5 __NSThreadPerformPerform + 334 15 com.apple.CoreFoundation 0x00007fff291a3581 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 16 com.apple.CoreFoundation 0x00007fff2925b8ac __CFRunLoopDoSource0 + 108 17 com.apple.CoreFoundation 0x00007fff29186530 __CFRunLoopDoSources0 + 208 18 com.apple.CoreFoundation 0x00007fff291859ad __CFRunLoopRun + 1293 19 com.apple.CoreFoundation 0x00007fff29185207 CFRunLoopRunSpecific + 487 20 libjli.dylib 0x000000010d49d8fe CreateExecutionEnvironment + 871 21 libjli.dylib 0x000000010d4994cc JLI_Launch + 1952 22 libpackager.dylib 0x000000010d45d4c7 JavaLibrary::JavaVMCreate(unsigned long, char**) + 183 23 libpackager.dylib 0x000000010d45adb1 JavaVirtualMachine::StartJVM() + 3457 24 libpackager.dylib 0x000000010d459f60 RunVM() + 16 25 libpackager.dylib 0x000000010d46781f start_launcher + 1791 26 com.eteks.sweethome3d.SweetHome3D 0x000000010d3b3cd9 main + 217 27 com.eteks.sweethome3d.SweetHome3D 0x000000010d3b3bf4 start + 52
Thread 1: 0 libsystem_kernel.dylib 0x00007fff512c3d82 __semwait_signal + 10 1 libsystem_pthread.dylib 0x00007fff5148f824 _pthread_join + 626 2 libjli.dylib 0x000000010d49cebb ContinueInNewThread0 + 102 3 libjli.dylib 0x000000010d49a378 ContinueInNewThread + 201 4 libjli.dylib 0x000000010d49cc1b JVMInit + 363 5 libjli.dylib 0x000000010d49a0f6 JLI_Launch + 5066 6 libpackager.dylib 0x000000010d45d4c7 JavaLibrary::JavaVMCreate(unsigned long, char**) + 183 7 libpackager.dylib 0x000000010d45adb1 JavaVirtualMachine::StartJVM() + 3457 8 libpackager.dylib 0x000000010d459f60 RunVM() + 16 9 libpackager.dylib 0x000000010d46781f start_launcher + 1791 10 com.eteks.sweethome3d.SweetHome3D 0x000000010d3b3cd9 main + 217 11 libjli.dylib 0x000000010d49d590 apple_main + 92 12 libsystem_pthread.dylib 0x00007fff5148b661 _pthread_body + 340 13 libsystem_pthread.dylib 0x00007fff5148b50d _pthread_start + 377 14 libsystem_pthread.dylib 0x00007fff5148abf9 thread_start + 13
Hopefully, this might help you figure out what is going on. Thanks!
|