Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567562 - =mail-client/mutt-1.54-r2 Segmentation Fault (Sidebar)
Summary: =mail-client/mutt-1.54-r2 Segmentation Fault (Sidebar)
Status: RESOLVED DUPLICATE of bug 559842
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-05 02:58 UTC by Jason Schulz
Modified: 2015-12-05 19:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Schulz 2015-12-05 02:58:41 UTC
There is a bug in the sidebar patch that causes mutt to segmentation fault.

Stack trace...

(gdb) where
#0  0x00007fe6ddcd3aca in ?? () from /lib64/libc.so.6
#1  0x00000000004b0934 in draw_sidebar (menu=6) at sidebar.c:299
#2  0x000000000042c302 in mutt_index_menu () at curs_main.c:658
#3  0x000000000045ac10 in main (argc=1, argv=0x7ffe2a5ad9d8) at main.c:1130
(gdb) l
294                             SETCOLOR(MT_COLOR_FLAGGED);
295                     else
296                             SETCOLOR(MT_COLOR_NORMAL);
297
298                     move( lines, 0 );
299                     if ( Context && (!strcmp(tmp->path, Context->path)||
300                                      !strcmp(tmp->realpath, Context->path)) ) {
301                             tmp->msg_unread = Context->unread;
302                             tmp->msgcount = Context->msgcount;
303                             tmp->msg_flagged = Context->flagged;
Comment 1 Jason Schulz 2015-12-05 03:01:00 UTC
jason@io ~ $ emerge --info mutt                                                                                                                                                                                                                                                                                       [38/1924]
Portage 2.2.20.1 (python 3.3.5-final-0, funtoo/1.0/linux-gnu/arch/pure64, gcc-4.9.3, glibc-2.20-r2, 4.3.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3632QM_CPU_@_2.20GHz-with-gentoo-2.2.0
KiB Mem:    12176892 total,   4972996 free
KiB Swap:    4194300 total,   4194300 free
sh bash 4.3_p39-r1
ld GNU gold (Funtoo 2.25 2.25.0) 1.11
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p39-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10-r3::gentoo, 3.3.5-r2::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.4.0-r1::gentoo
sys-apps/baselayout:      2.2.0-r6::gentoo
sys-apps/openrc:          0.18.3-r1::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25-r2::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://github.com/funtoo/ports-2012.git
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE FraunhoferFDK NVIDIA-CUDA Google-TOS AdobeFlash-11.x Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=ivybridge -mtune=ivybridge -flto"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -march=ivybridge -mtune=ivybridge -flto"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--usepkg"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache compress-build-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xatt
r"
FFLAGS="-march=core-avx-i -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-march=ivybridge -mtune=ivybridge -O3 -flto -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/var/pkg/ivybridge/clang-3.7"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl acpi aio alsa amd64 avahi berkdb bluetooth bluray bzip2 c++0x c++11 c++14 cairo caps cdparanoia clang cracklib crypt cuda cups cxx dbus dri dts dvd flac gdbm gl glamor gles2 gnutls gold graphite gtk3 iconv icu inotify ipv6 jemalloc jpeg jpeg2k libnotify lz4 lzma lzo matroska mmx modules mp3 mpd mpeg mud
flap musicbrainz ncurses nfsv4 nfsv41 nls nptl nsplugin numa ogg opengl openmp opus otr pam pcre png pulseaudio python readline resolvconf sasl snmp spice sse sse2 ssl syslog tcpd theora threads tls udev unicode usb uxa vaapi vdpau vim-syntax vorbis vpx wayland webp wifi x264 x265 xattr xkb xml xpm xvid xvmc xz zeroco
nf zip zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers in
clude info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface i
rq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripm
ate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_
ABIS="2.7 3.3" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="modesetting intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface
 geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

=================================================================
                        Package Settings
=================================================================

mail-client/mutt-1.5.24-r2::gentoo was built with the following:
USE="berkdb crypt debug gdbm gpg imap mbox nls pop sasl sidebar smtp ssl -doc (-gnutls) -idn -kerberos -libressl -nntp -qdbm (-selinux) -slang -smime -tokyocabinet"
CFLAGS="-O0 -g"
Comment 2 Tomáš Mózes 2015-12-05 05:51:06 UTC
Hello Jason, have you reported this upstream?
Comment 3 Jason Schulz 2015-12-05 17:59:09 UTC
(In reply to Tomas Mozes from comment #2)
> Hello Jason, have you reported this upstream?

The patch gentoo is using actually looks like it's a few releases behind upstream (http://www.lunar-linux.org/mutt-sidebar/).

I gave a quick shot at using /etc/portage/patches to apply it as a user patch (sans USE="sidebar") but it seems to conflict with other gentoo patches.  It does appear to apply cleanly to un-patched source though.    

Note, this bug also looks like a duplicate of https://bugs.gentoo.org/show_bug.cgi?id=559842.
Comment 4 Tomáš Mózes 2015-12-05 19:34:30 UTC
In that case, we are closing as duplicate, ok?

*** This bug has been marked as a duplicate of bug 559842 ***