xblstatus crashes when it is moved to back

Bug #226568 reported by Arman
6
Affects Status Importance Assigned to Milestone
XBL Status
Invalid
Undecided
Unassigned

Bug Description

this bug does not allow you to minimize xblstatus or put any windows over it without crashing it.
to reproduce:

1. launch app. do not connect yet. notice that it can be minimized now without crashing it
2. connect
3. try to minimize the app, then bring it back up
4. crashed - (see screenshot attached)

issue with the interface maybe?

using ubuntu hardy heron

Revision history for this message
Arman (abaratif) wrote :
Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

Thanks for the bug report.

I do not see this error on my computer running Hardy Heron. What version of xblstatus are you running? Also, what settings are you using in the preferences? Does the error happen every time? Also, do you see any errors printed to the terminal if you run it from there?

Revision history for this message
Arman (abaratif) wrote :

no problem!

im running xblstatus version 0.3, offline friends are shown, notifications are enabled, using libnotify. however, the crash happens regardless of settings. this error happens every time, and nothing is outputed to the terminal. when this happens, i try to close the app, but cannot, unless i lanuch it from the terminal and end the terminal session there, and/or manually kill the process

thanks!

Revision history for this message
Arman (abaratif) wrote :

im thinking this is something in an older fglrx driver, because i just updated mine, and the bug is gone. i also notice that xblstatus prints debug information to the terminal now!
sorry about the trouble, and thanks

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

Wow, that's very strange. I'm marking this bug invalid for now, but feel free to re-open if you run into the problem again.

Changed in xblstatus:
status: New → Invalid
Revision history for this message
Arman (abaratif) wrote :

ok, it is doing the same thing again, but at least it can print debug output now...

(code)
./xblstatus.py:501: GtkWarning: gtk_tree_model_filter_iter_next: assertion `GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
  gtk.main()
./xblstatus.py:501: GtkWarning: file /build/buildd/gtk+2.0-2.12.9/gtk/gtktreeview.c: line 5948 (validate_visible_area): assertion `has_next' failed.
There is a disparity between the internal view of the GtkTreeView,
and the GtkTreeModel. This generally means that the model has changed
without letting the view know. Any display from now on is likely to
be incorrect.

  gtk.main()

(/code)

lines 499-501 are

    # create the GUI
    xblstatus = XBLStatus(xbLive, config_parser)
    gtk.main()

so a gtk gui isssue...

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

I have seen this output before on my computer, but have not run into the display problem. It should definitely be fixed though, especially if it is causing problems with the friends list. Do you only get a blank display when you see that message output in the terminal?

Changed in xblstatus:
status: Invalid → New
Revision history for this message
Arman (abaratif) wrote :

yes. my friends list loads, i can see who is online and off, and the names of online friends are sent to the libnotify daemon. however, after this, the app crashes, and the friends list no longer shows anything (see screenshot from 1st comment

thanks

Changed in xblstatus:
status: New → Confirmed
Revision history for this message
Danny Hand (handman003) wrote :

I'd like to confirm that this is still happening with Revision 43.
Please see my attached screenshot.
1) Libnotify shows my connected friends.
2) My friend list never loads.
3) If I bring another program to the front and then switch back to XBL Status, the window greys out.
4) If I minimize and then bring XBL Status back to the front, the whole window whites out except for the title bar.
5) After a few seconds, everything turns grey. If I minimize then bring it back up again, it returns to state #4 then greys out again.

Nothing is printed to my terminal.

Thanks,
danny

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

Thanks for the additional information Danny. I tried again to reproduce it here and can't seem to get it to happen. I tried the original method of:

1. Open XBL Status
2. Minimize - works
3. Restore and connect
4. Immediately minimize
5. Notification bubbles appear fine
6. Restore - works

Am I missing a step here?

Revision history for this message
Danny Hand (handman003) wrote :

You did exactly what I did.

Today I installed the dbg packages for python, and tried to run XBL Status with that instead. Here's the output:

danny@JohnnyU:~/etc/xblstatus$ python-dbg ./xblstatus.py
Traceback (most recent call last):
  File "./xblstatus.py", line 35, in <module>
    import gtk
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py", line 30, in <module>
    import gobject as _gobject
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gobject/__init__.py", line 26, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "/usr/lib/pymodules/python2.6/gtk-2.0/glib/__init__.py", line 22, in <module>
    from glib._glib import *
ImportError: /usr/lib/pymodules/python2.6/gtk-2.0/glib/_glib.so: undefined symbol: Py_InitModule4
[37180 refs]

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

That looks like it could be a problem with pygtk. This bug is similar: https://bugs.launchpad.net/pygtk/+bug/282320. What distribution and version are you using? That bug looks like it is related to Python 2.5, but you have 2.6.

Revision history for this message
Danny Hand (handman003) wrote :

I'm using Ubuntu Karmic (9.10), python-gtk2 2.16.0-0ubuntu1, and python 2.6.4-0ubuntu1.

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

I am supposedly using exactly the same software (also on 9.10). I don't understand how we are seeing two completely different results.

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

Danny ... any luck with getting this to work, or are you still getting the same errors?

Revision history for this message
Danny Hand (handman003) wrote :

Hey Chris. Sorry I haven't gotten back to you yet. I reformatted my hard drive a few days ago and haven't had a chance to finish installing everything yet. I'll try to check about it tomorrow.

Revision history for this message
Danny Hand (handman003) wrote :

I just installed all the dependencies and ran the program. It works fine now. :)

I wonder what the problem was before. If it happens again, I'll be sure to let you know.

Revision history for this message
Chris Hollenbeck (chris-hollenbeck) wrote :

That is very strange. At least it is working now. I am going to mark this bug as invalid for the time being, but will reopen it if the problem shows up again.

Changed in xblstatus:
status: Confirmed → Invalid
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.