-
Notifications
You must be signed in to change notification settings - Fork 399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address Sanitizer Abort on launch #402
Comments
Are you using the custom-built binaries, or building from source yourself? (Or a distro?) |
I installed from the Arch User Repository[1], so it is built locally. |
Ok. Can you try the provided binaries and see if you still have trouble? My first suspicion is that you have something on your system that wasn't rebuilt correctly, or a stale copy of a library somewhere. |
@rburchell "a stale copy of a library" is an interesting idea: I wonder if this is happening for Arch users when they update Qt without rebuilding Ricochet. If that's true, a reinstall/rebuild of Ricochet against the newer Qt libraries should fix it. |
Also, ASAN won't be on by default for release builds in the future, which will get rid of this error. See #341. |
That's a good thing. But on the other hand, this ASAN error may be something much more annoying waiting to bite if it isn't a false alarm. |
reinstalling the package from the aur didn't change the behaviour, the prebuilt binary however runs correctly |
Can you install |
sure: linux-vdso.so.1 (0x00007fffd03bb000) |
Not me. @mkroman |
Sorry for the delayed reply. @special I don't maintain the ricochet AUR package, however, I sent a patch to the current maintainer and ASAN should now be disabled. |
@mkroman Thanks! We'll consider this fixed, then. |
ricochet (1.1.2-3) crashes on launch with output like this:
`qrc:/ui/MainWindow.qml:89:17: QML Loader: Binding loop detected for property "active"
==1718==ERROR: AddressSanitizer: new-delete-type-mismatch on 0x608000315320 in thread T0:
object passed to delete has wrong type:
size of the allocated type: 96 bytes;
size of the deallocated type: 64 bytes.
#0 0x7fa87e3d7fa2 in operator delete(void_, unsigned long) /build/gcc-multilib/src/gcc-5-20160209/libsanitizer/asan/asan_new_delete.cc:108
#1 0x7fa861149a0e (/usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so+0x3fa0e)
#2 0x7fa861122fa5 (/usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so+0x18fa5)
#3 0x7fa87b83af52 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2a8f52)
#4 0x7fa87b844523 in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2b2523)
#5 0x7fa87d748fcc in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x192fcc)
#6 0x7fa87d7633d5 (/usr/lib/libQt5Quick.so.5+0x1ad3d5)
#7 0x7fa87b83af52 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2a8f52)
#8 0x7fa87b844523 in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2b2523)
#9 0x7fa87d748fcc in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x192fcc)
#10 0x7fa87d762925 (/usr/lib/libQt5Quick.so.5+0x1ac925)
#11 0x7fa87b83af52 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2a8f52)
#12 0x7fa87b844523 in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2b2523)
#13 0x7fa87d748fcc in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x192fcc)
#14 0x7fa860ef6963 (/usr/lib/qt/qml/QtQuick/Layouts/libqquicklayoutsplugin.so+0xb963)
#15 0x7fa87b83af52 in QObjectPrivate::deleteChildren() (/usr/lib/libQt5Core.so.5+0x2a8f52)
#16 0x7fa87b844523 in QObject::~QObject() (/usr/lib/libQt5Core.so.5+0x2b2523)
#17 0x7fa87d748fcc in QQuickItem::~QQuickItem() (/usr/lib/libQt5Quick.so.5+0x192fcc)
#18 0x7fa87d763495 (/usr/lib/libQt5Quick.so.5+0x1ad495)
#19 0x7fa87b83d68f in QObject::event(QEvent_) (/usr/lib/libQt5Core.so.5+0x2ab68f)
#20 0x7fa87d74739a in QQuickItem::event(QEvent_) (/usr/lib/libQt5Quick.so.5+0x19139a)
#21 0x7fa87ce9168b in QApplicationPrivate::notify_helper(QObject_, QEvent_) (/usr/lib/libQt5Widgets.so.5+0x15568b)
#22 0x7fa87ce968f5 in QApplication::notify(QObject_, QEvent_) (/usr/lib/libQt5Widgets.so.5+0x15a8f5)
#23 0x7fa87b810517 in QCoreApplication::notifyInternal2(QObject_, QEvent_) (/usr/lib/libQt5Core.so.5+0x27e517)
#24 0x7fa87b8123d9 in QCoreApplicationPrivate::sendPostedEvents(QObject_, int, QThreadData*) (/usr/lib/libQt5Core.so.5+0x2803d9)
#25 0x7fa87b865882 (/usr/lib/libQt5Core.so.5+0x2d3882)
#26 0x7fa8790f4f06 in g_main_context_dispatch (/usr/lib/libglib-2.0.so.0+0x49f06)
#27 0x7fa8790f515f (/usr/lib/libglib-2.0.so.0+0x4a15f)
#28 0x7fa8790f520b in g_main_context_iteration (/usr/lib/libglib-2.0.so.0+0x4a20b)
#29 0x7fa87b865c8e in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) (/usr/lib/libQt5Core.so.5+0x2d3c8e)
#30 0x7fa87b80e6f9 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) (/usr/lib/libQt5Core.so.5+0x27c6f9)
#31 0x7fa87b816b7b in QCoreApplication::exec() (/usr/lib/libQt5Core.so.5+0x284b7b)
#32 0x55838f3e00fd (/usr/bin/ricochet+0x2660fd)
#33 0x7fa879f6970f in __libc_start_main (/usr/lib/libc.so.6+0x2070f)
#34 0x55838f3e51a8 (/usr/bin/ricochet+0x26b1a8)
0x608000315320 is located 0 bytes inside of 96-byte region [0x608000315320,0x608000315380)
allocated by thread T0 here:
#0 0x7fa87e3d73a2 in operator new(unsigned long) /build/gcc-multilib/src/gcc-5-20160209/libsanitizer/asan/asan_new_delete.cc:60
#1 0x7fa861148a77 (/usr/lib/qt/qml/QtQuick/Controls/libqtquickcontrolsplugin.so+0x3ea77)
SUMMARY: AddressSanitizer: new-delete-type-mismatch /build/gcc-multilib/src/gcc-5-20160209/libsanitizer/asan/asan_new_delete.cc:108 operator delete(void*, unsigned long)
==1718==HINT: if you don't care about these warnings you may set ASAN_OPTIONS=new_delete_type_mismatch=0
==1718==ABORTING
`
The text was updated successfully, but these errors were encountered: