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

            Bug ID: 374046
           Summary: GCC address sanitizer-enabled apps crash with QtCurve
           Product: QtCurve
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: qt5
          Assignee: yyc1...@gmail.com
          Reporter: eugene.shalygin+bugzilla....@gmail.com
                CC: h...@kde.org
  Target Milestone: ---

When an application is compiled with -fsanitize=address, it crashes on startup.
Below is a part of stacktrace. Unfortunately, the qtcurve part is not decoded.
I'm on Gentoo, qtcurve installed with debug CXXFLAGS, splitdebug and 
installsources features enabled, but no good stacktrace :(

==5849==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60300005387d
at pc 0x7f4157f0215f bp 0x7ffc250a1a30 sp 0x7ffc250a11e0
READ of size 9 at 0x60300005387d thread T0
    #0 0x7f4157f0215e 
(/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/libasan.so.3+0x8b15e)
    #1 0x7f4132e1ba5b  (/usr/lib64/qt5/plugins/styles/qtcurve.so+0x99a5b)
    #2 0x7f4132e20184  (/usr/lib64/qt5/plugins/styles/qtcurve.so+0x9e184)
    #3 0x7f4132e1ec1a  (/usr/lib64/qt5/plugins/styles/qtcurve.so+0x9cc1a)
    #4 0x7f4132da1407  (/usr/lib64/qt5/plugins/styles/qtcurve.so+0x1f407)
    #5 0x7f4132da1318  (/usr/lib64/qt5/plugins/styles/qtcurve.so+0x1f318)
    #6 0x7f4132e00707  (/usr/lib64/qt5/plugins/styles/qtcurve.so+0x7e707)
    #7 0x7f41449f879a in QStyleFactory::create(QString const&)
(/usr/lib64/libQt5Widgets.so.5+0x1c479a)
    #8 0x7f4144992032 in QApplication::style()
(/usr/lib64/libQt5Widgets.so.5+0x15e032)
    #9 0x7f4144992304 in QApplicationPrivate::initialize()
(/usr/lib64/libQt5Widgets.so.5+0x15e304)
    #10 0x7f4144992353 in QApplicationPrivate::init()
(/usr/lib64/libQt5Widgets.so.5+0x15e353)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to