|
Sweet Home 3D Forum » List all forums » » Forum: 3D problems » » » Thread: 3D View "Display In Separate Window" Causes Hangs |
|
| Print at Feb 4, 2026, 3:17:13 PM | |
| Posted by A.D.STUDIO at Jun 4, 2024, 9:45:18 AM |
|
3D View "Display In Separate Window" Causes Hangs Thanks for the 7.4 update. There's a note about separating the 3D view on a separate monitor would cause freezes but now fixed. However, I separate this window on a single monitor and I can guarantee a hang after toggling around six times. This is with ONE model in the plan. |
| Posted by A.D.STUDIO at Jun 4, 2024, 9:56:26 AM |
|
Re: 3D View "Display In Separate Window" Causes Hangs I think there's a severe memory leak going on, my RAM is maxed out after doing this... |
| Posted by dorin at Jun 4, 2024, 4:43:11 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs Thanks A.D.STUDIO! I've encountered the same problem even I'm under linux (debian) on both computers (at work and at home). Symptoms: SH3D don't start even with an empty file. Result in konsole: library initialization failed - unable to allocate file descriptor table - out of memorySolution for linux users found on the net: What fixed it was this command as root (su -) (sudo didn't do it): echo >/etc/security/limits.d/systemd.conf "* hard nofile 1048576"Then reboot. Solutions found here and here . I hope it will help someone. ---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law |
| Posted by Puybaret at Jun 6, 2024, 11:23:38 AM |
|
Re: 3D View "Display In Separate Window" Causes Hangs I was able to reproduce this issue by using the shortcut for Display in separate window / Display in main window menu items (Ctrl + Alt + Y) many times quickly. Andy, is it what you tried on your side? I found it wasn't a memory leak issue, but rather a problem of synchronization between separate / not separate state of the 3D view. Anyway, I fixed it and the correction will be available in the next version. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by A.D.STUDIO at Jun 6, 2024, 12:40:22 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs @Puybaret, yes that is exactly what has been happening to me. Thank you for looking into it and I look forward to the update. |
| Posted by Puybaret at Jun 6, 2024, 1:38:42 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs Don’t expect an update too soon and meanwhile, avoid attaching / detaching the 3D view too quickly. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by A.D.STUDIO at Jun 11, 2024, 2:36:09 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs Would you consider releasing a beta or something for me to test? I'm not actually toggling that fast and have a presentation in a week. |
| Posted by Puybaret at Jun 11, 2024, 3:38:23 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs Is it so difficult to refrain yourself from toggling detached 3D view?!? Or maybe your project is huge or it’s another issue. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Puybaret at Jun 11, 2024, 3:42:12 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs By the way, I noticed that the program didn't hang. If you click in the main window, it will activate it and you can continue to use it. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by A.D.STUDIO at Jun 12, 2024, 4:03:40 AM |
|
Re: 3D View "Display In Separate Window" Causes Hangs OK well it hangs for me. Not sure why you'd offer detached 3D view if you don't think people should use it. I'm on a single screen, and because it can be done with a key command, I can go full screen 3D with a button press, and back again, which is actually quite convenient. |
| Posted by A.D.STUDIO at Jun 12, 2024, 4:35:42 AM |
|
Re: 3D View "Display In Separate Window" Causes Hangs Maybe this is useful: Date/Time: 2024-06-12 13:17:47.575 +1000 End time: 2024-06-12 13:23:26.166 +1000 OS Version: macOS 14.5 (Build 23F79) Architecture: arm64e Report Version: 49 Incident Identifier: 76217BBB-55BE-4187-8557-4BC6B408EFA3 Data Source: Stackshots Shared Cache: 3406AD1B-2469-30EB-9863-5DCE861E6DEA slid base address 0x193b00000, slide 0x13b00000 (System Primary) Shared Cache: 6F51A82C-C96C-3BC8-82CA-9C109185BD3C slid base address 0x7ff812fd0000, slide 0x12fd0000 (Rosetta) Shared Cache: 03FF7F1F-0B2B-3DA3-9879-86BA9BC31444 slid base address 0x18178c000, slide 0x178c000 (DriverKit) Command: SweetHome3D Path: /Applications/Sweet Home 3D.app/Contents/MacOS/SweetHome3D Identifier: com.eteks.sweethome3d.SweetHome3D Version: 7.4 (7400) Team ID: U3J5N84335 Is First Party: No Beta Identifier: 672F1930-A82C-591A-B567-0833F98DE0FB Architecture: arm64 Parent: launchd [1] PID: 49929 Time Since Fork: 701s Event: hang Duration: 338.59s Duration Sampled: 1.50s (process was unresponsive for 337 seconds before sampling) Steps: 15 (100ms sampling interval) Hardware model: MacBookAir10,1 Active cpus: 8 HW page size: 16384 VM page size: 16384 Time Since Boot: 16760s Time Awake Since Boot: 4351s Time Since Wake: 3381s Total CPU Time: 3.004s (5.8G cycles, 8.8G instructions, 0.66c/i) Advisory levels: Battery -> 2, User -> 2, ThermalPressure -> 0, Combined -> 2 Free disk space: 58.01 GB/460.43 GB, low space threshold 3072 MB Vnodes Available: 65.38% (164576/251727) Preferred User Language: en-AU Country Code: AU OS Cryptex File Extents: 486 -------------------------------------------------- Timeline format: stacks are sorted chronologically Use -i and -heavy to re-report with count sorting -------------------------------------------------- Heaviest stack for the main thread of the target process: 15 start + 2360 (dyld + 24800) [0x193bbe0e0] 15 AppLauncher::launch(std::nothrow_t const&, void (*)(), LogAppender*) + 208 (SweetHome3D + 23332) [0x102625b24] 15 (anonymous namespace)::initJvmLauncher() + 524 (SweetHome3D + 60468) [0x10262ec34] 15 Jvm::launch() + 896 (SweetHome3D + 53868) [0x10262d26c] 15 JLI_Launch + 1196 (libjli.dylib + 13112) [0x102687338] 15 CreateExecutionEnvironment + 400 (libjli.dylib + 28812) [0x10268b08c] 15 CFRunLoopRunSpecific + 608 (CoreFoundation + 508980) [0x194024434] 15 __CFRunLoopRun + 828 (CoreFoundation + 511432) [0x194024dc8] 15 __CFRunLoopDoSources0 + 244 (CoreFoundation + 516572) [0x1940261dc] 15 __CFRunLoopDoSource0 + 176 (CoreFoundation + 517228) [0x19402646c] 15 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CoreFoundation + 517336) [0x1940264d8] 15 __NSThreadPerformPerform + 264 (Foundation + 496628) [0x1951763f4] 15 +[ThreadUtilities invokeBlockCopy:] + 28 (libosxapp.dylib + 23824) [0x103fd1d10] 15 +[AWTStarter starter:headless:] + 508 (libawt_lwawt.dylib + 404996) [0x103f52e04] 15 +[NSApplicationAWT runAWTLoopWithApp:] + 192 (libosxapp.dylib + 16400) [0x103fd0010] 15 -[NSApplication run] + 512 (AppKit + 184512) [0x1978770c0] 15 -[NSApplication _handleEvent:] + 60 (AppKit + 4704412) [0x197cc689c] 15 -[NSApplicationAWT sendEvent:] + 444 (libosxapp.dylib + 17420) [0x103fd040c] 15 -[NSApplication(NSEventRouting) sendEvent:] + 640 (AppKit + 8578148) [0x198078464] 15 routeKeyEquivalent + 444 (AppKit + 8586176) [0x19807a3c0] 15 -[NSMenu performKeyEquivalent:] + 300 (AppKit + 2790516) [0x197af3474] 15 _NSFindMenuItemMatchingCommandKeyEvent + 192 (AppKit + 2688700) [0x197ada6bc] 15 +[NSCocoaMenuImpl(KeyEvents) _menuItemWithKeyEquivalentMatchingEventRef:inMenu:includingDisabledItems:] + 460 (AppKit + 8648480) [0x198089720] 15 isMenuKeyEvent + 1856 (AppKit + 8650656) [0x198089fa0] 15 _checkMenuTreeForKeyEvent + 1800 (AppKit + 8658088) [0x19808bca8] 15 _checkMenuTreeForKeyEvent + 172 (AppKit + 8656460) [0x19808b64c] 15 _populateMenu + 160 (AppKit + 8666104) [0x19808dbf8] 15 -[NSMenu _populateWithFlags:] + 196 (AppKit + 7172932) [0x197f21344] 15 -[NSMenu _populateWithEventRef:] + 236 (AppKit + 1702456) [0x1979e9a38] 15 -[_NSServicesPrincipalMenuUpdater updateMenu:withEvent:withFlags:] + 216 (AppKit + 2694300) [0x197adbc9c] 15 -[_NSServicesMenuUpdater updateMenu:withEvent:withFlags:] + 64 (AppKit + 2782368) [0x197af14a0] 15 -[_NSServicesMenuUpdater insertServicesIntoMenu:withKeyEvent:isForDisplay:] + 192 (AppKit + 2782616) [0x197af1598] 15 -[_NSServicesPrincipalMenuUpdater updateVisibilityOfServicesItemsForMenu:isForDisplay:] + 260 (AppKit + 11772684) [0x19838430c] 15 -[_NSMenuContext qualifyEntries:withCompletionHandler:] + 328 (AppKit + 3551464) [0x197bad0e8] 15 -[_NSMenuContext _preconcurrentPortionOfQualifyEntries:returningEntriesNeedingURLTypecheckingIntoSet:] + 84 (AppKit + 3551896) [0x197bad298] 15 -[_NSMenuContext filterEntriesWithRequestorBySupportedSendAndReceiveTypes:returningSendTypesIntoArray:returningEntrie sNeedingURLTypecheckingIntoSet:] + 204 (AppKit + 12961148) [0x1984a657c] 15 +[NSServicesMenuHandler _requestorStartingWithChain:forProposedSendTypes:proposedReturnTypes:sendTypes:returnTypes:] + 1724 (AppKit + 3553960) [0x197badaa8] 15 -[AWTView validRequestorForSendType:returnType:] + 164 (libawt_lwawt.dylib + 50260) [0x103efc454] 15 -[AWTView accessibleSelectedText] + 24 (libawt_lwawt.dylib + 49632) [0x103efc1e0] 15 -[AWTView accessibilityFocusedUIElement] + 156 (libawt_lwawt.dylib + 49564) [0x103efc19c] 15 -[JavaComponentAccessibility accessibilityFocusedUIElement] + 624 (libawt_lwawt.dylib + 371092) [0x103f4a994] 15 jni_CallStaticObjectMethod + 292 (libjvm.dylib + 4462864) [0x104dc5910] 15 jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) + 264 (libjvm.dylib + 4461008) [0x104dc51d0] 15 JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*) + 804 (libjvm.dylib + 4068152) [0x104d65338] 15 ??? [0x10f2bdbc0] 15 ??? [0x115a676cc] 15 Java_sun_lwawt_macosx_LWCToolkit_doAWTRunLoopImpl + 360 (libawt_lwawt.dylib + 408372) [0x103f53b34] 15 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212 (Foundation + 375432) [0x195158a88] 15 CFRunLoopRunSpecific + 608 (CoreFoundation + 508980) [0x194024434] 11 __CFRunLoopRun + 1208 (CoreFoundation + 511812) [0x194024f44] 11 __CFRunLoopServiceMachPort + 160 (CoreFoundation + 517760) [0x194026680] 11 mach_msg + 24 (libsystem_kernel.dylib + 5496) [0x193f06578] 11 mach_msg_overwrite + 476 (libsystem_kernel.dylib + 40500) [0x193f0ee34] 11 mach_msg2_trap + 8 (libsystem_kernel.dylib + 4596) [0x193f061f4] *11 ??? (kernel.release.t8103 + 231580) [0xfffffe000855889c] |
| Posted by Puybaret at Jun 12, 2024, 11:38:41 AM |
|
Re: 3D View "Display In Separate Window" Causes Hangs I tried again on a MacBook Air M1 and I didn't succeed to make it crash. There could be something else (3D view size? File size?). Not sure why you'd offer detached 3D view if you don't think people should use it. Are you sure that kind of comment will help? By the way, you're the first one to report this issue that I tried to fix immediately. Don't ask too much! ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by A.D.STUDIO at Jun 12, 2024, 12:52:15 PM |
|
Re: 3D View "Display In Separate Window" Causes Hangs Thanks for helping. I wasn't sure why you would say "Is it so difficult to refrain yourself from toggling detached 3D view?!?", that didn't seem helpful, hence my comment. I'm just reporting an issue I'm experiencing, I only asked for a beta because you initially said it was reproducible and that you had a fix. Never mind if not. I don't want to argue with you here, appreciate your app, thought I was helping to contribute make it better. |
| Posted by Puybaret at Aug 24, 2024, 10:25:14 AM |
|
Re: 3D View "Display In Separate Window" Causes Hangs This bug was fixed in version 7.5. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Feb 4, 2026, 3:17:13 PM |