> On Jan 8, 2024, at 10:29, Berthold Stoeger wrote: > > Hi Dirk, > > On Montag, 8. Jänner 2024 18:10:45 CET Dirk Hohndel via subsurface wrote: > > > So it seems like the crash happening on close on iOS is line 608 in > > qmlmanager.cpp - so at the end of the QMLManager destructor. > > This doesn't happen for me (mobile-on-desktop), so I'm not sure that I can > help. Can you send me the disassembly of QMLManager::~QMLManager()? > > E.g. in gdb: "disassemble QMLManager::~QMLManager()" Note that for me that > doesn't give the actual function, but only a stub: > > Dump of assembler code for function _ZN10QMLManagerD0Ev: > 0x000000000014b1e0 <+0>: endbr64 > 0x000000000014b1e4 <+4>: push %rbx > 0x000000000014b1e5 <+5>: mov %rdi,%rbx > 0x000000000014b1e8 <+8>: call 0x14af80 <_ZN10QMLManagerD2Ev> > 0x000000000014b1ed <+13>: mov %rbx,%rdi > 0x000000000014b1f0 <+16>: mov $0xf8,%esi > 0x000000000014b1f5 <+21>: pop %rbx > 0x000000000014b1f6 <+22>: jmp 0x104510 <_ZdlPvm@plt> > End of assembler dump. > > The actual function is then in 0x14af80, for whatever reason.
Now I need to figure out how to do that in Xcode ... Hmmm. Can't find an obvious way when I open the stack trace. It just shows the C++ code. Online I find suggestions how to do that when live-debugging an app on an iOS device. So I guess I DO need to try and reproduce this on my iPad. So far I wasn't able to... /D _______________________________________________ subsurface mailing list subsurface@subsurface-divelog.org http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface