Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934374 - net-im/nheko-0.12.0 segfaults with dev-qt/qtbase-6.7.1
Summary: net-im/nheko-0.12.0 segfaults with dev-qt/qtbase-6.7.1
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-15 20:17 UTC by ray
Modified: 2024-07-15 18:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,15.52 KB, text/plain)
2024-06-15 20:17 UTC, ray
Details
nheko backtrace (nheko-bt.txt,28.68 KB, text/plain)
2024-06-15 20:17 UTC, ray
Details
nheko backtrace 2 (nheko-backtrace-2.txt,17.19 KB, text/plain)
2024-07-15 17:10 UTC, ray
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ray 2024-06-15 20:17:13 UTC
Created attachment 895884 [details]
emerge --info

This segfault occurs immediately after launching nheko or after clicking a few ui elements. I have built both qtbase and nheko with debug flags and attached a backtrace of nheko.

It appears the issue is with libQt6Gui.so.6
Comment 1 ray 2024-06-15 20:17:37 UTC
Created attachment 895885 [details]
nheko backtrace
Comment 2 tea 2024-06-16 15:04:23 UTC
i'm not able to reproduce this. however, i use glibc and gcc. it has been suggested in chat that the problem might be the same as in <https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b4f3c13ff83e5a9b0470252393279b02c323d7f>

could you try rebuilding sys-libs/libcxx and sys-libs/libcxxabi with MYCMAKEARGS="-DLIBCXX_TYPEINFO_COMPARISON_IMPLEMENTATION=1" in package.env[1] before rebuilding dev-qt/qtbase?

[1] <https://wiki.gentoo.org/wiki//etc/portage/package.env>
Comment 3 Andreas Sturmlechner gentoo-dev 2024-07-15 14:32:48 UTC
ping @ray - can you try that out or did the problem fix itself for you?
Comment 4 ray 2024-07-15 17:07:07 UTC
Sorry for the belated response.

We had a conversation over matrix in the gentoo room with parona. It was concluded that this fix wasn't something that would help in my case so I didn't bother trying it. It has been a while since then and a few packages have been updated. However, I do get a few crashes here and there, maybe it's the same issue or a different issue entirely but I would have to upload another backtrace.

Kind regards,
Comment 5 ray 2024-07-15 17:10:43 UTC
Created attachment 897672 [details]
nheko backtrace 2

Here is another backtrace that I have just obtained after using nheko for a few minutes.
Comment 6 Ionen Wolkens gentoo-dev 2024-07-15 18:34:12 UTC
Not sure if the guru's maitnainer want this bug, but given it was assigned to qt@ I'll just go ahead and close this for now (feel free to keep discussing it though).

This package isn't in ::gentoo and I'm not aware of this affecting anything else at the moment. This sound more like something that should be analyzed upstream.

There's also no telling whether is really a Qt regression (could've been working by accident with UB given the type of error, happens that bumps end up exposing such issues). If it is, should ideally be reported to Qt's upstream, then maybe we'll get a fix to backport.
Comment 7 Ionen Wolkens gentoo-dev 2024-07-15 18:40:03 UTC
(if feeling adventurous, could try qtbase-6.7.9999 in case it may be already fixed, or even 6.8.9999 albeit that one may be more broken, don't even bother with 6.9999 -- 6.7.3 is not due until August 30 or later, and 6.8 late September).