[Github-comments] [geany/geany] Geany crashes when saving something, and big data is in clipboard (#1736)

concerneddeveloper notifications at xxxxx
Thu Jan 11 10:15:44 UTC 2018


OS: Xubuntu 16.04
Geany version: geany 1.32 (built on Dec 24 2017 with GTK 2.24.30, GLib 2.48.2)

Crash output:
The program 'geany' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 51873 error_code 3 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

How to reproduce.
1. Open any big text file. You can make one with the following bash script:
`for i in {1..1000000}; do echo 1234567890 >> big.txt; done`
2. Copy content of this file to clipboard (ctrl+a, ctrl+c).
3. Create a new file. Do not paste copied data.
4. Open save dialog (ctrl+s).
5. Start typing name (you can hold 1) or select target file several times (for me it always crashes before I select files 10 times). Geany crashes.

I built geany from github with `CFLAGS=-g` and tried to debug it with gdb. `bt` did not show anything.
I will give additional info if you need it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1736
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180111/9821d507/attachment.html>


More information about the Github-comments mailing list