----Original Message----
*Subject:* Re: Segfault gmail <-> Dovecot 1.1.0
*Date:* Sat, 1 Feb 2014 09:52:10 +0100
*From:* Oswald Buddenhagen <oswald.buddenha...@gmx.de>
*To:* isync-devel@lists.sourceforge.net



On Fri, Jan 31, 2014 at 02:23:09PM +0000, Alex Crow wrote:
I'm afraid it it's still crashing (although a bit differently this time):

this isn't different (except for the -VV output, which was to be
expected).
i'd even venture that you did something wrong:
- are you sure you are on the right branch (isync_1_1_branch) and that
   it is current (1c758be695c2a10f1145d318831c63b384ce811c)?
- are you sure you re-built and installed it?

also, please run this crashing version through valgrind as requested
previously. i need to understand the crash irrespective of the parsing
fix.


------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel


Hi,

I checked out the code with:

git clone -b isync_1_1_branch git://git.code.sf.net/p/isync/isync

And ran it under valgrind:

S: =========
S: )
S: * 502 FETCH (UID 24061 FLAGS () BODY[HEADER.FIELDS (X-TUID)] {4}
S: =========


S: =========
S: )
S: 8 OK Success
Warning: lost track of 1 pulled message(s)
==6503== Invalid read of size 4
==6503==    at 0x409029: box_loaded (sync.c:1427)
==6503==    by 0x40EF78: imap_refcounted_done (drv_imap.c:524)
==6503==    by 0x40CFC6: done_imap_cmd (drv_imap.c:230)
==6503==    by 0x411152: imap_socket_read (drv_imap.c:1298)
==6503==    by 0x40C3F9: socket_fd_cb (socket.c:728)
==6503==    by 0x40B7CC: main_loop (util.c:663)
==6503==    by 0x40382B: main (main.c:501)
==6503==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==6503==
==6503==
==6503== Process terminating with default action of signal 11 (SIGSEGV)
==6503==  Access not within mapped region at address 0x8
==6503==    at 0x409029: box_loaded (sync.c:1427)
==6503==    by 0x40EF78: imap_refcounted_done (drv_imap.c:524)
==6503==    by 0x40CFC6: done_imap_cmd (drv_imap.c:230)
==6503==    by 0x411152: imap_socket_read (drv_imap.c:1298)
==6503==    by 0x40C3F9: socket_fd_cb (socket.c:728)
==6503==    by 0x40B7CC: main_loop (util.c:663)
==6503==    by 0x40382B: main (main.c:501)
==6503==  If you believe this happened as a result of a stack
==6503==  overflow in your program's main thread (unlikely but
==6503==  possible), you can try to increase the size of the
==6503==  main thread stack using the --main-stacksize= flag.
==6503==  The main thread stack size used in this run was 8388608.
==6503==
==6503== HEAP SUMMARY:
==6503==     in use at exit: 1,926,789 bytes in 24,144 blocks
==6503== total heap usage: 77,266 allocs, 53,122 frees, 5,161,927 bytes allocated
==6503==
==6503== LEAK SUMMARY:
==6503==    definitely lost: 0 bytes in 0 blocks
==6503==    indirectly lost: 0 bytes in 0 blocks
==6503==      possibly lost: 21 bytes in 1 blocks
==6503==    still reachable: 1,926,768 bytes in 24,143 blocks
==6503==         suppressed: 0 bytes in 0 blocks
==6503== Rerun with --leak-check=full to see details of leaked memory
==6503==
==6503== For counts of detected and suppressed errors, rerun with: -v
==6503== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 4)
Segmentation fault


--

(problems reading signature file - see tools / error console for more detail)

------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to