| Summary: | fortune -m crashes sometimes | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Thomas Lenz <lenzth> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | CC: | mattdev121, vq |
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I'm having the same problem, however it happens quite often and even when -m is not used. I originally thought this was an amd64 problem (I'm running a P4 64-Bit) but I guess it happens here too... mmanjos@DeepThought ~ $ fortune -m 'KNOWN' Segmentation fault mmanjos@DeepThought ~ $ fortune *** glibc detected *** free(): invalid next size (fast): 0x000000000053cc10 *** Aborted I have the same problem on my AMD64 machine. It crashes now and then when run without flags and almost every time with the -m flag [vq@hugin] ~ $ fortune -im 'E' <cut> *** glibc detected *** free(): invalid next size (fast): 0x0000000000546080 *** Avbruten (SIGABRT) (core dumped) |
the fortune-program crashes sometimes when used with the -m option. see the <example> avalon ~ # fortune -m "KNOWN" *** glibc detected *** malloc(): memory corruption: 0x0806e618 *** Abgebrochen </example> however, some searches work without error: <example> avalon ~ # fortune -m "LESSER-KNOWN" | more (computers) % THE LESSER-KNOWN PROGRAMMING LANGUAGES #10: SIMPLE [snipped] </example> Here's my emerge --info: avalon ~ # emerge --info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fforce-addr -fomit-frame-pointer -ftracer -pipe" CHOST="i686-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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fforce-addr -fomit-frame-pointer -ftracer -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dri dvd eds encode ethereal exif expat fam ffmpeg foomaticdb fortran gdbm gif gpm gstreamer idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt quicktime readline recode scanner sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xmms xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY