Bug 442566 - crash EXC_BAD_ACCESS QMapNode
Summary: crash EXC_BAD_ACCESS QMapNode
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-16 23:07 UTC by vanyossi
Modified: 2021-10-15 17:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vanyossi 2021-09-16 23:07:30 UTC
Some crashes I encouner when launching krita. Some might be already fixed, and some could be glitches as I could never reproduce them again. I paste the backtrace in hopes of be certain the bug cannot happen again.

BACKTRACE

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x7b3e80010073a900)
  * frame #0: 0x000000010073a900 dyld`std::bad_exception::~bad_exception()
    frame #1: 0x000000010073a900 dyld`__cxa_pure_virtual + 24
    frame #2: 0x00000001006e9988 dyld`dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 108
    frame #3: 0x000000019530fcf4 libdyld.dylib`_dyld_fast_stub_entry(void*, long) + 168
    frame #4: 0x000000019530fc14 libdyld.dylib`dyld_stub_binder + 60
    frame #5: 0x000000011ee86b24
    frame #6: 0x000000011ee84720
    frame #7: 0x00000001077461c0 QtGui`QIcon::~QIcon() + 72
    frame #8: 0x000000010566f690 libkritawidgetutils.18.0.0.dylib`std::__1::enable_if<QTypeInfo<QIcon>::isComplex, void>::type QMapNodeBase::callDestructorIfNecessary<QIcon>(t=0x0000000108f75ce0) at qmap.h:103:70
    frame #9: 0x000000010566f640 libkritawidgetutils.18.0.0.dylib`QMapNode<QString, QIcon>::destroySubTree(this=0x0000000108f75cc0) at qmap.h:128:9
    frame #10: 0x000000010566f5d0 libkritawidgetutils.18.0.0.dylib`QMapData<QString, QIcon>::destroy(this=0x0000000108f75c90) at qmap.h:248:21
    frame #11: 0x000000010566f588 libkritawidgetutils.18.0.0.dylib`QMap<QString, QIcon>::~QMap(this=0x00000001057d1310) at qmap.h:339:46
    frame #12: 0x000000010566b118 libkritawidgetutils.18.0.0.dylib`QMap<QString, QIcon>::~QMap(this=0x00000001057d1310) at qmap.h:339:20
    frame #13: 0x000000019521b5d0 libsystem_c.dylib`__cxa_finalize_ranges + 408
    frame #14: 0x000000019521b948 libsystem_c.dylib`exit + 60
    frame #15: 0x0000000195311434 libdyld.dylib`start + 8
  thread #2
    frame #0: 0x00000001952baa8c libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #3
    frame #0: 0x00000001952baa8c libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #4
    frame #0: 0x00000001952baa8c libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #5
    frame #0: 0x00000001952baa8c libsystem_kernel.dylib`__workq_kernreturn + 8
  thread #6
    frame #0: 0x0000000000000000
  thread #7, name = 'OGL Profiler'
    frame #0: 0x00000001952b8dd4 libsystem_kernel.dylib`mach_msg_trap + 8
    frame #1: 0x00000001952b9184 libsystem_kernel.dylib`mach_msg + 76
    frame #2: 0x00000001d73b4a14 OpenGL`glcDebugListener + 332
    frame #3: 0x00000001952f3878 libsystem_pthread.dylib`_pthread_start + 320
  thread #8, name = 'com.apple.CFSocket.private'
    frame #0: 0x00000001952c31ec libsystem_kernel.dylib`__select + 8
    frame #1: 0x000000019541c280 CoreFoundation`__CFSocketManager + 624
    frame #2: 0x00000001952f3878 libsystem_pthread.dylib`_pthread_start + 320
Comment 1 vanyossi 2021-10-15 17:50:16 UTC
Closing as I could not reproduce or encounter it after a month.