Bug 428764

Summary: AddressSanitizer: odr-violation in Konsole::Profile::staticMetaObject
Product: [Applications] konsole Reporter: Kurt Hindenburg <khindenburg>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: minor CC: christoph, sam
Priority: NOR    
Version First Reported In: master   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kurt Hindenburg 2020-11-06 19:06:41 UTC
This does not show up in 20.08.  This report is for reference.  Searching for this error, it may not be an actual Konsole issue.

It can be bypassed by "ASAN_OPTIONS=detect_odr_violation=1 konsole" or "ASAN_OPTIONS=detect_odr_violation=0 konsole"

https://github.com/google/sanitizers/wiki/AddressSanitizerFlags

==14808==ERROR: AddressSanitizer: odr-violation (0x7fc8115a0d00):
  [1] size=48 'Konsole::Profile::staticMetaObject' /mnt/storagetwo/Devel/KDE/build/konsole/src/profile/konsoleprofile_autogen/EWIEGA46WW/moc_Profile.cpp:226:56
  [2] size=48 'Konsole::Profile::staticMetaObject' /mnt/storagetwo/Devel/KDE/build/konsole/src/profile/konsoleprofile_autogen/EWIEGA46WW/moc_Profile.cpp:226:56
These globals were registered at these points:
  [1]:
==14808==WARNING: invalid path to external symbolizer!
==14808==WARNING: Failed to use and restart external symbolizer!
    #0 0x430cee  (/opt/kde/bin/konsole+0x430cee)
    #1 0x7fc8114f74eb  (/opt/kde/lib/x86_64-linux-gnu/libkdeinit5_konsole.so+0xfd4eb)

  [2]:
    #0 0x430cee  (/opt/kde/bin/konsole+0x430cee)
    #1 0x7fc8112125fb  (/opt/kde/lib/x86_64-linux-gnu/libkonsoleprivate.so.20+0x47f5fb)

==14808==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'Konsole::Profile::staticMetaObject' at /mnt/storagetwo/Devel/KDE/build/konsole/src/profile/konsoleprofile_autogen/EWIEGA46WW/moc_Profile.cpp:226:56
==14808==ABORTING
Comment 1 Christoph Cullmann 2024-12-01 20:05:02 UTC
I don't see that in current versions.