Package: isync
Version: 1.0.4-2.1+b1
Followup-For: Bug #411120

I catched a bug location with gdb. Stack trace attached.

Current git head from [1] works fine.
[1] git://isync.git.sourceforge.net/gitroot/isync/isync 


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (593, 'testing'), (500, 'testing-updates'), (192, 'unstable'), 
(190, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages isync depends on:
ii  libc6        2.13-37
ii  libdb5.1     5.1.29-5
ii  libssl1.0.0  1.0.1c-4

isync recommends no packages.

Versions of packages isync suggests:
ii  mutt  1.5.21-6.2

-- no debconf information

>>> 7 SELECT "INBOX"
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft)] 
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 2000000002]
7 OK [READ-WRITE] SELECT completed
>>> 8 LOGOUT
* BYE

Program received signal SIGSEGV, Segmentation fault.
0x080520ab in parse_response_code (ctx=0x805e008, cb=0x0, s=0x0) at 
drv_imap.c:822
822             if (*s != '[')
(gdb) bt
#0  0x080520ab in parse_response_code (ctx=0x805e008, cb=0x0, s=0x0) at 
drv_imap.c:822
#1  0x08052697 in get_cmd_result (ctx=0x805e008, tcmd=0x8131b38) at 
drv_imap.c:940
#2  0x080515b5 in imap_exec (ctx=0x805e008, cb=0x0, fmt=0x805a46c "LOGOUT") at 
drv_imap.c:512
#3  0x08052d1e in imap_close_server (ictx=0x805e008) at drv_imap.c:1057
#4  0x08052d8c in imap_close_store (ctx=0x805e008) at drv_imap.c:1073
#5  0x0804ba40 in main (argc=3, argv=0xffffd674) at main.c:612
(gdb) info locals
imap = 0x805e730
arg = 0xf7bef3f8 "X\037\023\b`\033\023\b\240i\023\b\240i\023\b"
p = 0x805e77e "BYE"
(gdb) up
#1  0x08052697 in get_cmd_result (ctx=0x805e008, tcmd=0x8131b38) at 
drv_imap.c:940
940                                     if ((resp = parse_response_code( ctx, 
0, cmd )) != RESP_OK)
(gdb) info locals
imap = 0x805e730
cmdp = 0x7
pcmdp = 0x805e730
ncmdp = 0x0
cmd = 0x0
arg = 0x805e77e "BYE"
arg1 = 0x8131ed8 "0\036\023\b"
p = 0x5117b3a2 <Address 0x5117b3a2 out of bounds>
n = -139456106
resp = 135469880
resp2 = 0
tag = 2000000002

Reply via email to