[Bug 213494] Re: Glipper dies when desktop starting

2009-12-14 Thread Udo Güngerich
Ok, it crashed again, I removed the import of glipper (it's a directory)
and no crash so far, but I have to behold it for a while further...

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 213494] Re: Glipper dies when desktop starting

2009-12-10 Thread Udo Güngerich
Hi, it is been a long time since I cared about this bug, but the last
comment made me investigate again.

For all I can say now: The bug does not occur anymore on my machine with
my glipper version.

I think it extremely likely that this is indeed a race condition as many
others already pointed out. The lacking of my glipper crashing almost
proves it.

I changed the import order of these gnome, gtk and glipper libraries and
thus avoided the crash:

gobject
gtk
gnome
gnomeapplet
glipper
glipper.defs
glipper.Applet

I provided a try-except-block for each import with according logging.

As I said, I experience no crashes anymore, so this might be a solution.

I will attach my changed glipper script.

Regards, Udo

** Attachment added: "Glipper with logging and exception handling"
   http://launchpadlibrarian.net/36665221/glipper

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 213494] Re: Glipper dies when desktop starting

2009-06-18 Thread Udo Güngerich
This is the current patch to glipper.

At the moment it does not yet write one line of log per line of code,
but I'll get to that somewhen, I reckon :(

Maybe someone else will provide his log after applying the patch and
we'll eventually get to the core of the problem?!

Oh, and beware - the patch seems to be big. This is because the authors
of glipper used tabs for indentation *b* and I cleaned it ;)

** Attachment added: "Current patch"
   http://launchpadlibrarian.net/28063264/glipper.patch

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 213494] Re: Glipper dies when desktop starting

2009-06-18 Thread Udo Güngerich
I added another couple of loggings :)

I attach my log (the relevant bit).

It seems that - contrary to what I wrote above - Glipper crashes after
importing glipper, glipper.Applet and glipper.defs:

DEBUG:root:Importing glipper, glipper.Applet, glipper.defs...
2009-06-17T23:00:50.232058

I'll provide the (non-incremental) current patch in the next post :)

** Attachment added: "Log from crash"
   http://launchpadlibrarian.net/28063107/glipper.log

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 213494] Re: Glipper dies when desktop starting

2009-06-12 Thread Udo Güngerich
Right. So now I had another crash :(

Happened after my notebook did not properly wake up after suspend
because of lack of power.

I then had to do a normal boot and glipper crashed after log in to
GNOME.

So it's about one crash for maybe 4 times booting.

My log file says the crash happened right after the first message.

So the error must happen between "Trying to start glipper..." and

 while not ready:
 try:
 import gobject
 gobject.threads_init()
 import gtk, gnomeapplet, gnome
 ready = True

Logical next step is to make one debug line per code. We'll then be able
to tell where it crashes if there is only one place in the code or at
least know that there are many lines that make it crash or different
situations.

My log is attached. Crash happened at 2009-06-12T15:23:11.300143

I will provide a more verbose version in a while. Maybe we can track it
down...


** Attachment added: "Glipper log from Udo"
   http://launchpadlibrarian.net/27823025/glipper.log

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 213494] Re: Glipper dies when desktop starting

2009-06-10 Thread Udo Güngerich
btw: did a couple of restarts since and no crash happened anymore :)

Happy glipping!

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 213494] Re: Glipper dies when desktop starting

2009-06-09 Thread Udo Güngerich
Hi there,

I'm running Jaunty and are (since Hardy) experiencing the same problems.

I followed this thread which I only found today (luckily).

I spent some two hours to dig a little into the problem and found that
its got to do (as others above pointed out already) with some little
gnome inside the code ;)

I first suspected gobject.threads_init() as other resources pointed out,
that time and order of calls matter in PyGTK.

Then, as a first step, I added logging to see how far Glipper would
fare:

It is merely starting up before it crashes.

Being intrigued by this and by the fact that it really only happens at
boot time, I started to write this patch (see attachment).

For now after the first successful (re-)boot (done a far few by now)
test, Glipper *did not* crash with this code in place!

I'd be really curious whether it'll help others, so please give it a
try!

Best regards,

Udo

** Attachment added: "Logs to $HOME/glipper.log or whatever you set log_file 
to..."
   http://launchpadlibrarian.net/27691894/glipper.patch

-- 
Glipper dies when desktop starting
https://bugs.launchpad.net/bugs/213494
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs