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

[Debian testing crashed] exec 'flameshot gui' in debian testing distro, crashed by Segmentation Fault #3367

Closed
kean0048 opened this issue Oct 8, 2023 · 3 comments
Labels
Bug It's a bug

Comments

@kean0048
Copy link

kean0048 commented Oct 8, 2023

Flameshot Version

Flameshot 12.1.0 and master branch

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Debian testing

Description

Installed the Flameshot 12.1.0 in testing version, when I exec 'flameshot gui', output:
QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
Segmentation fault

then I pull the master branch and compile in locally and meet the same issues.
m75t@debian:/Downloads$ flameshot gui
QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
Segmentation fault
m75t@debian:
/Downloads$

Steps to reproduce

  1. install or compile from source code, v12.1.0 and master branch
  2. run 'flameshot gui'
  3. crashed -> QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
    Segmentation fault

Screenshots or screen recordings

flameshot-gui

System Information

m75t@debian:~/Downloads$ uname -a
Linux debian 6.4.0-3-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.4.11-1 (2023-08-17) x86_64 GNU/Linux

Monitor:

monitor

@kean0048 kean0048 added the Unconfirmed Bug The bug is not confirmed by anyone else. label Oct 8, 2023
@marceldev89
Copy link
Contributor

I'm seeing the same issue on arch using flameshot-git so I guess it's confirmed now :)

@marceldev89
Copy link
Contributor

marceldev89 commented Oct 9, 2023

Figured out while testing different commits that #3313 is the cause and they're already aware of it, apparently. 😛

@mmahmoudian mmahmoudian added Bug It's a bug and removed Unconfirmed Bug The bug is not confirmed by anyone else. labels Oct 9, 2023
@kean0048
Copy link
Author

@marceldev89,

Thanks for your update.
It works on my platform, that's fine.
Kean.

panpuchkov pushed a commit to namecheap/flameshot that referenced this issue Dec 22, 2023
…-org#3367) (flameshot-org#3370)

* Pass argc as reference to reinitializeAsQApplication (fixes flameshot-org#3367)

* Formatting

(cherry picked from commit f54d4c7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It's a bug
Projects
None yet
Development

No branches or pull requests

3 participants