FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 01-11-2010, 10:11 PM
Iain Buchanan
 
Default evolution segfault and other b0rkage

Hi all,

I've done some updates around Jan 4 - 8 which has borken evolution - it
segfaults when retrieving imap mail. I had a look at the trace and
started recompiling (note - same versions) some random libs (libbonobo,
dbus-glib, gtkhtml, etc.) and then I couldn't log in or start firefox.
hm.

I've recompiled further and got back to square one (there were dbus
breakages for some reason) - evolution segfaults. With a new user and
clean login, the same account settings don't trouble it at all. Other
imap accounts are ok. It's just this one account.

I don't know if it's a particular message that's causing it or something
else... Can someone please look at the backtrace?

muchos muchos muchos gracias!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb30ffb70 (LWP 18667)]
IA__g_str_hash (v=0x0) at gstring.c:99
99 gstring.c: No such file or directory.
in gstring.c
(gdb) thread apply all bt

Thread 23 (Thread 0xb0006b70 (LWP 18704)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb66792d2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0xb6a5bfae in g_cond_timed_wait_posix_impl (cond=0xfffffdfc,
entered_mutex=0x9, abs_time=0xb00062b8) at gthread-posix.c:242
#3 0xb62413dc in g_async_queue_pop_intern_unlocked (queue=0x80f4310,
try=<value optimized out>, end_time=0xb00062b8) at gasyncqueue.c:365
#4 0xb62913c7 in g_thread_pool_wait_for_new_task (data=0x80f42d8)
at gthreadpool.c:220
#5 g_thread_pool_thread_proxy (data=0x80f42d8) at gthreadpool.c:254
#6 0xb628feff in g_thread_create_proxy (data=0x864ada0) at gthread.c:635
#7 0xb66748ff in start_thread (arg=0xb0006b70) at pthread_create.c:297
#8 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 16 (Thread 0xae63fb70 (LWP 18697)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb66792d2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0xb6a5bfae in g_cond_timed_wait_posix_impl (cond=0xfffffdfc,
---Type <return> to continue, or q <return> to quit---
entered_mutex=0xb, abs_time=0xae63f2b8) at gthread-posix.c:242
#3 0xb62413dc in g_async_queue_pop_intern_unlocked (queue=0x831d2a8,
try=<value optimized out>, end_time=0xae63f2b8) at gasyncqueue.c:365
#4 0xb62913c7 in g_thread_pool_wait_for_new_task (data=0x831d270)
at gthreadpool.c:220
#5 g_thread_pool_thread_proxy (data=0x831d270) at gthreadpool.c:254
#6 0xb628feff in g_thread_create_proxy (data=0x8540fb8) at gthread.c:635
#7 0xb66748ff in start_thread (arg=0xae63fb70) at pthread_create.c:297
#8 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xaf805b70 (LWP 18674)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6678fa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb624139e in g_async_queue_pop_intern_unlocked (queue=0xb3118e30,
try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3 0xb6241726 in IA__g_async_queue_pop (queue=0xb3118e30) at gasyncqueue.c:398
#4 0xb7c0125d in sync_request_thread_cb (cFile=0xb31192d8) at camel-db.c:78
#5 0xb628feff in g_thread_create_proxy (data=0xb3118e70) at gthread.c:635
#6 0xb66748ff in start_thread (arg=0xaf805b70) at pthread_create.c:297
#7 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

---Type <return> to continue, or q <return> to quit---
Thread 10 (Thread 0xb0807b70 (LWP 18672)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6678fa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb624139e in g_async_queue_pop_intern_unlocked (queue=0x83027d8,
try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3 0xb6241726 in IA__g_async_queue_pop (queue=0x83027d8) at gasyncqueue.c:398
#4 0xb7c0125d in sync_request_thread_cb (cFile=0x830a4f8) at camel-db.c:78
#5 0xb628feff in g_thread_create_proxy (data=0x830a020) at gthread.c:635
#6 0xb66748ff in start_thread (arg=0xb0807b70) at pthread_create.c:297
#7 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xb18fcb70 (LWP 18671)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb66792d2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2 0xb6a5bfae in g_cond_timed_wait_posix_impl (cond=0xfffffdfc,
entered_mutex=0x9, abs_time=0xb18fc2b8) at gthread-posix.c:242
#3 0xb62413dc in g_async_queue_pop_intern_unlocked (queue=0x8309660,
try=<value optimized out>, end_time=0xb18fc2b8) at gasyncqueue.c:365
#4 0xb62913c7 in g_thread_pool_wait_for_new_task (data=0x82d1170)
---Type <return> to continue, or q <return> to quit---
at gthreadpool.c:220
#5 g_thread_pool_thread_proxy (data=0x82d1170) at gthreadpool.c:254
#6 0xb628feff in g_thread_create_proxy (data=0x8309538) at gthread.c:635
#7 0xb66748ff in start_thread (arg=0xb18fcb70) at pthread_create.c:297
#8 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xb20fdb70 (LWP 18669)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6678fa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb624139e in g_async_queue_pop_intern_unlocked (queue=0x82564f0,
try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3 0xb6241726 in IA__g_async_queue_pop (queue=0x82564f0) at gasyncqueue.c:398
#4 0xb7c0125d in sync_request_thread_cb (cFile=0x82563b0) at camel-db.c:78
#5 0xb628feff in g_thread_create_proxy (data=0x824e938) at gthread.c:635
#6 0xb66748ff in start_thread (arg=0xb20fdb70) at pthread_create.c:297
#7 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb28feb70 (LWP 18668)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6678fa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122---Type <return> to continue, or q <return> to quit---

#2 0xb624139e in g_async_queue_pop_intern_unlocked (queue=0x8225e30,
try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3 0xb6241726 in IA__g_async_queue_pop (queue=0x8225e30) at gasyncqueue.c:398
#4 0xb7c0125d in sync_request_thread_cb (cFile=0x8226288) at camel-db.c:78
#5 0xb628feff in g_thread_create_proxy (data=0x8225e70) at gthread.c:635
#6 0xb66748ff in start_thread (arg=0xb28feb70) at pthread_create.c:297
#7 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb30ffb70 (LWP 18667)):
#0 IA__g_str_hash (v=0x0) at gstring.c:99
#1 0xb6257678 in g_hash_table_lookup_node_for_insertion (
hash_table=<value optimized out>, key=<value optimized out>, value=0xa2b7,
keep_new_key=0) at ghash.c:268
#2 g_hash_table_insert_internal (hash_table=<value optimized out>,
key=<value optimized out>, value=0xa2b7, keep_new_key=0) at ghash.c:863
#3 0xb7bfdd5b in camel_db_get_folder_uids_flags (db=0x81fb490,
folder_name=0xad0ad138 "Sent", sort_by=0xb7c368d3 "", collate=0x0,
summary=0xb315a978, table=0xb31778f0, ex=0xb30ff028) at camel-db.c:915
#4 0xb7d23808 in camel_folder_summary_load_from_db (s=0x8519310,
ex=0xb30ff068) at camel-folder-summary.c:1091
#5 0xb32f5f18 in camel_imap_summary_new (folder=0x8536ab8,
filename=0xad0a1788 "/home/iain/.evolution/mail/imap/iain@mail2.pcorp.com.au---Type <return> to continue, or q <return> to quit---
/folders/Sent/summary") at camel-imap-summary.c:209
#6 0xb32e593f in camel_imap_folder_new (parent=0x8225060,
folder_name=0xad08dd41 "Sent",
folder_dir=0xad03c9d8 "/home/iain/.evolution/mail/imap/iain@mail2.pcorp.com.au/folders/Sent", ex=0xb30ff218) at camel-imap-folder.c:291
#7 0xb32f3e49 in get_folder_offline (store=0x8225060,
folder_name=0xad08dd41 "Sent", flags=0, ex=0xb30ff218)
at camel-imap-store.c:2041
#8 get_folder (store=0x8225060, folder_name=0xad08dd41 "Sent", flags=0,
ex=0xb30ff218) at camel-imap-store.c:1807
#9 0xb7d457ba in camel_store_get_folder (store=0x8225060,
folder_name=0xad08dd41 "Sent", flags=<value optimized out>, ex=0xb30ff218)
at camel-store.c:345
#10 0xb466a3a2 in mail_tool_uri_to_folder (uri=<value optimized out>, flags=0,
ex=0xb30ff218) at mail-tools.c:345
#11 0xb4667107 in refresh_folders_exec (m=0x82b8c30) at mail-send-recv.c:827
#12 0xb4665290 in mail_msg_proxy (msg=0x82b8c30) at mail-mt.c:522
#13 0xb629152f in g_thread_pool_thread_proxy (data=0xb31056c8)
at gthreadpool.c:265
#14 0xb628feff in g_thread_create_proxy (data=0xb3380cd8) at gthread.c:635
#15 0xb66748ff in start_thread (arg=0xb30ffb70) at pthread_create.c:297
#16 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

