crash on selecting long text on the right pane.

Bug #1573553 reported by Péter Sümegi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
New
Undecided
Unassigned

Bug Description

To reproduce:
1. Open BleachBit
2. Select many cleaner (to produce a long list)
3. Click to the beginning of the text, scroll down with the scroll bar, [Shift]+click to the end of the text
    (Alternatively: right click to the text - > select all
4. The application will crash immediate.

When starting bleachbit from the terminal, the crash produces this message:

The program 'bleachbit' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 16528 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.)

-----------------------------------------------------------------------------

System information:
BleachBit version 1.10
GTK version 2.24.30
local_cleaners_dir = /usr/share/cleaners
locale_dir = /usr/share/locale/
options_dir = /home/pet3r/.config/bleachbit
personal_cleaners_dir = /home/pet3r/.config/bleachbit/cleaners
system_cleaners_dir = /usr/share/bleachbit/cleaners
locale.getdefaultlocale = ('en_US', 'UTF-8')
os.getenv('DESKTOP_SESSION') = /usr/share/xsessions/plasma5
os.getenv('LOGNAME') = pet3r
os.getenv('USER') = pet3r
os.getenv('SUDO_UID') = None
os.path.expanduser('~') = /home/pet3r
platform.linux_distribution() = ('openSUSE ', '42.1', 'x86_64')
platform.platform = Linux-4.1.20-11-default-x86_64-with-SuSE-42.1-x86_64
platform.version = #1 SMP PREEMPT Fri Mar 18 14:42:07 UTC 2016 (0a392b2)
sys.argv = ['/usr/bin/bleachbit']
sys.executable = /usr/bin/python
sys.version = 2.7.9 (default, Dec 13 2014, 18:02:08) [GCC]
__file__ = /usr/share/bleachbit/Diagnostic.pyc

Péter Sümegi (pet3r3)
description: updated
Revision history for this message
Andrew Ziem (ahziem1) wrote :

I just tried this with 53,958 files on Ubuntu 15.10 and gtk 2.24.28, but it did not crash. Then I pasted into gedit and confirmed the lines were all there.

Did you have more files than 53K?

Would you please test with another GTK version 2 application on your system? The following is a list of some GTK applications, though some use GTK 3 now

https://en.wikipedia.org/wiki/List_of_GTK%2B_applications

If it helps, I can provide you a test file with many lines to load into a GTK text editor.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.