Bug#1035572: geany crashes often when clicking to switch focus

2023-08-13 Thread Arthur de Jong
Package: geany
Followup-For: Bug #1035572

On Fri, 2023-05-05 at 18:27 +0200, Arthur de Jong wrote:
> Geany crashes for me on a regular basis. After some experimenting
> I've found a way to reproduce this:
> 
> - start geany
> - from a new terminal open a not-yet-existing file:
>     geany /tmp/some-file.txt
> - click a bit between geany and the terminal window

Today, I can no longer reproduce this even though the version of geany
hasn't changed. The problem might have been in one of the dependencies.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages geany depends on:
ii  geany-common 1.38-1
ii  libatk1.0-0  2.48.3-1
ii  libc62.37-7
ii  libcairo21.16.0-7
ii  libgcc-s113.2.0-1
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libglib2.0-0 2.76.4-4
ii  libgtk-3-0   3.24.38-2
ii  libpango-1.0-0   1.50.14+ds-1
ii  libpangocairo-1.0-0  1.50.14+ds-1
ii  libstdc++6   13.2.0-1

Versions of packages geany recommends:
ii  sensible-utils  0.0.20

Versions of packages geany suggests:
pn  doc-base  
pn  libvte9   

-- 
-- arthur - adej...@debian.org - https://people.debian.org/~adejong --



signature.asc
Description: This is a digitally signed message part


Bug#1035572: geany crashes often when clicking to switch focus

2023-05-05 Thread Arthur de Jong
Package: geany
Version: 1.38-1+b1
Severity: important

Geany crashes for me on a regular basis. After some experimenting I've
found a way to reproduce this:

- start geany
- from a new terminal open a not-yet-existing file:
geany /tmp/some-file.txt
- click a bit between geany and the terminal window

I think I've seen this also with files that do exist but the above
triggers the crash for me after a couple of clicks.

This is running under Gnome desktop with reasonably default settings.

Attached is a gdb backtrace.

Thanks

-- System Information:
Debian Release: 12.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-8-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages geany depends on:
ii  geany-common 1.38-1
ii  libatk1.0-0  2.46.0-5
ii  libc62.36-9
ii  libcairo21.16.0-7
ii  libgcc-s112.2.0-14
ii  libgdk-pixbuf-2.0-0  2.42.10+dfsg-1+b1
ii  libglib2.0-0 2.74.6-2
ii  libgtk-3-0   3.24.37-2
ii  libpango-1.0-0   1.50.12+ds-1
ii  libpangocairo-1.0-0  1.50.12+ds-1
ii  libstdc++6   12.2.0-14

Versions of packages geany recommends:
ii  sensible-utils  0.0.17+nmu1

Versions of packages geany suggests:
pn  doc-base  
pn  libvte9   

-- no debconf information

-- 
-- arthur - adej...@debian.org - https://people.debian.org/~adejong --

$ gdb geany
GNU gdb (Debian 13.1-2) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from geany...

This GDB supports auto-downloading debuginfo from the following URLs:
  
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Reading symbols from 
/local/arthur/.cache/debuginfod_client/30eed5a4b099db1e2e8e0382edabca21dc748da0/debuginfo...
  
(gdb) r
Starting program: /usr/bin/geany 
Downloading separate debug info for system-supplied DSO at 0x77fc9000
[Thread debugging using libthread_db enabled]   
   
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x72fbe6c0 (LWP 15639)] 
   
[New Thread 0x727bd6c0 (LWP 15640)]
[New Thread 0x71e516c0 (LWP 15641)] 
   
[Thread 0x71e516c0 (LWP 15641) exited]
[New Thread 0x71e516c0 (LWP 15642)]
[New Thread 0x70fba6c0 (LWP 15643)]
[Thread 0x71e516c0 (LWP 15642) exited]
[Thread 0x70fba6c0 (LWP 15643) exited]  
   
[New Thread 0x70fba6c0 (LWP 15644)] 
   
[New Thread 0x71e516c0 (LWP 15645)]
[New Thread 0x7fffe3fff6c0 (LWP 15647)]
[Thread 0x71e516c0 (LWP 15645) exited]  
   
[Thread 0x70fba6c0 (LWP 15644) exited]
[New Thread 0x71e516c0 (LWP 15661)] 
   
[New Thread 0x70fba6c0 (LWP 15662)]
[New Thread 0x7fff86ff16c0 (LWP 15663)]
[New Thread 0x7fff867f06c0 (LWP 15664)]
[Detaching after vfork from child process 15665]
[New Thread 0x7fff85bff6c0 (LWP 15670)] 
   
[New Thread 0x7fff853fe6c0 (LWP 15671)]
[Thread 0x7fff85bff6c0 (LWP 15670) exited]
[New Thread 0x7fff85bff6c0 (LWP 15672)]
[New Thread 0x7fff84b036c0 (LWP 15673)]
[Thread 0x7fff85bff6c0 (LWP 15672) exited]
[Thread 0x7fff84b036c0 (LWP 15673) exited]
[Thread 0x7fff853fe6c0 (LWP 15671) exited]
[New Thread 0x7fff853fe6c0 (LWP 15674)]
[New Thread 0x7fff84b036c0 (LWP 15675)]
[Thread 0x7fff853fe6c0