---Type <return> to continue, or q <return> to quit---
Thread 4 (Thread 0xb3c1fb70 (LWP 18666)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6678fa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb624139e in g_async_queue_pop_intern_unlocked (queue=0x81765d0,
try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3 0xb6241726 in IA__g_async_queue_pop (queue=0x81765d0) at gasyncqueue.c:398
#4 0xb7c0125d in sync_request_thread_cb (cFile=0x81764f0) at camel-db.c:78
#5 0xb628feff in g_thread_create_proxy (data=0x8176610) at gthread.c:635
#6 0xb66748ff in start_thread (arg=0xb3c1fb70) at pthread_create.c:297
#7 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb4420b70 (LWP 18665)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6678fa5 in pthread_cond_wait@@GLIBC_2.3.2 ()
at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2 0xb624139e in g_async_queue_pop_intern_unlocked (queue=0x81b4ca0,
try=<value optimized out>, end_time=0x0) at gasyncqueue.c:358
#3 0xb6241726 in IA__g_async_queue_pop (queue=0x81b4ca0) at gasyncqueue.c:398
#4 0xb7c0125d in sync_request_thread_cb (cFile=0x81dd6a8) at camel-db.c:78
#5 0xb628feff in g_thread_create_proxy (data=0x81b4ce0) at gthread.c:635
---Type <return> to continue, or q <return> to quit---
#6 0xb66748ff in start_thread (arg=0xb4420b70) at pthread_create.c:297
#7 0xb61a438e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4db2730 (LWP 18629)):
#0 0xb7fdf424 in __kernel_vsyscall ()
#1 0xb6199f96 in *__GI___poll (fds=0xb622bff4, nfds=11, timeout=25)
at ../sysdeps/unix/sysv/linux/poll.c:87
#2 0xb62765db in IA__g_poll (fds=0x84f29d0, nfds=11, timeout=25)
at gpoll.c:127
#3 0xb62697db in g_main_context_poll (context=0x80ac550,
block=<value optimized out>, dispatch=1, self=0x8082300) at gmain.c:2904
#4 g_main_context_iterate (context=0x80ac550, block=<value optimized out>,
dispatch=1, self=0x8082300) at gmain.c:2586
#5 0xb6269e0f in IA__g_main_loop_run (loop=0x80f84f0) at gmain.c:2799
#6 0xb719f873 in bonobo_main () at bonobo-main.c:311
#7 0x0805e2ec in main (argc=1, argv=0xbfffee74) at main.c:732
(gdb)

--
Iain Buchanan <iaindb at netspace dot net dot au>

Labor, n.:
One of the processes by which A acquires property for B.
-- Ambrose Bierce, "The Devil's Dictionary"
 
Old 01-12-2010, 02:08 AM
walt
 
Default evolution segfault and other b0rkage

On 01/11/2010 03:11 PM, Iain Buchanan wrote:

Hi all,

I've done some updates around Jan 4 - 8 which has borken evolution - it
segfaults when retrieving imap mail. I had a look at the trace and
started recompiling (note - same versions) some random libs (libbonobo,
dbus-glib, gtkhtml, etc.) and then I couldn't log in or start firefox.
hm.

I've recompiled further and got back to square one (there were dbus
breakages for some reason) - evolution segfaults...


With multiple breakages and the sand apparently shifting beneath your
feet, I'd be wondering about filesystem corruption. I've been through
the same updates (x86 and ~amd64) and evolution is working perfectly.

Have you fsck'd your filesystems recently?
 
Old 01-12-2010, 04:40 AM
Iain Buchanan
 
Default evolution segfault and other b0rkage

On Mon, 2010-01-11 at 19:08 -0800, walt wrote:
> On 01/11/2010 03:11 PM, Iain Buchanan wrote:
> > Hi all,
> >
> > I've done some updates around Jan 4 - 8 which has borken evolution - it
> > segfaults when retrieving imap mail. I had a look at the trace and
> > started recompiling (note - same versions) some random libs (libbonobo,
> > dbus-glib, gtkhtml, etc.) and then I couldn't log in or start firefox.
> > hm.
> >
> > I've recompiled further and got back to square one (there were dbus
> > breakages for some reason) - evolution segfaults...
>
> With multiple breakages and the sand apparently shifting beneath your
> feet, I'd be wondering about filesystem corruption. I've been through
> the same updates (x86 and ~amd64) and evolution is working perfectly.
>
> Have you fsck'd your filesystems recently?

yes, in fact I have fck'd my filesystem I recovered most of it
though from backups and fsck.ext3.

I ended up moving the ~/.evolution/mail/imap/<account>/ folder out of
the way and restarting evo. It seemed to fix the problems!

Having a look at the source code there are lots of macros duplicated in
evolution, and lots of system calls that don't check NULL pointers
first... I wonder if they know about pc-lint!

anyway I made a bug report and some patches so we'll see.

thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>

Prof: So the American government went to IBM to come up with a data
encryption standard and they came up with ...
Student: EBCDIC!"
 

Thread Tools




All times are GMT. The time now is 06:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org