Skip to content

smokeview source: add some debug print#2215

Merged
gforney merged 1 commit intofiremodels:masterfrom
gforney:master
Mar 10, 2025
Merged

smokeview source: add some debug print#2215
gforney merged 1 commit intofiremodels:masterfrom
gforney:master

Conversation

@gforney
Copy link
Copy Markdown
Contributor

@gforney gforney commented Mar 10, 2025

No description provided.

@gforney gforney merged commit d5f64ae into firemodels:master Mar 10, 2025
10 checks passed
@marcosvanella
Copy link
Copy Markdown
Contributor

when I compile the gnu_osx_64 target in debug mode, does it compile all needed libs including glut in debug mode?

@gforney
Copy link
Copy Markdown
Contributor Author

gforney commented Mar 10, 2025

you should see
unloading all files
unloading hvac
unloading volsmoke
unloading vslice
unloading slice
unloading plot3d
unloading boundary
unloading part
unloading iso
unloading zone
unloading 3d smoke
unloading volsmoke
update devices
LoadPlot3Dmenus

@marcosvanella
Copy link
Copy Markdown
Contributor

This is what I see now when I unload all (lldb):

...
slice min/max: VELOCITY m/s, min=     0.00186, max=      1.9137

Updated menus count: 6 nmenus: 107
unloading all files
unloading hvac
unloading volsmoke
unloading vslice
unloading slice
unloading plot3d
unloading boundary
unloading part
unloading iso
unloading zone
unloading 3d smoke
unloading volsmoke
update devices
LoadPlot2DMenu
Updated menus count: 7 nmenus: 107
Process 94917 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000000000000
error: memory read failed for 0x0
Target 0: (smokeview_osx_64_db) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x0000000000000000
    frame #1: 0x000000018724a394 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 32
    frame #2: 0x000000018724a038 CoreFoundation`__CFRunLoopDoTimer + 1012
    frame #3: 0x0000000187249b48 CoreFoundation`__CFRunLoopDoTimers + 356
    frame #4: 0x000000018722f530 CoreFoundation`__CFRunLoopRun + 1856
    frame #5: 0x000000018722e734 CoreFoundation`CFRunLoopRunSpecific + 588
    frame #6: 0x000000019279d530 HIToolbox`RunCurrentEventLoopInMode + 292
    frame #7: 0x00000001927a317c HIToolbox`ReceiveNextEventCommon + 216
    frame #8: 0x00000001927a3508 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 76
    frame #9: 0x000000018ada6848 AppKit`_DPSNextEvent + 660
    frame #10: 0x000000018b70cc24 AppKit`-[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 688
    frame #11: 0x00000001d388f0e8 GLUT`-[GLUTApplication _runMainLoopUntilDate:autoreleasePool:] + 148
    frame #12: 0x00000001d388f1b8 GLUT`-[GLUTApplication run] + 180
    frame #13: 0x00000001d389b848 GLUT`glutMainLoop + 192
    frame #14: 0x00000001001ddf24 smokeview_osx_64_db`main(argc=2, argv=0x000000016fdff688) at main.c:881:3
    frame #15: 0x0000000186dc8274 dyld`start + 2840
(lldb) 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants