Open GoogleCodeExporter opened 9 years ago
If I attempt to download the same image with wget, I get this error:
ERROR: certificate common name `a248.e.akamai.net' doesn't match requested host
name `fbcdn-profile-a.akamaihd.net
Original comment by OXtVXL3...@gmail.com
on 11 Oct 2010 at 3:09
The common name mismatch isn't related, it is the mutex.
Gwibber gets a list of new_messages, and iterates over them and if
notifications are enabled it do a gobject.idle_add to handle the notification.
Part of the function called handles the avatar caching. I think it is firing
these off very close together and libproxy isn't handling that well. If I add
a time.sleep(3) before the idle_add, it doesn't crash.
Original comment by OXtVXL3...@gmail.com
on 11 Oct 2010 at 4:08
Could you run it into valgrind and attach the report ? This looks like memory
corruption somewhere.
Thanks,
Nicolas
Original comment by nicolas.dufresne@gmail.com
on 12 Oct 2010 at 12:13
I can't reproduce this in valgrind, seems to slow it down enough that it never
gets triggered.,
Original comment by OXtVXL3...@gmail.com
on 13 Oct 2010 at 4:10
A couple more observations, I haven't reproduced this on i386, it seems to only
happen on 64 bit. Also, setting pf = None after each getProxies call helped.
I moved the instantiation of the ProxyFactory object to try to isolate it and
let the object be long lasting, which helped even more than setting it to None
each time. But the crash still happens pretty often.
I am experimenting with using gtk.gdk.threads_init instead of
gobject.threads_init then using "with gdk_lock" everywhere we call getProxies,
and so far this seems to be the best work around I have found. It has actually
lasted a couple hours now without a crash. But it adds a pygtk depends to the
gwibber-service which we really don't want.
Original comment by OXtVXL3...@gmail.com
on 21 Oct 2010 at 4:54
This is definatly a bug when run with multi-cpu, thus locking issue.
Original comment by nicolas.dufresne@gmail.com
on 7 Nov 2010 at 2:17
Original issue reported on code.google.com by
OXtVXL3...@gmail.com
on 11 Oct 2010 at 3:01