[konsole] [Bug 439634] Segfault on launch/invalid memory access

Martin Sandsmark bugzilla_noreply at kde.org
Thu Jul 8 10:54:42 BST 2021


https://bugs.kde.org/show_bug.cgi?id=439634

--- Comment #2 from Martin Sandsmark <martin.sandsmark at kde.org> ---
Seems like the commit broke ODR and made some global static mess, and probably
what causes both this and https://bugs.kde.org/show_bug.cgi?id=439633 (which
crashes without ASAN as well):

=================================================================
==454108==ERROR: AddressSanitizer: odr-violation (0x55e42e3b1bc0):
  [1] size=48 'staticMetaObject'
src/session/konsolesession_autogen/EWIEGA46WW/moc_SessionManager.cpp:112:38
  [2] size=48 'staticMetaObject'
src/session/konsolesession_autogen/EWIEGA46WW/moc_SessionManager.cpp:112:38
These globals were registered at these points:
  [1]:
    #0 0x7f8a524583fa in __asan_register_globals
/build/gcc/src/gcc/libsanitizer/asan/asan_globals.cpp:341
    #1 0x55e42dffed3d in _sub_I_00099_1
(/home/sandsmark/src/konsole/build/bin/konsole+0x4c2d3d)
    #2 0x55e42e16c22c in __libc_csu_init
(/home/sandsmark/src/konsole/build/bin/konsole+0x63022c)

  [2]:
    #0 0x7f8a524583fa in __asan_register_globals
/build/gcc/src/gcc/libsanitizer/asan/asan_globals.cpp:341
    #1 0x7f8a51c60bb1 in _sub_I_00099_1
(/home/sandsmark/src/konsole/build/bin/libkonsoleapp.so.21+0x377bb1)
    #2 0x7f8a52e49e2d in call_init (/lib64/ld-linux-x86-64.so.2+0xfe2d)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list