You are not logged in.

#1 2023-04-10 00:46:20

shenweijiekdel
Member
Registered: 2022-05-29
Posts: 2

Flameshot crash when clicking copy to clipboard

Flameshot Version

Flameshot v12.1.0 (-)
Compiled with Qt 5.15.5

Operating System type and version
Linux shenweijie-pc 6.1.23-1-lts #1 SMP PREEMPT_DYNAMIC Thu, 06 Apr 2023 10:56:12 +0000 x86_64 GNU/Linux

Description
Crash when clicking copy to clipboard after taking screenshot under hyprland.I don't know if this has something to do with flameshot, I think it probably has something to do with my own system environment, I hope anyone can give me a guide,thanks!

Log:
4月 09 22:02:51 shenweijie-pc flameshot[2880]: qt.qpa.xcb: could not connect to display
4月 09 22:02:51 shenweijie-pc flameshot[2880]: qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
4月 09 22:02:51 shenweijie-pc flameshot[2880]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
                                               
                                                Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
4月 09 22:02:51 shenweijie-pc systemd[1]: Started Process Core Dump (PID 2882/UID 0).
4月 09 22:02:52 shenweijie-pc systemd-coredump[2885]: [?] Process 2880 (flameshot) of user 1000 dumped core.
                                                       
                                                       Stack trace of thread 2880:
                                                       #0  0x00007fa1900a08ec n/a (libc.so.6 + 0x878ec)
                                                       #1  0x00007fa190051ea8 raise (libc.so.6 + 0x38ea8)
                                                       #2  0x00007fa19003b53d abort (libc.so.6 + 0x2253d)
                                                       #3  0x00007fa19069fede _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9fede)
                                                       #4  0x00007fa190d3c9c5 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x13c9c5)
                                                       #5  0x00007fa190d3d009 _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x13d009)
                                                       #6  0x00007fa19089357b _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29357b)
                                                       #7  0x00007fa190d3d0b9 _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x13d0b9)
                                                       #8  0x00007fa191575e0e _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x175e0e)
                                                       #9  0x000055b7b719876f n/a (flameshot + 0xcd76f)
                                                       #10 0x000055b7b7117b10 n/a (flameshot + 0x4cb10)
                                                       #11 0x00007fa19003c790 n/a (libc.so.6 + 0x23790)
                                                       #12 0x00007fa19003c84a __libc_start_main (libc.so.6 + 0x2384a)
                                                       #13 0x000055b7b7121cd5 n/a (flameshot + 0x56cd5)
                                                       
                                                       Stack trace of thread 2881:
                                                       #0  0x00007fa1901139df __poll (libc.so.6 + 0xfa9df)
                                                       #1  0x00007fa18ef6c17f n/a (libglib-2.0.so.0 + 0xb717f)
                                                       #2  0x00007fa18ef0e1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                                                       #3  0x00007fa1908d8c6c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d8c6c)
                                                       #4  0x00007fa1908866ec _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2866ec)
                                                       #5  0x00007fa1906e725f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe725f)
                                                       #6  0x00007fa191d95cba n/a (libQt5DBus.so.5 + 0x23cba)
                                                       #7  0x00007fa1906e432a n/a (libQt5Core.so.5 + 0xe432a)
                                                       #8  0x00007fa19009ebb5 n/a (libc.so.6 + 0x85bb5)
                                                       #9  0x00007fa190120d90 n/a (libc.so.6 + 0x107d90)
                                                       ELF object binary architecture: AMD x86-64
4月 09 22:02:52 shenweijie-pc systemd[1]: systemd-coredump@3-2882-0.service: Deactivated successfully.
4月 09 22:02:52 shenweijie-pc dbus-daemon[861]: [session uid=1000 pid=861] Activated service 'org.flameshot.Flameshot' failed: Process org.flameshot.Flameshot received signal 6

Steps to reproduce
1. run flameshot gui
2. select a region on the primary monitor
3. copy to clipboard
4. clipboard is empty, run journalctl -xe to show the error log

System Information
System:
  Host: shenweijie-pc Kernel: 6.1.23-1-lts arch: x86_64 bits: 64
    Desktop: Hyprland Distro: Arch Linux
Graphics:
  Device-1: Intel HD Graphics 530 driver: i915 v: kernel
  Device-2: NVIDIA GM204M [GeForce GTX 960 OEM / 970M] driver: nouveau
    v: kernel
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.1
    compositor: Hyprland driver: X: loaded: modesetting unloaded: vesa
    dri: iris,nouveau gpu: i915,nouveau resolution: 1920x1080
  API: OpenGL v: 4.6 Mesa 23.0.2 renderer: Mesa Intel HD Graphics 530 (SKL
    GT2)

Monitors: 1
0: +eDP-1 1920/340x1080/190+0+0  eDP-1

Graphics:
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 3D controller: NVIDIA Corporation GM204M [GeForce GTX 960 OEM / 970M] (rev a1)

lshw -class display
WARNING: you should run this program as super-user.
  *-display                 
       description: 3D controller
       product: GM204M [GeForce GTX 960 OEM / 970M]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list rom
       configuration: driver=nouveau latency=0
       resources: irq:136 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
  *-display
       description: VGA compatible controller
       product: HD Graphics 530
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:137 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Offline

Board footer

Powered by FluxBB