3D View "Display In Separate Window" Causes Hangs

This topic has been viewed 7514 times and has 13 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

Re: 3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

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:returningEntriesNeedingURLTypecheckingIntoSet:] + 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]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View "Display In Separate Window" Causes Hangs

Post by Puybaret »

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
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

Re: 3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View "Display In Separate Window" Causes Hangs

Post by Puybaret »

This bug was fixed in version 7.5.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest