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



The crash is cos your providers' store is trying to access the Vfolder
Trash when it does not actually support the trash vfolder.

The Trash and Junk folders in Evo are actually vfolders.=20

The store by default uses the Trash vfolder and the Junk vfolder (by
setting the CAMEL_STORE_VJUNK & CAMEL_STORE_VTRASH),=20

You could do 2 things here:

1. Use the Junk and Trash Vfolders by setting the flags for your store.
or
2. Implement your own Trash and Junk implemetation (implement get_trash
and get_junk methods of CamelStore)

Either of it would prevent it from crashing.

Hope it helps. (Michael would surely throw more light on it)

Cheers,
partha

On Mon, 2005-08-22 at 13:00 +0000, Jules Colding  wrote:
> Hi,
>=20
> 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?
>=20
>=20
> Thanks,
>   jules
>=20
> ########### Backtrace ###########
> Backtrace was generated from '/home/evo/opt/bin//evolution-2.4'
>=20
> 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=3D0x0, flags=3D1) at camel-url.c:321
> #4  0x00002aaab1f5b27e in camel_store_get_folder (store=3D0x6ec750,=20
>     folder_name=3D0x2aaab1f6a5e8 ".#evolution/Trash", flags=3D0, ex=3D0x0=
)
>     at camel-store.c:291
> #5  0x00002aaab272e0eb in mc_add_store (component=3D0x638c30, store=3D0x6=
ec750,=20
>     name=3D0x671a80 "evo omesc com", done=3D0) at mail-component.c:165
> #6  0x00002aaab272e979 in mail_component_load_store_by_uri (
>     component=3D0x638c30,=20
>     uri=3D0x672f10 "brutus://omc_user_0 omc-nt4-3 omesc com/;brutus_serve=
r=3Domc-w2k-3-4.omesc.com;ssliop_port=3D952;iiop_port=3D951;exchange_mailbo=
x=3DOMC%20User_0;windows_domain=3DOMC-NT4-DOMAIN", name=3D0x671a80 "evo ome=
sc.com")
>     at mail-component.c:1084
> #7  0x00002aaab272ed98 in impl_createControls (servant=3D0x2acab400e980,=20
>     corba_tree_control=3D0x7fffffffd8e8, corba_view_control=3D0x7fffffffd=
8f0,=20
>     corba_statusbar_control=3D0x7fffffffd8f8, ev=3D0x7fffffffd900)
>     at mail-component.c:328
> #8  0x00002aaaae4b8fee in ORBit_c_stub_invoke (obj=3D0x68bda0,=20
>     methods=3D0x2aaaaacd0cc8, method_index=3D1, ret=3D0x0, args=3D0x7ffff=
fffd8a0,=20
>     ctx=3D0x0, ev=3D0x7fffffffd900, class_id=3D9, method_offset=3D16,=20
>     skel_impl=3D0x2aaaaabc8250 <_ORBIT_skel_small_GNOME_Evolution_Compone=
nt_createControls>) at poa.c:2627
> #9  0x00002aaaaabc93b7 in GNOME_Evolution_Component_createControls (
>     _obj=3D0x2aaab0898660, sidebar_control=3D0x7fffffffd8e8,=20
>     view_control=3D0x7fffffffd8f0, statusbar_control=3D0x7fffffffd8f8,=20
>     ev=3D0x2aaab06762e8) at Evolution-stubs.c:23
> #10 0x0000000000412f78 in sidebar_button_selected_callback (
>     sidebar=3D0x2aaab0898660, button_id=3D32, window=3D0x60b120)
>     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.s=
o.0
> #15 0x00000000004140bd in e_shell_window_new (shell=3D0x660fb0,=20
>     component_id=3D0x6dca90 "mail") at e-shell-window.c:892
> #16 0x0000000000416390 in e_shell_create_window (shell=3D0x660fb0,=20
>     component_id=3D0x0, template_window=3D0x4) at e-shell.c:928
> #17 0x0000000000418220 in idle_cb (data=3D0x0) 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=3D0, argv=3D0x1) at main.c:602
>=20
> 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=3D0x0, flags=3D1) at camel-url.c:321
> 	str =3D (GString *) 0x6ec750
> 	return_result =3D 0x0
> #4  0x00002aaab1f5b27e in camel_store_get_folder (store=3D0x6ec750,=20
>     folder_name=3D0x2aaab1f6a5e8 ".#evolution/Trash", flags=3D0, ex=3D0x0=
)
>     at camel-store.c:291
> 	u =3D 0x6ec750 "p=CC=A7n"
> 	folder =3D (CamelFolder *) 0x0
> 	__PRETTY_FUNCTION__ =3D "camel_store_get_folder"
> #5  0x00002aaab272e0eb in mc_add_store (component=3D0x638c30, store=3D0x6=
ec750,=20
>     name=3D0x671a80 "evo omesc com", done=3D0) at mail-component.c:165
> No locals.
> #6  0x00002aaab272e979 in mail_component_load_store_by_uri (
>     component=3D0x638c30,=20
>     uri=3D0x672f10 "brutus://omc_user_0 omc-nt4-3 omesc com/;brutus_serve=
r=3Domc-w2k-3-4.omesc.com;ssliop_port=3D952;iiop_port=3D951;exchange_mailbo=
x=3DOMC%20User_0;windows_domain=3DOMC-NT4-DOMAIN", name=3D0x671a80 "evo ome=
sc.com")
>     at mail-component.c:1084
> 	ex =3D {id =3D CAMEL_EXCEPTION_NONE, desc =3D 0x0}
> 	store =3D (CamelStore *) 0x6ec750
> 	prov =3D (CamelProvider *) 0x57b6f0
> #7  0x00002aaab272ed98 in impl_createControls (servant=3D0x2acab400e980,=20
>     corba_tree_control=3D0x7fffffffd8e8, corba_view_control=3D0x7fffffffd=
8f0,=20
>     corba_statusbar_control=3D0x7fffffffd8f8, ev=3D0x7fffffffd900)
>     at mail-component.c:328
> 	mail_component =3D (MailComponent *) 0x638c30
> 	priv =3D (MailComponentPrivate *) 0x638ea0
> 	tree_control =3D (BonoboControl *) 0x638c30
> 	view_control =3D (BonoboControl *) 0x0
> 	statusbar_control =3D (BonoboControl *) 0x1
> 	tree_widget =3D (GtkWidget *) 0x55c8e0
> 	vbox =3D (GtkWidget *) 0x2acab400e980
> 	info =3D (GtkWidget *) 0x638ea0
> 	view_widget =3D (GtkWidget *) 0x2aaab275f260
> 	statusbar_widget =3D (GtkWidget *) 0x1
> 	uri =3D 0x2acab400e980 "`r["
> #8  0x00002aaaae4b8fee in ORBit_c_stub_invoke (obj=3D0x68bda0,=20
>     methods=3D0x2aaaaacd0cc8, method_index=3D1, ret=3D0x0, args=3D0x7ffff=
fffd8a0,=20
>     ctx=3D0x0, ev=3D0x7fffffffd900, class_id=3D9, method_offset=3D16,=20
>     skel_impl=3D0x2aaaaabc8250 <_ORBIT_skel_small_GNOME_Evolution_Compone=
nt_createControls>) at poa.c:2627
> 	servant =3D (PortableServer_ServantBase *) 0x638c58
> #9  0x00002aaaaabc93b7 in GNOME_Evolution_Component_createControls (
>     _obj=3D0x2aaab0898660, sidebar_control=3D0x7fffffffd8e8,=20
>     view_control=3D0x7fffffffd8f0, statusbar_control=3D0x7fffffffd8f8,=20
>     ev=3D0x2aaab06762e8) at Evolution-stubs.c:23
> 	_args =3D {0x7fffffffd898, 0x7fffffffd890, 0x7fffffffd888}
> #10 0x0000000000412f78 in sidebar_button_selected_callback (
>     sidebar=3D0x2aaab0898660, button_id=3D32, window=3D0x60b120)
>     at e-shell-window.c:222
> 	component_view =3D (ComponentView *) 0x6d8f70
> 	p =3D (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.s=
o.0
> No symbol table info available.
> #15 0x00000000004140bd in e_shell_window_new (shell=3D0x660fb0,=20
>     component_id=3D0x6dca90 "mail") at e-shell-window.c:892
> 	window =3D (EShellWindow *) 0x60b120
> 	priv =3D (EShellWindowPrivate *) 0x56f260
> 	gconf_client =3D (GConfClient *) 0x569bd0
> 	ui_container =3D (BonoboUIContainer *) 0x6dc980
> 	default_component_id =3D 0x6dca90 "mail"
> #16 0x0000000000416390 in e_shell_create_window (shell=3D0x660fb0,=20
>     component_id=3D0x0, template_window=3D0x4) at e-shell.c:928
> 	__t =3D 5748464
> 	__r =3D 5748464
> 	window =3D (EShellWindow *) 0x621c50
> 	__PRETTY_FUNCTION__ =3D "e_shell_create_window"
> #17 0x0000000000418220 in idle_cb (data=3D0x0) at main.c:380
> 	ev =3D {_id =3D 0x560cb0 "\001", _major =3D 5645840, _any =3D {
>     _type =3D 0x560e00, _value =3D 0x560a90, _release =3D 240 '=C3=B0'}}
> 	corba_shell =3D 0x6447b0
> 	ev =3D {_id =3D 0x0, _major =3D 0, _any =3D {_type =3D 0x0, _value =3D 0=
x0,=20
>     _release =3D 0 '\0'}}
> 	result =3D E_SHELL_CONSTRUCT_RESULT_OK
> 	startup_line_mode =3D 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=3D0, argv=3D0x1) at main.c:602
> 	options =3D {{longName =3D 0x41d954 "component", shortName =3D 99 'c',=20
>     argInfo =3D 1, arg =3D 0x523d80, val =3D 0,=20
>     descrip =3D 0x41d4c8 "Start Evolution activating the specified compon=
ent",=20
>     argDescrip =3D 0x0}, {longName =3D 0x41951c "offline", shortName =3D =
0 '\0',=20
>     argInfo =3D 0, arg =3D 0x523d7c, val =3D 0,=20
>     descrip =3D 0x41d95e "Start in offline mode", argDescrip =3D 0x0}, {
>     longName =3D 0x41cfb7 "online", shortName =3D 0 '\0', argInfo =3D 0,=20
>     arg =3D 0x523d78, val =3D 0, descrip =3D 0x41d974 "Start in online mo=
de",=20
>     argDescrip =3D 0x0}, {longName =3D 0x41d989 "force-shutdown",=20
>     shortName =3D 0 '\0', argInfo =3D 0, arg =3D 0x523d74, val =3D 0,=20
>     descrip =3D 0x41d500 "Forcibly shut down all Evolution components",=20
>     argDescrip =3D 0x0}, {longName =3D 0x41d998 "force-migrate",=20
>     shortName =3D 0 '\0', argInfo =3D 0, arg =3D 0x523d70, val =3D 0,=20
>     descrip =3D 0x41d530 "Forcibly re-migrate from Evolution 1.4",=20
>     argDescrip =3D 0x0}, {longName =3D 0x41d9a6 "debug", shortName =3D 0 =
'\0',=20
>     argInfo =3D 1, arg =3D 0x523d68, val =3D 0,=20
>     descrip =3D 0x41d558 "Send the debugging output of all components to =
a file.", argDescrip =3D 0x0}, {longName =3D 0x41d9ac "disable-eplugin",=20
>     shortName =3D 0 '\0', argInfo =3D 0, arg =3D 0x523d64, val =3D 0,=20
>     descrip =3D 0x41d590 "Disable loading of any plugins.", argDescrip =
=3D 0x0}, {
>     longName =3D 0x41d9bc "setup-only", shortName =3D 0 '\0',=20
>     argInfo =3D 1073741824, arg =3D 0x523d60, val =3D 0, descrip =3D 0x0,=
=20
>     argDescrip =3D 0x0}, {longName =3D 0x0, shortName =3D 0 '\0', argInfo=
 =3D 0,=20
>     arg =3D 0x0, val =3D 0, descrip =3D 0x0, argDescrip =3D 0x0}}
> 	client =3D (GConfClient *) 0x569bd0
> 	skip_warning_dialog =3D 1
> 	uri_list =3D (GSList *) 0x0
> 	popt_context_value =3D {g_type =3D 0, data =3D {{v_int =3D 0, v_uint =3D=
 0,=20
>       v_long =3D 0, v_ulong =3D 0, v_int64 =3D 0, v_uint64 =3D 0, v_float=
 =3D 0,=20
>       v_double =3D 0, v_pointer =3D 0x0}, {v_int =3D 0, v_uint =3D 0, v_l=
ong =3D 0,=20
>       v_ulong =3D 0, v_int64 =3D 0, v_uint64 =3D 0, v_float =3D 0, v_doub=
le =3D 0,=20
>       v_pointer =3D 0x0}}}
> 	program =3D (GnomeProgram *) 0x530a20
> 	popt_context =3D 0x2aaab0898660
> 	args =3D (const char **) 0x57b6f0
> 	evolution_directory =3D 0x57b6f0 " =C3=85n"
> 	icon_list =3D (GList *) 0x1
> #0  0x00002aaaaf6e8e84 in waitpid () from /lib/libpthread.so.0
>=20
>=20
> _______________________________________________
> evolution-hackers maillist  -  evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers



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