Hi,

I installed isync-git under Arch Linux, which uses the latest version
from the master branch of isync.  I set it up to synchronize my
googlemail accound locally, but I got a segmentation fault when I have a
new (sent) mail in my local maildir and want to push it to googlemail
(using mbsync).  I use mutt 1.5.21 to store the mail in the maildir, and
a rather up to date Arch Linux with kernel 3.10.5-1-ARCH.  The same
issue happend twice today (I only installed isync today); I sent about
15 eMails and in two cases, there was this segfault.  (My googlemail
web-accound was open all the time -- does that matter?)

I tried to collect some information (see attachment) about the nature of
the crash: a backtrace and the actual logs.  Are you interested in
anything else?  Is this a know bug?  Can I do anything about it so that
it does not happen any more?


Please include me in replies, as I'm not part of the mailing list.

Thanks.  Sincerely,

Michael

-- 
Michael Kopp <[email protected]>
isync compiled from git master, ad09f236aa74eef9618239b023d765b854799c55

run via mbsync googlemail

Logs
----
Reading configuration file /home/skunk/.mbsyncrc
Channel sync-googlemail-default
Opening master googlemail-remote...
Resolving imap.googlemail.com... ok
Connecting to imap.googlemail.com (173.194.66.16:993)... 
Opening slave googlemail-local...
Connection is now encrypted
Logging in...
Selecting master uni...
Selecting slave uni...
Loading master...
Loading slave...
slave: 65 messages, 0 recent
master: 65 messages, 0 recent
Synchronizing...
Selecting master reisen...
Selecting slave reisen...
Loading master...
Loading slave...
slave: 83 messages, 0 recent
master: 83 messages, 0 recent
Synchronizing...
Selecting master it...
Selecting slave it...
Loading master...
Loading slave...
slave: 44 messages, 0 recent
master: 44 messages, 0 recent
Synchronizing...
Selecting master INBOX...
Selecting slave INBOX...
Loading master...
Loading slave...
slave: 61 messages, 0 recent
master: 61 messages, 0 recent
Synchronizing...
M: +0/0 *1/1 #0/0  S: +0/0 *0/0 #0/0
Channel sync-googlemail-sent
Opening slave googlemail-local...
Selecting master [Google Mail]/Gesendet...
Selecting slave Gesendet...
Loading master...
Loading slave...
slave: 2 messages, 0 recent
master: 2 messages, 0 recent
Synchronizing...
M: +1/1 *0/0 #0/0  S: +0/1 *0/0 #0/0./sync_mail.sh: line 68: 23532 Segmentation 
fault      (core dumped) mbsync googlemail


Backtrace (from gdb) of the core
---------
#0  0x0804bab7 in msg_fetched (sts=0, aux=0x8656260) at sync.c:317
#1  0x080531f4 in done_imap_cmd (ctx=ctx@entry=0x8577548, 
cmd=cmd@entry=0x8655680, response=<optimized out>) at drv_imap.c:220
#2  0x08055c01 in imap_socket_read (aux=0x8577548) at drv_imap.c:1063
#3  0x080520d6 in socket_fill (sock=sock@entry=0x85775f0) at socket.c:471
#4  0x0805241e in socket_fd_cb (events=1, aux=0x85775f0) at socket.c:653
#5  0x08051a72 in event_wait () at util.c:570
#6  main_loop () at util.c:627
#7  0x0804a559 in main (argc=2, argv=0xbf88bfa4) at main.c:492

# ~/.mbsyncrc
# Configure mbsync (from the isync package) to sync imap folders locally.


### Global configuration section
#
#   Values here are used as defaults for any following Channel section that
#   doesn't specify them.
#
# By default, expunge only locally.
Expunge Slave
# By default, create only local folders.
Create Slave
# By default, push and pull messages, sync flags and mark expunged messages on
# the other store as deleted as well.
Sync All
# Save the synchronization state files in the relevant directory
#SyncState *



### Google mail

MaildirStore googlemail-local
Path ~/mbsync_test/g/
Inbox ~/mbsync_test/g/INBOX


# Create a googlemail account.  Multiple stores could use this account.
IMAPAccount googlemail-account
Host imap.googlemail.com
User ...
Pass ...
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt


IMAPStore googlemail-remote
Account googlemail-account


# Create a channel to sync the remote and local stores.
Channel sync-googlemail-default
Master :googlemail-remote:
Slave :googlemail-local:
# Select some mailboxes to sync
Patterns "INBOX" "it" "reisen" "uni"

# Create channels for the [Google Mail] subfolders.
Channel sync-googlemail-sent
Master :googlemail-remote:"[Google Mail]/Gesendet"
Slave :googlemail-local:Gesendet

Channel sync-googlemail-trash
Master :googlemail-remote:"[Google Mail]/Papierkorb"
Slave :googlemail-local:Papierkorb

# Get all the channels together into a group.
Group googlemail
Channel sync-googlemail-default
Channel sync-googlemail-sent
Channel sync-googlemail-trash

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to