Gajim crashes when you type too much in an input box

Bug #4445 reported by Christian Dröge
6
Affects Status Importance Assigned to Milestone
gajim (Ubuntu)
Fix Released
Low
Registry Administrators

Bug Description

Hello,
Gajim crashes, when I type a lot (> 1000 characters maybe?) in an input box (e. g. if I want to change a topic in a MUC).

Python version: 2.4.2-0ubuntu2
Gajim version:0.8.2-0ubuntu4 and 4231 (svn)
Distribution: Ubuntu - Dapper Drake

Here is the output of "python -d ./gajim.py":
/usr/share/gajim/src/roster_window.py:2047: GtkWarning: gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
  LaunchpadIntegration.add_items(widget,1,True,False)
The program 'gajim.py' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 16723 error_code 3 request_code 2 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.)

Another try with the svn version on another input box (svn version):
The program 'gajim' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 43851 error_code 16 request_code 7 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.)

A simple backtrace with "gdb python" and "run gajim.py", doesn't show something suspicious, but maybe I used gdb in a wrong way.

I don't think that this is a bug of Gajim but of a library or something similar, because I couldn't reproduce this on another distribution. Maybe someone should test this with another distribution...

Regards,
Christian

Changed in gajim:
assignee: nobody → motuim
Revision history for this message
Carthik Sharma (carthik) wrote :

Hi Christian,

Does this error still occur when using the latest Dapper Beta gajim package?

Please do let us know. Thank you for reporting this bug.

Changed in gajim:
status: Unconfirmed → Needs Info
Revision history for this message
Christian Dröge (christian-d) wrote :

Seems to be fixed now... -> closed

Changed in gajim:
status: Needs Info → Fix Released
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.