Hi, I get a segmentation fault each time I push a message into an IMAP folder that is empty on the server. I use the version currently in Debian Sid.
$ mbsync -v isync 1.1.0 Here is the output of mbsync -V eazy:mythcontrol followed by a backtrace. >>> 1 NAMESPACE * NAMESPACE (("" ".")) NIL NIL 1 OK Namespace completed. >>> 2 SELECT "mythcontrol" * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags permitted. * 0 EXISTS * 0 RECENT * OK [UIDVALIDITY 1391615765] UIDs valid * OK [UIDNEXT 23] Predicted next UID 2 OK [READ-WRITE] Select completed. >>> 3 APPEND "mythcontrol" {717+} * 1 EXISTS * 1 RECENT 3 OK Append completed. >>> 4 CHECK 4 OK Check completed. >>> 5 UID FETCH 23:1000000000 (UID BODY.PEEK[HEADER.FIELDS (X-TUID)]) * 1 FETCH (UID 23 BODY[HEADER.FIELDS (X-TUID)] {24} ) Program received signal SIGSEGV, Segmentation fault. 0x000000000041350b in parse_fetch_rsp (ctx=0x624bc0, list=0x63dec0, s=0x624ffa "") at drv_imap.c:953 953 drv_imap.c: No such file or directory. (gdb) bt #0 0x000000000041350b in parse_fetch_rsp (ctx=0x624bc0, list=0x63dec0, s=0x624ffa "") at drv_imap.c:953 #1 0x0000000000412d76 in parse_list_continue (ctx=0x624bc0, s=0x624ffa "") at drv_imap.c:780 #2 0x0000000000412dc6 in parse_list (ctx=0x624bc0, s=0x624fb6 "(UID 23 BODY[HEADER.FIELDS (X-TUID)] {24}", cb=0x412f9b <parse_fetch_rsp>) at drv_imap.c:790 #3 0x00000000004140ec in imap_socket_read (aux=0x624bc0) at drv_imap.c:1212 #4 0x00000000004105ae in socket_fill (sock=0x624cf8) at socket.c:550 #5 0x0000000000410cfe in socket_fd_cb (events=1, aux=0x624cf8) at socket.c:736 #6 0x000000000040f373 in event_wait () at util.c:598 #7 0x000000000040f3a9 in main_loop () at util.c:655 #8 0x0000000000404391 in main (argc=3, argv=0x7fffffffe2b8) at main.c:501 In case it matters, here is a snipset of the build output, so you can see what compiler/linker flags are used: gcc -DHAVE_CONFIG_H -I. -I.. -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -O2 -fstac k-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -O0 -p ipe -W -Wall -Wshadow -Wstrict-prototypes -ansi -pedantic -Wno-overlength-string s -c -o mdconvert.o mdconvert.c gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format- security -g -O0 -pipe -W -Wall -Wshadow -Wstrict-prototypes -ansi -pedantic -Wno -overlength-strings -Wl,-z,relro -o mdconvert mdconvert.o -ldb Regards, Tino ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ isync-devel mailing list isync-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/isync-devel