| Summary: | app-portage/eix-0.3.0 segfaults on amd64 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Octavio Ruiz (Ta^3) <tacvbo> |
| Component: | New packages | Assignee: | Benedikt Böhm (RETIRED) <hollow> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ehmsen, emilbeinroth |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Fix datatype-mix | ||
|
Description
Octavio Ruiz (Ta^3)
2005-08-28 17:59:33 UTC
Same here # eix vim Segmentation fault (gdb) run eix Starting program: /usr/bin/eix eix Program received signal SIGSEGV, Segmentation fault. 0x00002aaaab0d7037 in fnmatch () from /lib/tls/libc.so.6 (gdb) bt #0 0x00002aaaab0d7037 in fnmatch () from /lib/tls/libc.so.6 #1 0x00002aaaab0e30af in re_set_registers () from /lib/tls/libc.so.6 #2 0x00002aaaab0e4923 in regexec () from /lib/tls/libc.so.6 #3 0x000000000040ab5a in SearchTest::localMatch (this=0x548b30, pkg=0x54d9e0) at basic_string.h:1458 #4 0x000000000040b4c1 in SearchTest::match (this=0x548b30, pkg=0x54d9e0) at searchtests.h:138 #5 0x000000000042f295 in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbmatchcriteria.h:161 #6 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #7 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #8 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #9 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #10 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #11 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #12 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #13 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #14 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #15 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #16 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #17 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #18 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 #19 0x000000000042f39c in DatabaseMatchIterator::next (this=0x7fffffd18660) at dbselector.cc:58 ... Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -ggdb3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -pipe -ggdb3" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks multilib-strict nostrip sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http:://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X aalib alsa avi berkdb bitmap-fonts cdr crypt cups curl debug eds encode esd fam foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jpeg junit libwww lzw lzw-tiff motif mp3 mpeg ncurses nls nptl ogg opengl pam pdflib perl png postgres python qt quicktime readline sdl spell sqlite ssl tcltk tcpd tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS I forgot FEATURES="nostrip". That's the result with "nostrip" enabled in FEATURES: FEATURES="autoconfig candy ccache collision-protect distlocks keeptemp multilib-strict noauto nostrip parallel-fetch sandbox sfperms strict userpriv usersandbox" #0 0x00002aaaab0ad860 in realloc () from /lib/tls/libc.so.6 #1 0x00002aaaab0d700c in fnmatch () from /lib/tls/libc.so.6 #2 0x00002aaaab0e307f in re_set_registers () from /lib/tls/libc.so.6 #3 0x00002aaaab0e48f3 in regexec () from /lib/tls/libc.so.6 #4 0x0000000000412f32 in SearchTest::localMatch (this=0x55eb30, pkg=0x5610f0) at searchtests.h:79 #5 0x0000000000412e3d in SearchTest::match (this=0x55eb30, pkg=0x5610f0) at searchtests.h:138 #6 0x00000000004315dc in DBMatchCriteria::match (this=0x55e0d0, p=0x5610f0) at dbmatchcriteria.h:161 #7 0x00000000004314a7 in DatabaseMatchIterator::next (this=0x7fffff802e60) at dbselector.cc:52 #8 0x0000000000431511 in DatabaseMatchIterator::next (this=0x7fffff802e60) at dbselector.cc:58 #9 0x0000000000431511 in DatabaseMatchIterator::next (this=0x7fffff802e60) at dbselector.cc:58 #10 0x0000000000431511 in DatabaseMatchIterator::next (this=0x7fffff802e60) at dbselector.cc:58 #11 0x0000000000431511 in DatabaseMatchIterator::next (this=0x7fffff802e60) at dbselector.cc:58 Created attachment 67160 [details, diff]
Fix datatype-mix
This should fix the problem. Please test.
to #3: after patching, it's OK here. thanks. in cvs, thanks |