Skip to content
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

[Bug] 启动时随机 SIGSEGV #80

Open
1 task done
Trumeet opened this issue Feb 5, 2022 · 2 comments
Open
1 task done

[Bug] 启动时随机 SIGSEGV #80

Trumeet opened this issue Feb 5, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Trumeet
Copy link

Trumeet commented Feb 5, 2022

OS Version (系统版本)

Linux

Version Details (版本信息)

1.0.4

Describe the bug (问题描述)

有些时候可以启动,有些时候在界面出现前会 SIGSEGV。观察得之 1.0.3 和 1.0.4 都有该问题,但似乎 1.0.4 更加频繁。之前版本没有测试。

stdout:

[LOG]  -  : 
QObject::connect(QObject, CurseforgeModInfoWidget): invalid nullptr parameter
QObject::connect(CurseforgeMod, CurseforgeModInfoWidget): invalid nullptr parameter
QObject::connect(CurseforgeMod, CurseforgeModInfoWidget): invalid nullptr parameter
QObject::connect(CurseforgeMod, CurseforgeModInfoWidget): invalid nullptr parameter
QObject::connect(QObject, CurseforgeFileListWidget): invalid nullptr parameter
QObject::connect(CurseforgeMod, CurseforgeFileListWidget): invalid nullptr parameter
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect(QObject, ModrinthModInfoWidget): invalid nullptr parameter
QObject::connect(ModrinthMod, ModrinthModInfoWidget): invalid nullptr parameter
QObject::connect(ModrinthMod, ModrinthModInfoWidget): invalid nullptr parameter
fish: Job 1, './ModManager' terminated by signal SIGSEGV (Address boundary error)

编译环境:

  • OS: Arch Linux
  • Arch: x86_64
  • GCC: 11.1.0
  • Qt5: 5.15.2
  • $LANG: en_US.UTF-8

PKGBUILD:PKGBUILD

下面是我根据以上环境编译的 ModManager 1.0.4 带符号,以及 Core dump 文件:

archive.tar.gz

To Reproduce (复现问题)

如上所述,启动时有几率会崩溃。

Expected behavior (预期行为)

当然是不崩溃啦(

This issue is unique (这个issue是唯一的)

  • I have searched the issue tracker and did not find an issue describing my bug.

Additional context (额外说明)

No response

@Trumeet Trumeet added the bug Something isn't working label Feb 5, 2022
@Trumeet
Copy link
Author

Trumeet commented Feb 5, 2022

群友点拨,删掉 QT_QPA_PLATFORMTHEME 环境变量即可解决(之前值为 qt5ct )。不知道是不是兼容性问题。

@kaniol-lck
Copy link
Owner

不是很懂什么原因,也无法复现
可能跟环境以及 qt5ct 之间有什么关系

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants