Yea, I had applied a backported patch from HEAD that split IMAP commands
if they were too long to 1.0.6. Unfortunately the patch wasn't complete
(it lacked at least one pthread_mutex_lock() call) and so when the
expunge code finished, it would try to unlock a mutex that it didn't own
a lock on and so would cause a g_assert to fail, thus causing a crash.

Anyways, I've already reverted my patch

Jeff

On Wed, 2002-06-05 at 12:59, Dan Hensley wrote:
> I recently set up a Courier IMAP server on my local machine.  I've now
> got e-mail being delivered to the server (by the way, thanks to all who
> helped; I'll send another e-mail about that later).  However, when I try
> to expunge the mail off of the local server, the mail component crashes
> every time.  I'm using 1.0.6.99 updated from CVS today.  Here's a
> backtrace.  Any ideas?  Should I go ahead and file a bugzilla?
> 
> 
> (gdb) run
> Starting program: /usr/local/bin/evolution-mail 
> [New Thread 1024 (LWP 15883)]
> [New Thread 2049 (LWP 16130)]
> Delayed SIGSTOP caught for LWP 16130.
> [New Thread 1026 (LWP 16131)]
> Delayed SIGSTOP caught for LWP 16131.
> [New Thread 2051 (LWP 16132)]
> Tripped breakpoint at 4000dbe1 in LWP 15883 while waiting for SIGSTOP.
> [New Thread 3076 (LWP 16133)]
> Delayed SIGSTOP caught for LWP 16133.
> LWP 16133 exited.
> Delayed SIGSTOP caught for LWP 15883.
> Tripped breakpoint at 40210301 in LWP 16130 while waiting for SIGSTOP.
> [New Thread 4101 (LWP 16149)]
> Delayed SIGSTOP caught for LWP 16149.
> 
> filter-WARNING **: cannot find rule part 'recipients'
> 
> libpng warning: Setting gamma=0
> 
> e-utils-ERROR **: file e-msgport.c: line 738 (e_mutex_unlock): assertion
> failed: (m->owner == pthread_self())
> aborting...
> 
> Program received signal SIGABRT, Aborted.
> [Switching to Thread 1026 (LWP 16131)]
> 0x40f482d1 in kill () from /lib/libc.so.6
> (gdb) bt
> #0  0x40f482d1 in kill () from /lib/libc.so.6
> #1  0x4020c13b in raise (sig=6) at signals.c:65
> #2  0x40f49703 in abort () from /lib/libc.so.6
> #3  0x40f0acd7 in g_logv (log_domain=0x400830a2 "e-utils", 
>     log_level=G_LOG_LEVEL_ERROR, 
>     format=0x40083260 "file %s: line %d (%s): assertion failed: (%s)", 
>     args1=0xbf7ff9b8) at gmessages.c:391
> #4  0x40f0ad86 in g_log (log_domain=0x400830a2 "e-utils", 
>     log_level=G_LOG_LEVEL_ERROR, 
>     format=0x40083260 "file %s: line %d (%s): assertion failed: (%s)")
>     at gmessages.c:408
> #5  0x40073367 in e_mutex_unlock (m=0x816d8a0) at e-msgport.c:738
> #6  0x410cf109 in imap_expunge_uids_online (folder=0x81e8538,
> uids=0x811f54c, 
>     ex=0x8260dc0) at camel-imap-folder.c:762
> #7  0x40030e08 in disco_expunge_uids (folder=0x81e8538, uids=0x811f54c, 
>     ex=0x8260dc0) at camel-disco-folder.c:135
> #8  0x40030f41 in disco_expunge (folder=0x81e8538, ex=0x8260dc0)
>     at camel-disco-folder.c:164
> #9  0x4003bec5 in camel_folder_expunge (folder=0x81e8538, ex=0x8260dc0)
>     at camel-folder.c:396
> #10 0x08098016 in expunge_folder_expunge (mm=0x8260da8) at
> mail-ops.c:1563
> #11 0x0809482d in mail_msg_received (e=0x813c658, msg=0x8260da8,
> data=0x0)
>     at mail-mt.c:500
> ---Type <return> to continue, or q <return> to quit---
> #12 0x40072c7f in thread_received_msg (e=0x813c658, m=0x8260da8)
>     at e-msgport.c:469
> #13 0x40072e20 in thread_dispatch (din=0x813c658) at e-msgport.c:550
> #14 0x40208f54 in pthread_start_thread_event (arg=0xbf7ffc00) at
> manager.c:262
> 
> 
> 
> _______________________________________________
> evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution
-- 
Jeffrey Stedfast <[EMAIL PROTECTED]>
Ximian, Inc.


_______________________________________________
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution

Reply via email to