FS#41357 - [shutter] 0.91-2 Launching a second instance causes first instance to crash
Attached to Project:
Community Packages
Opened by Moabit (Moabit) - Saturday, 26 July 2014, 23:58 GMT
Last edited by Balló György (City-busz) - Tuesday, 24 January 2017, 12:24 GMT
Opened by Moabit (Moabit) - Saturday, 26 July 2014, 23:58 GMT
Last edited by Balló György (City-busz) - Tuesday, 24 January 2017, 12:24 GMT
|
Details
Description:
1) Start an instance of shutter. 2) Attempt to start another instance (e.g. with a "take screenshot" hotkey, or via any other method). 3) First instance crashes; second instance doesn't start. Impact: if users use a hotkey to take screenshots, they have to quit all running instances of shutter first. Hence, there is no easy way to take multiple screenshots rapidly. Additional info: * package version: 0.91-2, but this was experienced in earlier AUR versions too. I never encountered this in (K)ubuntu, and this bug appears to be specific to Arch. This thread appears to confirm this: https://bugs.launchpad.net/shutter/+bug/731874 * Output of first instance (running with --debug): > Segmentation fault * Output of second instance (running with --debug): > WARNING **: Error while sending message: GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus) at /usr/bin/shutter line 341, <DATA> line 19. > INFO: There is already another instance of Shutter running! (I tried getting the trace as per [1], but running `gdb /usr/bin/shutter` returns `"/usr/bin/shutter": not in executable format: File format not recognized`.) [1] https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines |
This task depends upon
Closed by Balló György (City-busz)
Tuesday, 24 January 2017, 12:24 GMT
Reason for closing: Won't fix
Additional comments about closing: The package is moved to AUR.
Tuesday, 24 January 2017, 12:24 GMT
Reason for closing: Won't fix
Additional comments about closing: The package is moved to AUR.
Using gdb, the bug is slightly different. Instead of the first instance aborting, it freezes instead, but stays visible. Here are the traces after launching the second instance.
First instance:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff641a610 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0
Second instance:
WARNING **: Error while sending message: Timeout was reached at /usr/bin/shutter line 341, <DATA> line 19.
INFO: There is already another instance of Shutter running!
[Thread 0x7fffe54af700 (LWP 8713) exited]
[Thread 0x7fffe5cb0700 (LWP 8712) exited]
[Inferior 1 (process 8706) exited normally]
I've also attached the full traces.
It's a bit buggy if I don't save (or close?) the first screenshot before taking another; I get a blank window. Everything feels a bit slower, too…
https://bugs.launchpad.net/shutter/+bug/731874/comments/14