Re: [Evolution-hackers] Got Camel backtrace, want advise...



Hi Jules,

For starters, this is nothing to do with eds, it is crashing in
evolution, right? (where 'eds' == evolution data server process).

By default, the store will support a virtual trash and junk folder, you
wont need to know anything about it.  You only need to know about it,
when at some point, you implement your override for "Deleted items"
folder, and then you just implement get_trash.

Since it is trying to open the virtual trash folder, it means that the
flag is set.  So for a dummy server, don't worry about it.

The trace seems to be quite incomplete though - lots of frames missing.
To aid debugging i recommend compiling with -O0 always.

My best guess is that camel_vee_summary_add_folder() is calling
camel_session_get_uri() on the brutus-store, and that is crashing.
Probably brutus-store isn't setting session->url properly, possibly from
not calling the parent service construct() method.

 Michael

On Mon, 2005-08-22 at 15:00 +0200, Jules Colding wrote:
> Hi,
> 
> e-d-s is crashing at startup after I configured a new email account
> using my do-nothing Camel provider. I got the following trace from
> Bug-buddy. Am I correct in assuming that e-d-s is unhappy because I do
> not return a "Trash" folder?
> 
> 
> Thanks,
>   jules
> 
> ########### Backtrace ###########
> Backtrace was generated from '/home/evo/opt/bin//evolution-2.4'
> 
> Using host libthread_db library "/lib/libthread_db.so.1".
> [Thread debugging using libthread_db enabled]
> [New Thread 46912603355056 (LWP 7821)]
> 0x00002aaaaf6e8e84 in waitpid () from /lib/libpthread.so.0
> #0  0x00002aaaaf6e8e84 in waitpid () from /lib/libpthread.so.0
> #1  0x00002aaaac857ab4 in libgnomeui_module_info_get ()
>    from /usr/lib/libgnomeui-2.so.0
> #2  <signal handler called>
> #3  camel_url_to_string (url=0x0, flags=1) at camel-url.c:321
> #4  0x00002aaab1f5b27e in camel_store_get_folder (store=0x6ec750, 
>     folder_name=0x2aaab1f6a5e8 ".#evolution/Trash", flags=0, ex=0x0)
>     at camel-store.c:291
> #5  0x00002aaab272e0eb in mc_add_store (component=0x638c30, store=0x6ec750, 
>     name=0x671a80 "evo omesc com", done=0) at mail-component.c:165
> #6  0x00002aaab272e979 in mail_component_load_store_by_uri (
>     component=0x638c30, 
>     uri=0x672f10 "brutus://omc_user_0 omc-nt4-3 omesc com/;brutus_server=omc-w2k-3-4.omesc.com;ssliop_port=952;iiop_port=951;exchange_mailbox=OMC%20User_0;windows_domain=OMC-NT4-DOMAIN", name=0x671a80 "evo omesc com")
>     at mail-component.c:1084
> #7  0x00002aaab272ed98 in impl_createControls (servant=0x2acab400e980, 
>     corba_tree_control=0x7fffffffd8e8, corba_view_control=0x7fffffffd8f0, 
>     corba_statusbar_control=0x7fffffffd8f8, ev=0x7fffffffd900)
>     at mail-component.c:328
> #8  0x00002aaaae4b8fee in ORBit_c_stub_invoke (obj=0x68bda0, 
>     methods=0x2aaaaacd0cc8, method_index=1, ret=0x0, args=0x7fffffffd8a0, 
>     ctx=0x0, ev=0x7fffffffd900, class_id=9, method_offset=16, 
>     skel_impl=0x2aaaaabc8250 <_ORBIT_skel_small_GNOME_Evolution_Component_createControls>) at poa.c:2627
> #9  0x00002aaaaabc93b7 in GNOME_Evolution_Component_createControls (
>     _obj=0x2aaab0898660, sidebar_control=0x7fffffffd8e8, 
>     view_control=0x7fffffffd8f0, statusbar_control=0x7fffffffd8f8, 
>     ev=0x2aaab06762e8) at Evolution-stubs.c:23
> #10 0x0000000000412f78 in sidebar_button_selected_callback (
>     sidebar=0x2aaab0898660, button_id=32, window=0x60b120)
>     at e-shell-window.c:222
> #11 0x00002aaab01b216a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #12 0x00002aaab01c5bda in g_signal_has_handler_pending ()
>    from /usr/lib/libgobject-2.0.so.0
> #13 0x00002aaab01c6ace in g_signal_emit_valist ()
>    from /usr/lib/libgobject-2.0.so.0
> #14 0x00002aaab01c6e33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #15 0x00000000004140bd in e_shell_window_new (shell=0x660fb0, 
>     component_id=0x6dca90 "mail") at e-shell-window.c:892
> #16 0x0000000000416390 in e_shell_create_window (shell=0x660fb0, 
>     component_id=0x0, template_window=0x4) at e-shell.c:928
> #17 0x0000000000418220 in idle_cb (data=0x0) at main.c:380
> #18 0x00002aaab0512115 in g_main_context_dispatch ()
>    from /usr/lib/libglib-2.0.so.0
> #19 0x00002aaab0513bf5 in g_main_context_acquire ()
>    from /usr/lib/libglib-2.0.so.0
> #20 0x00002aaab0513f7a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> #21 0x00002aaaadfd83eb in bonobo_main () from /usr/lib/libbonobo-2.so.0
> #22 0x0000000000418693 in main (argc=0, argv=0x1) at main.c:602
> 
> Thread 1 (Thread 46912603355056 (LWP 7821)):
> #0  0x00002aaaaf6e8e84 in waitpid () from /lib/libpthread.so.0
> No symbol table info available.
> #1  0x00002aaaac857ab4 in libgnomeui_module_info_get ()
>    from /usr/lib/libgnomeui-2.so.0
> No symbol table info available.
> #2  <signal handler called>
> No symbol table info available.
> #3  camel_url_to_string (url=0x0, flags=1) at camel-url.c:321
> 	str = (GString *) 0x6ec750
> 	return_result = 0x0
> #4  0x00002aaab1f5b27e in camel_store_get_folder (store=0x6ec750, 
>     folder_name=0x2aaab1f6a5e8 ".#evolution/Trash", flags=0, ex=0x0)
>     at camel-store.c:291
> 	u = 0x6ec750 "p¸n"
> 	folder = (CamelFolder *) 0x0
> 	__PRETTY_FUNCTION__ = "camel_store_get_folder"
> #5  0x00002aaab272e0eb in mc_add_store (component=0x638c30, store=0x6ec750, 
>     name=0x671a80 "evo omesc com", done=0) at mail-component.c:165
> No locals.
> #6  0x00002aaab272e979 in mail_component_load_store_by_uri (
>     component=0x638c30, 
>     uri=0x672f10 "brutus://omc_user_0 omc-nt4-3 omesc com/;brutus_server=omc-w2k-3-4.omesc.com;ssliop_port=952;iiop_port=951;exchange_mailbox=OMC%20User_0;windows_domain=OMC-NT4-DOMAIN", name=0x671a80 "evo omesc com")
>     at mail-component.c:1084
> 	ex = {id = CAMEL_EXCEPTION_NONE, desc = 0x0}
> 	store = (CamelStore *) 0x6ec750
> 	prov = (CamelProvider *) 0x57b6f0
> #7  0x00002aaab272ed98 in impl_createControls (servant=0x2acab400e980, 
>     corba_tree_control=0x7fffffffd8e8, corba_view_control=0x7fffffffd8f0, 
>     corba_statusbar_control=0x7fffffffd8f8, ev=0x7fffffffd900)
>     at mail-component.c:328
> 	mail_component = (MailComponent *) 0x638c30
> 	priv = (MailComponentPrivate *) 0x638ea0
> 	tree_control = (BonoboControl *) 0x638c30
> 	view_control = (BonoboControl *) 0x0
> 	statusbar_control = (BonoboControl *) 0x1
> 	tree_widget = (GtkWidget *) 0x55c8e0
> 	vbox = (GtkWidget *) 0x2acab400e980
> 	info = (GtkWidget *) 0x638ea0
> 	view_widget = (GtkWidget *) 0x2aaab275f260
> 	statusbar_widget = (GtkWidget *) 0x1
> 	uri = 0x2acab400e980 "`r["
> #8  0x00002aaaae4b8fee in ORBit_c_stub_invoke (obj=0x68bda0, 
>     methods=0x2aaaaacd0cc8, method_index=1, ret=0x0, args=0x7fffffffd8a0, 
>     ctx=0x0, ev=0x7fffffffd900, class_id=9, method_offset=16, 
>     skel_impl=0x2aaaaabc8250 <_ORBIT_skel_small_GNOME_Evolution_Component_createControls>) at poa.c:2627
> 	servant = (PortableServer_ServantBase *) 0x638c58
> #9  0x00002aaaaabc93b7 in GNOME_Evolution_Component_createControls (
>     _obj=0x2aaab0898660, sidebar_control=0x7fffffffd8e8, 
>     view_control=0x7fffffffd8f0, statusbar_control=0x7fffffffd8f8, 
>     ev=0x2aaab06762e8) at Evolution-stubs.c:23
> 	_args = {0x7fffffffd898, 0x7fffffffd890, 0x7fffffffd888}
> #10 0x0000000000412f78 in sidebar_button_selected_callback (
>     sidebar=0x2aaab0898660, button_id=32, window=0x60b120)
>     at e-shell-window.c:222
> 	component_view = (ComponentView *) 0x6d8f70
> 	p = (GSList *) 0x57b6f0
> #11 0x00002aaab01b216a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> No symbol table info available.
> #12 0x00002aaab01c5bda in g_signal_has_handler_pending ()
>    from /usr/lib/libgobject-2.0.so.0
> No symbol table info available.
> #13 0x00002aaab01c6ace in g_signal_emit_valist ()
>    from /usr/lib/libgobject-2.0.so.0
> No symbol table info available.
> #14 0x00002aaab01c6e33 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> No symbol table info available.
> #15 0x00000000004140bd in e_shell_window_new (shell=0x660fb0, 
>     component_id=0x6dca90 "mail") at e-shell-window.c:892
> 	window = (EShellWindow *) 0x60b120
> 	priv = (EShellWindowPrivate *) 0x56f260
> 	gconf_client = (GConfClient *) 0x569bd0
> 	ui_container = (BonoboUIContainer *) 0x6dc980
> 	default_component_id = 0x6dca90 "mail"
> #16 0x0000000000416390 in e_shell_create_window (shell=0x660fb0, 
>     component_id=0x0, template_window=0x4) at e-shell.c:928
> 	__t = 5748464
> 	__r = 5748464
> 	window = (EShellWindow *) 0x621c50
> 	__PRETTY_FUNCTION__ = "e_shell_create_window"
> #17 0x0000000000418220 in idle_cb (data=0x0) at main.c:380
> 	ev = {_id = 0x560cb0 "\001", _major = 5645840, _any = {
>     _type = 0x560e00, _value = 0x560a90, _release = 240 'ð'}}
> 	corba_shell = 0x6447b0
> 	ev = {_id = 0x0, _major = 0, _any = {_type = 0x0, _value = 0x0, 
>     _release = 0 '\0'}}
> 	result = E_SHELL_CONSTRUCT_RESULT_OK
> 	startup_line_mode = 2961802848
> #18 0x00002aaab0512115 in g_main_context_dispatch ()
>    from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #19 0x00002aaab0513bf5 in g_main_context_acquire ()
>    from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #20 0x00002aaab0513f7a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
> No symbol table info available.
> #21 0x00002aaaadfd83eb in bonobo_main () from /usr/lib/libbonobo-2.so.0
> No symbol table info available.
> #22 0x0000000000418693 in main (argc=0, argv=0x1) at main.c:602
> 	options = {{longName = 0x41d954 "component", shortName = 99 'c', 
>     argInfo = 1, arg = 0x523d80, val = 0, 
>     descrip = 0x41d4c8 "Start Evolution activating the specified component", 
>     argDescrip = 0x0}, {longName = 0x41951c "offline", shortName = 0 '\0', 
>     argInfo = 0, arg = 0x523d7c, val = 0, 
>     descrip = 0x41d95e "Start in offline mode", argDescrip = 0x0}, {
>     longName = 0x41cfb7 "online", shortName = 0 '\0', argInfo = 0, 
>     arg = 0x523d78, val = 0, descrip = 0x41d974 "Start in online mode", 
>     argDescrip = 0x0}, {longName = 0x41d989 "force-shutdown", 
>     shortName = 0 '\0', argInfo = 0, arg = 0x523d74, val = 0, 
>     descrip = 0x41d500 "Forcibly shut down all Evolution components", 
>     argDescrip = 0x0}, {longName = 0x41d998 "force-migrate", 
>     shortName = 0 '\0', argInfo = 0, arg = 0x523d70, val = 0, 
>     descrip = 0x41d530 "Forcibly re-migrate from Evolution 1.4", 
>     argDescrip = 0x0}, {longName = 0x41d9a6 "debug", shortName = 0 '\0', 
>     argInfo = 1, arg = 0x523d68, val = 0, 
>     descrip = 0x41d558 "Send the debugging output of all components to a file.", argDescrip = 0x0}, {longName = 0x41d9ac "disable-eplugin", 
>     shortName = 0 '\0', argInfo = 0, arg = 0x523d64, val = 0, 
>     descrip = 0x41d590 "Disable loading of any plugins.", argDescrip = 0x0}, {
>     longName = 0x41d9bc "setup-only", shortName = 0 '\0', 
>     argInfo = 1073741824, arg = 0x523d60, val = 0, descrip = 0x0, 
>     argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 0, 
>     arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
> 	client = (GConfClient *) 0x569bd0
> 	skip_warning_dialog = 1
> 	uri_list = (GSList *) 0x0
> 	popt_context_value = {g_type = 0, data = {{v_int = 0, v_uint = 0, 
>       v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, 
>       v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, 
>       v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
>       v_pointer = 0x0}}}
> 	program = (GnomeProgram *) 0x530a20
> 	popt_context = 0x2aaab0898660
> 	args = (const char **) 0x57b6f0
> 	evolution_directory = 0x57b6f0 " Ån"
> 	icon_list = (GList *) 0x1
> #0  0x00002aaaaf6e8e84 in waitpid () from /lib/libpthread.so.0
> 
> 
> _______________________________________________
> evolution-hackers maillist  -  evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers
-- 
adfa(evolution-2.4:20087): gtkhtml-WARNING **: cannot find icon:
'stock_insert-url' in gnome 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]