After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 535516 - Crash while replying [GConf Bridge]
Crash while replying [GConf Bridge]
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: High blocker
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
: 563866 577056 578915 583769 585132 586713 586788 587136 588723 590555 591130 592922 593574 598245 599253 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-05-29 15:28 UTC by Srinivasa Ragavan
Modified: 2009-10-22 08:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (18.08 KB, image/png)
2008-05-29 16:16 UTC, Srinivasa Ragavan
Details
test patch (1.90 KB, text/plain)
2009-04-10 10:41 UTC, Milan Crha
Details

Description Srinivasa Ragavan 2008-05-29 15:28:36 UTC


  • #8 <signal handler called>
  • #9 g_type_check_instance_is_a
    from /usr/lib/libgobject-2.0.so.0
  • #10 gtk_window_get_position
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 window_binding_perform_scheduled_sync
    at gconf-bridge.c line 631
  • #12 ??
    from /usr/lib/libglib-2.0.so.0


I got this trace, while I was clicking replying. Just before that I got a error dialog that was all corrupted string wrt gconf and pressing OK crashed. I remember seeing the dialog before.
Comment 1 Matthew Barnes 2008-05-29 16:06:57 UTC
Sounds vaguely composer related, but need more details.  Is it repeatable?  Can you post of screenshot of the corrupted error dialog next time you see it?
Comment 2 Srinivasa Ragavan 2008-05-29 16:14:06 UTC
Ok I got it now again. But this time, I did C+R, closed and C+R and closed, and this dialog popped up. Im sure next it is gonna crash.
Comment 3 Srinivasa Ragavan 2008-05-29 16:16:04 UTC
Created attachment 111742 [details]
Screenshot 

(evolution:11508): e-utils-WARNING **: GConf error:
  Bad key or directory name: "\u0018U\u0013	_height": Must begin with a slash '/'

(evolution:11508): e-utils-WARNING **: GConf error:
  Bad key or directory name: "\u0018U\u0013	_maximized": Must begin with a slash '/'


But it didnt crash this time. But last time, it crashed for me.
Comment 4 Srinivasa Ragavan 2008-05-29 16:18:18 UTC
Ok. Keep playing with C+R and Escape 4-5 time, you must see the crash/dialog atleast once.

  • #8 <signal handler called>
  • #9 gdk_window_get_state
    from /usr/lib/libgdk-x11-2.0.so.0
  • #10 window_binding_perform_scheduled_sync
    at gconf-bridge.c line 604
  • #11 ??
    from /usr/lib/libglib-2.0.so.0
  • #12 ??
  • #13 ??


It got it again.
Comment 5 Srinivasa Ragavan 2008-05-29 16:20:41 UTC
(evolution:11508): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `GtkWidget'
 was there on the console this time.l
Comment 6 Matthew Barnes 2008-05-29 16:42:44 UTC
My guess is maybe GConfBridge is trying to manipulate a dead EMsgComposer instance.  Maybe I'm missing an unbind() call somewhere in the finalize logic.

I've tried this repeatedly myself and can't seem to reproduce it.  An Escape keypress is handled by simply activating the "close" action, same as closing via the window manager or doing File -> Close.  Can you reproduce this by closing the window some other way?
Comment 7 Srinivasa Ragavan 2008-05-29 17:21:05 UTC


  • #0 strlen
    from /lib/libc.so.6
  • #1 g_strconcat
    from /usr/lib/libglib-2.0.so.0
  • #2 window_binding_perform_scheduled_sync
    at gconf-bridge.c line 617


Different one this time.
Comment 8 Matthew Barnes 2008-05-29 20:29:14 UTC
I worked on this a bit today but wound up confusing myself even more.

window_binding_perform_scheduled_sync() is a timeout callback.  When GConfBridge unbinds the window, it cancels the timeout by calling g_source_remove() and then destroys the WindowBinding structure.  Everything about it looks correct to me.  Yet somehow the callback is still getting invoked after the timeout has been cancelled.  So the callback gets a dangling "binding" pointer, as I suspected.

I still have no idea what this has to do with maximizing the window, but indeed I can only seem to get this to occur when the composer window is maximized.

I'll keep digging tomorrow...
Comment 9 André Klapper 2009-01-11 16:35:06 UTC
Got the same trace as in comment 7. Evo 2.24.2.
Happened whien switching to another folder while downloading mail (not replying).

There was a gconf popup about the error too:
(evolution:3959): e-utils-WARNING **: GConf error:
  Bad key or directory name: »�\u0011�_width«: Must begin with a slash (/)




  • #8 <signal handler called>
  • #9 strlen
    at ../sysdeps/i386/i486/strlen.S line 69
  • #10 IA__g_strconcat
    at gstrfuncs.c line 249
  • #11 window_binding_perform_scheduled_sync
    at gconf-bridge.c line 617
  • #12 g_timeout_dispatch
    at gmain.c line 3589
  • #13 g_main_dispatch
    at gmain.c line 2144
  • #14 IA__g_main_context_dispatch
    at gmain.c line 2697

Comment 10 Milan Crha 2009-01-12 12:39:05 UTC
Sounds very same as bug #555663, I believe the fix there fixes this too, but if you are able to reproduce this in some way on 2.24.2, then please try the same steps on 2.24.3.
Comment 11 Sebastien Bacher 2009-03-11 23:47:50 UTC
https://bugs.launchpad.net/evolution/+bug/335787 has a similar crash on 2.24.3
Comment 12 Akhil Laddha 2009-04-06 06:46:03 UTC
*** Bug 577056 has been marked as a duplicate of this bug. ***
Comment 13 Milan Crha 2009-04-08 18:04:02 UTC
Looking around in those two above bugs, you were so good to timely close your window just when it was writing postponed information about window position and so on, which leads to using already freed memory (thus the garbage reported by GConf). I thought this all runs on main thread, thus locking couldn't help much, but it doesn't seem so now. Or something caused to process events from window within the call inside that function processing, like accessibility features (assistive technologies).

Do you have such thing turned on?
Comment 14 Nick Jenkins 2009-04-09 00:01:26 UTC
(I'm the reporter of the Ubuntu bug linked to in comment #11).

> ... like accessibility features (assistive technologies).
> Do you have such thing turned on?

No - at least, not to the best of my knowledge (i.e. if it is enabled, then it's by accident - but the desktop seems to behave like a standard desktop, so I have to assume it's off).
Comment 15 Paul Menzel 2009-04-09 08:11:42 UTC
(In reply to comment #13)
> … like accessibility
> features (assistive technologies).
> 
> Do you have such thing turned on?

No. I do not either. I am just using Ctrl + scrool wheel for zooming. But I probably did not in this case. But if I did, it was by accident. But reading what I did (Bug 577056) that seems unlikely.


Thanks,

Paul
Comment 16 Milan Crha 2009-04-10 10:41:58 UTC
Created attachment 132454 [details]
test patch

for evolution;

I cannot reproduce this myself, which is pity, because it might be much easier to produce a fix for such a thing. Anyway, is anybody of you seeing this able to give a try to this test patch, please? If you do not compile yourself then please do not try just because of this, it's not as that easy to compile evolution.
Comment 17 Akhil Laddha 2009-04-15 03:20:43 UTC
*** Bug 578915 has been marked as a duplicate of this bug. ***
Comment 18 Akhil Laddha 2009-04-15 03:21:30 UTC
bug 563866 could also be a dupe 
Comment 19 Matthew Barnes 2009-04-26 21:17:41 UTC
*** Bug 563866 has been marked as a duplicate of this bug. ***
Comment 20 Fredrik Wendt 2009-05-13 14:32:24 UTC
This bug has been nagging me for the past week. Every time I've tried send an e-mail this happens.

I use Ubuntu 8.10 on an Acer AspireOne (mini laptop/netbook) with some added packages from https://launchpad.net/netbook-remix which among other things maximizes windows. The maximizer I'm using is maximus_0.4.8~ppa1_i386.deb.
Comment 21 André Klapper 2009-05-13 14:48:03 UTC
Yes, this is an already known bug, because it has been filed here. It's likely that some users run into it. There's a request to test the patch in comment 16.
Comment 22 Akhil Laddha 2009-05-25 06:09:52 UTC
*** Bug 583769 has been marked as a duplicate of this bug. ***
Comment 23 Milan Crha 2009-05-28 12:50:51 UTC
Created commit b33ce8f in evo master.

As it's a test patch, to master only. It took to long, thus committing myself. Also closing, but please reopen if you see in 2.27.3+. Thanks.
Comment 24 Matthew Barnes 2009-05-28 13:22:57 UTC
Milan, would you mind pushing that patch upstream?

http://bugzilla.openedhand.com/enter_bug.cgi?product=GConf%20Bridge
Comment 25 Milan Crha 2009-05-28 14:01:59 UTC
Probably not, just that I do not have account there.
Comment 26 Matthew Barnes 2009-05-28 14:27:11 UTC
So sign up.  It's free.

http://bugzilla.openedhand.com/createaccount.cgi
Comment 27 Akhil Laddha 2009-06-09 11:43:57 UTC
*** Bug 585132 has been marked as a duplicate of this bug. ***
Comment 28 André Klapper 2009-06-09 12:05:22 UTC
Milan, can you please forward this upstream?
Comment 29 Milan Crha 2009-06-09 12:30:56 UTC
(In reply to comment #28)
> Milan, can you please forward this upstream?

Eh, I mind to create an account there, I'm sorry.
Comment 30 Fabio Durán Verdugo 2009-06-23 13:29:40 UTC
*** Bug 586713 has been marked as a duplicate of this bug. ***
Comment 31 Akhil Laddha 2009-06-24 03:54:45 UTC
*** Bug 586788 has been marked as a duplicate of this bug. ***
Comment 32 Fabio Durán Verdugo 2009-06-27 15:57:51 UTC
*** Bug 587136 has been marked as a duplicate of this bug. ***
Comment 33 André Klapper 2009-07-07 15:29:09 UTC
(In reply to comment #29)
> (In reply to comment #28)
> > Milan, can you please forward this upstream?
> 
> Eh, I mind to create an account there, I'm sorry.

Thanks for not getting the concept of upstream and downstream.

Filed for lazy people: http://bugzilla.openedhand.com/show_bug.cgi?id=1680
Comment 34 André Klapper 2009-07-31 18:34:55 UTC
*** Bug 588723 has been marked as a duplicate of this bug. ***
Comment 35 Akhil Laddha 2009-08-03 04:32:39 UTC
*** Bug 590555 has been marked as a duplicate of this bug. ***
Comment 36 Akhil Laddha 2009-08-10 10:23:24 UTC
*** Bug 591130 has been marked as a duplicate of this bug. ***
Comment 37 Akhil Laddha 2009-08-25 04:20:05 UTC
*** Bug 592922 has been marked as a duplicate of this bug. ***
Comment 38 André Klapper 2009-08-30 21:28:49 UTC
*** Bug 593574 has been marked as a duplicate of this bug. ***
Comment 39 Akhil Laddha 2009-10-13 10:54:55 UTC
*** Bug 598245 has been marked as a duplicate of this bug. ***
Comment 40 Akhil Laddha 2009-10-22 08:56:08 UTC
*** Bug 599253 has been marked as a duplicate of this bug. ***