<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #3482: IMAP Segmentation fault when fetching message headers



#3482: IMAP Segmentation fault when fetching message headers
-------------------------------------+--------------------------------------
 Reporter:  duyang                   |       Owner:  brendan
     Type:  defect                   |      Status:  new    
 Priority:  major                    |   Milestone:         
Component:  IMAP                     |     Version:  1.5.21 
 Keywords:  IMAP Segmentation fault  |  
-------------------------------------+--------------------------------------
Changes (by duyang):

 * cc: duyang.seu@â (added)
  * status:  infoneeded_new => new


Comment:

 Hi,

 Thanks for your quick reply.

 I've tried what you said, and .muttdebug and core have been uploaded.
 please have a look again.

 For headcache disabled, it still not work, the gdb output is almost the
 same.

 Here is the gdb output with header cache.
 -------------------------
 GNU gdb (Gentoo 7.2 p1) 7.2
 Copyright (C) 2010 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i686-pc-linux-gnu".
 For bug reporting instructions, please see:
 <http://bugs.gentoo.org/>...
 Reading symbols from /home/duyang/mutt-1.5.21/mutt...done.
 [New Thread 25222]

 warning: Can't read pathname for load map: Input/output error.
 Reading symbols from /lib/libncursesw.so.5...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libncursesw.so.5
 Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgnutls.so.26
 Reading symbols from /usr/lib/libgdbm.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgdbm.so.3
 Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libidn.so.11
 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
                Loaded symbols for /lib/libc.so.6
 Reading symbols from /lib/libdl.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libdl.so.2
 Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libtasn1.so.3
 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
 Loaded symbols for /lib/libz.so.1
 Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgcrypt.so.11
 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/ld-linux.so.2
 Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgpg-error.so.0
 Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_compat.so.2
 Reading symbols from /lib/libnsl.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnsl.so.1
 Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_nis.so.2
 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_files.so.2
 Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_dns.so.2
 Reading symbols from /lib/libresolv.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libresolv.so.2
 Reading symbols from /usr/lib/gconv/EUC-CN.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/gconv/EUC-CN.so
 Reading symbols from /usr/lib/gconv/libGB.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/gconv/libGB.so
 Reading symbols from /usr/lib/gconv/GB18030.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/gconv/GB18030.so
 Core was generated by `./mutt -d2 -F /home/duyang/.muttrc.imap'.
 Program terminated with signal 11, Segmentation fault.
 #0  mx_update_context (ctx=0x814a910, new_messages=116) at mx.c:1542
 1542                        h->security = crypt_query (h->content);
 (gdb)


 -------------------------------------------------
 gdb output without header cache
 -------------------------------------------------
 GNU gdb (Gentoo 7.2 p1) 7.2
 Copyright (C) 2010 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i686-pc-linux-gnu".
 For bug reporting instructions, please see:
 <http://bugs.gentoo.org/>...
 Reading symbols from /home/duyang/mutt-1.5.21/mutt...done.
 [New Thread 2052]

 warning: Can't read pathname for load map: Input/output error.
 Reading symbols from /lib/libncursesw.so.5...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libncursesw.so.5
 Reading symbols from /usr/lib/libgnutls.so.26...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgnutls.so.26
 Reading symbols from /usr/lib/libgdbm.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgdbm.so.3
 Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libidn.so.11
 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
 Loaded symbols for /lib/libc.so.6
 Reading symbols from /lib/libdl.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libdl.so.2
 Reading symbols from /usr/lib/libtasn1.so.3...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libtasn1.so.3
 Reading symbols from /lib/libz.so.1...(no debugging symbols found)...done.
 Loaded symbols for /lib/libz.so.1
 Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgcrypt.so.11
 Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/ld-linux.so.2
 Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/libgpg-error.so.0
 Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_compat.so.2
 Reading symbols from /lib/libnsl.so.1...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnsl.so.1
 Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_nis.so.2
 Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_files.so.2
 Reading symbols from /lib/libnss_dns.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libnss_dns.so.2
 Reading symbols from /lib/libresolv.so.2...(no debugging symbols
 found)...done.
 Loaded symbols for /lib/libresolv.so.2
 Reading symbols from /usr/lib/gconv/EUC-CN.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/gconv/EUC-CN.so
 Reading symbols from /usr/lib/gconv/libGB.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/gconv/libGB.so
 Reading symbols from /usr/lib/gconv/GB18030.so...(no debugging symbols
 found)...done.
 Loaded symbols for /usr/lib/gconv/GB18030.so
 Core was generated by `./mutt -d2 -F /home/duyang/.muttrc.imap'.
 Program terminated with signal 11, Segmentation fault.
 #0  mx_update_context (ctx=0x814a910, new_messages=116) at mx.c:1542
 1542          h->security = crypt_query (h->content);
 (gdb) q

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3482#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent