bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] imap[s] seg fault in mail[x]


From: Paul Vojta
Subject: [bug-mailutils] imap[s] seg fault in mail[x]
Date: Sat, 14 Feb 2009 17:05:58 -0800
User-agent: Mutt/1.4.2.1i

Folks:

I am getting a seg fault when running mail to access an imap folder.

Here is a short transcript:

| _xps> mail -f imaps://address@hidden
| Imap Passwd: 
| Segmentation fault

The segfault traceback (courtesy of gdb) is:

| #0  0x00007fe2cf55fcba in ?? () from /lib/libc.so.6
| #1  0x00007fe2d1933d6f in imap_parse (f_imap=0x23938c0) at folder.c:2440
| #2  0x00007fe2d1937067 in imap_messages_count (mailbox=0x23934d0, 
|     pnum=0x7fffda16a8e0) at mbox.c:699
| #3  0x00007fe2d1937389 in imap_scan0 (mailbox=0x0, msgno=1, pcount=0x0, 
|     notif=0) at mbox.c:740
| #4  0x000000000040c444 in main (argc=3, argv=0x7fffda16ab38) at mail.c:452

Here's a longer gdb session:

----- begin -----
% gdb /usr/local/bin/mail
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...
(gdb) break folder.c:2440
No source file named folder.c.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (folder.c:2440) pending.
(gdb) run -f imaps://address@hidden
Starting program: /usr/local/bin/mail -f imaps://address@hidden
Error in re-setting breakpoint 1: No line 2440 in file "folder.c".
[Thread debugging using libthread_db enabled]
[New Thread 0x7fc4401ee6e0 (LWP 2114)]
Imap Passwd: 
[Switching to Thread 0x7fc4401ee6e0 (LWP 2114)]

Breakpoint 1, imap_parse (f_imap=0x22258c0) at folder.c:2440
2440                          f_imap->selected->uidvalidity = strtol (value, 
NULL, 10);
(gdb) print value
$1 = 0x0
(gdb)
----- end -----

Comments, anyone?  How does one trace the imap connection?

Details are as before:

mailutils-2.0, Debian GNU/Linux unstable, x86_64.

        ./configure DEFAULT_CUPS_CONFDIR=/etc/cups --disable-mh-utils \
          --with-guiledir=/usr/share/guile/site --with-gnutls

--Paul Vojta, address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]