Slashtime 0.5.10 crash when closing About dialog

View: New views
2 Messages — Rating Filter:   Alert me  

Slashtime 0.5.10 crash when closing About dialog

by Bugzilla from ken69267@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey all,

I was using the application Slashtime[1] while testing it for stability
and discovered a crash triggered by the About dialog. Triggering the
crash was simple: Simply launch Slashtime, open the About dialog, and
then click on close. This would cause the application to crash.

This behavior occurred on my desktop machine which was running
java-gnome 4.0.12. I double checked my laptop to confirm it wasn't an
environment fluke and found that it did not crash, but the
laptop was using java-gnome 4.0.11. I upgraded my laptop to java-gnome
4.0.12 to see if the new version was introducing the crash. It wasn't.

After a little bit of thought and since my laptop was slightly behind
in updates, I decided to upgrade gtk+ on my laptop (2.16.1) to 2.16.5
which is what my desktop was running. Slashtime then started crashing
as it did on my desktop. For confirmation I downgraded my desktop's
gtk+ from 2.16.5 down to 2.16.1 and Slashtime did not crash.

So as far as I can tell, the About dialog in Slashtime crashes when
closed when gtk+ 2.16.5 is installed but does not crash when gtk+ 2.16.1
is installed.

The question now is why is the About dialog crashing in gtk+ 2.16.5?

For reference I will include the crash output:

ken@Midori ~ % slashtime
Warning: ~/.tzlist not found. Using fallback Place list instead.
Exception in thread "main" org.gnome.glib.FatalError: Gdk-CRITICAL
gdk_x11_atom_to_xatom_for_display: assertion `atom != GDK_NONE' failed
        at org.gnome.gtk.GtkDialog.gtk_dialog_run(Native Method)
        at org.gnome.gtk.GtkDialog.run(GtkDialog.java:205)
        at org.gnome.gtk.Dialog.run(Dialog.java:184)
        at slashtime.ui.ZonesWindow$9.onActivate(ZonesWindow.java:399)
        at org.gnome.gtk.GtkAction.receiveActivate(GtkAction.java:391)
        at org.gnome.gtk.GtkMain.gtk_main(Native Method)
        at org.gnome.gtk.GtkMain.main(GtkMain.java:57)
        at org.gnome.gtk.Gtk.main(Gtk.java:95)
        at slashtime.client.Master.main(Master.java:59)

[1]: http://research.operationaldynamics.com/projects/slashtime/

--
Ken69267 | AMD64 Gentoo Linux Developer


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

signature.asc (205 bytes) Download Attachment

Re: Slashtime 0.5.10 crash when closing About dialog

by Andrew Cowie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-08-05 at 01:07 -0400, Kenneth Prugh wrote:
> Triggering the
> crash was simple: Simply launch Slashtime, open the About dialog, and
> then click on close. This would cause the application to crash.

Well that sucks.

> So as far as I can tell, the About dialog in Slashtime crashes when
> closed when gtk+ 2.16.5 is installed but does not crash when gtk+ 2.16.1
> is installed.

So I noticed the same CRITICAL thrown out when I was running OpenOffice
Impress briefly this afternoon.

So it's not just something we're doing.

The question I have now is whether this is:

a) some change that is internal to GTK (outside possibility a bug in
GTK, more usual is that they went and changed something that now results
in a CRITICAL being reported [uh? middle of a stable release series?
What the hell?]),

b) or something to do with the way Gentoo is packaging GTK,

c) something wrong in java-gnome (probably not, since I've seen another
application emit this)

d) something fundamentally incorrect in the way that Slashtime (and
other applications) are using GTK.


Let's see. The code in question is:

        dialog = new AboutDialog();
        ...
        dialog.run();
        dialog.hide();


which is, as I understand things, how it's suppose to be! And since this
use to work fine, I'll be damned if I know what changed. We certainly
haven't changed anything in our internals that has anything even
remotely close to having anything to do wit this.

So I agree,

> The question now is why is the About dialog crashing in gtk+ 2.16.5?

AfC
Sydney

--
Andrew Frederick Cowie

Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management: enabling
successful deployment of mission critical information technology in
enterprises, worldwide.

http://www.operationaldynamics.com/

Sydney   New York   Toronto   London


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
java-gnome-developer mailing list
java-gnome-developer@...
https://lists.sourceforge.net/lists/listinfo/java-gnome-developer

signature.asc (205 bytes) Download Attachment