Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-139698

Fix QTranslator crash in do_translate method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P5: Not important P5: Not important
    • None
    • 6.10.0 Beta3
    • Core: Locales (i18n)
    • Linux/X11

       

      #0  QTranslatorPrivate::do_translate (this=0xaaaad0c950d0, context=0xffff1f7c9ce8 <qt_meta_stringdata_dde__network__NetworkProcesser+312> "dde::network::NetworkProcesser", 
          sourceText=0xffff1f7cfcc8 "Wired Network", comment=<optimized out>, n=<optimized out>) at /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34
      
      warning: Source file is more recent than executable.
      34        return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
      [Current thread is 1 (Thread 0xffff1cdc7f30 (LWP 2698))]
      (gdb) bt
      #0  0x0000ffff9878959c in QTranslatorPrivate::do_translate(char const*, char const*, char const*, int) const (this=
          0xaaaad0c950d0, context=0xffff1f7c9ce8 <qt_meta_stringdata_dde__network__NetworkProcesser+312> "dde::network::NetworkProcesser", sourceText=0xffff1f7cfcc8 "Wired Network", comment=<optimized out>, n=<optimized out>) at /usr/include/aarch64-linux-gnu/bits/string_fortified.h:34
      #1  0x0000ffff98789e6c in QTranslator::translate(char const*, char const*, char const*, int) const
          (this=<optimized out>, context=<optimized out>, sourceText=<optimized out>, disambiguation=<optimized out>, n=<optimized out>) at kernel/qtranslator.cpp:1130
      #2  0x0000ffff98750c90 in QCoreApplication::translate(char const*, char const*, char const*, int)
          (context=0xffff1f7c9ce8 <qt_meta_stringdata_dde__network__NetworkProcesser+312> "dde::network::NetworkProcesser", sourceText=0xffff1f7cfcc8 "Wired Network", disambiguation=0x0, n=-1)
          at kernel/qcoreapplication.cpp:2115
      #3  0x0000ffff9875a278 in QMetaObject::tr(char const*, char const*, int) const (this=<optimized out>, s=s@entry=0xffff1f7cfcc8 "Wired Network", c=c@entry=0x0, n=n@entry=-1)
          at ../../include/QtCore/../../src/corelib/tools/qrefcount.h:71
      #4  0x0000ffff1f739f7c in dde::network::NetworkProcesser::tr(char const*, char const*, int) (n=-1, c=0x0, s=0xffff1f7cfcc8 "Wired Network") at ./src/impl/netinterface.h:34
      #5  0x0000ffff1f739f7c in dde::network::NetworkProcesser::updateDeviceName() (this=this@entry=0xfffef800c3e0) at ./src/impl/netinterface.cpp:63
      #6  0x0000ffff1f779268 in dde::network::NetworkManagerProcesser::onDeviceAdded(QString const&) (this=this@entry=0xfffef800c3e0, uni=...) at ./src/impl/networkmanager/networkmanagerprocesser.cpp:348
      #7  0x0000ffff1f779774 in dde::network::NetworkManagerProcesser::onDevicesChanged(QList<QDBusObjectPath> const&) (this=0xfffef800c3e0, devices=...) at /usr/include/aarch64-linux-gnu/qt5/QtCore/qrefcount.h:60
      #8  0x0000ffff1f71bbc0 in dde::network::NetworkManagerProcesser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)
          (_o=_o@entry=0xfffef800c3e0, _id=_id@entry=3, _a=_a@entry=0xffff1cdc6ed8, _c=QMetaObject::InvokeMetaMethod)
          at ./obj-aarch64-linux-gnu/src/dde-network-core_autogen/7GEH4STBHU/moc_networkmanagerprocesser.cpp:101
      #9  0x0000ffff1f7207ac in dde::network::NetworkManagerProcesser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_a=0xffff1cdc6ed8, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0xfffef800c3e0)
          at ./obj-aarch64-linux-gnu/src/dde-network-core_autogen/7GEH4STBHU/moc_networkmanagerprocesser.cpp:148
      #10 0x0000ffff1f7207ac in dde::network::NetworkManagerProcesser::qt_metacall(QMetaObject::Call, int, void**) (this=0xfffef800c3e0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xffff1cdc6ed8)
          at ./obj-aarch64-linux-gnu/src/dde-network-core_autogen/7GEH4STBHU/moc_networkmanagerprocesser.cpp:148
      #11 0x0000ffff9965241c in  () at /lib/aarch64-linux-gnu/libQt5DBus.so.5
      #12 0x0000ffff9877c3c4 in QObject::event(QEvent*) (this=0xfffef800c3e0, e=<optimized out>) at kernel/qobject.cpp:1251
      #13 0x0000ffff990e2664 in QString::QString() (this=0xfffef800c3e0) at ../../include/QtCore/../../src/corelib/tools/qarraydata.h:255
      #14 0x0000ffff990e2664 in QApplicationPrivate::desktopStyleKey() () at kernel/qapplication.cpp:1662
      #15 0x0000ffff990e9d54 in QApplication::notify(QObject*, QEvent*) (this=0xffffe83d62f8, receiver=0xfffef800c3e0, e=0xffff7c0381a0) at ../../include/QtCore/../../src/corelib/tools/qrect.h:184
      #16 0x0000000000000018 in  ()//代码占位符
      

       

        For Gerrit Dashboard: QTBUG-139698
        # Subject Branch Project Status CR V

            Eddy Edward Welbourne
            caimengci_uniontech mengci cai
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change