Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190363 - games-mud/kmuddy-0.8 - random crash when mudding
Summary: games-mud/kmuddy-0.8 - random crash when mudding
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL: http://www.kmuddy.com/mercuryboard/in...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 05:08 UTC by Tanktalus
Modified: 2007-10-14 22:07 UTC (History)
0 users

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


Attachments
Patch to fix this bug (fixcrash.patch,635 bytes, patch)
2007-08-27 05:09 UTC, Tanktalus
Details | Diff
The ebuild I've used to test this patch (kmuddy-0.8-r1.ebuild,872 bytes, text/plain)
2007-08-27 05:10 UTC, Tanktalus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanktalus 2007-08-27 05:08:47 UTC
After running kmuddy 0.8 for a while, it crashes due to messages received from the mud server.  Apparently, this has been known and fixed in the source tree for some time.  This patch will fix it.

Reproducible: Always

Steps to Reproduce:
1. Connect to a mud
2. Do stuff
3. Wait.

Actual Results:  
Segmentation fault

Expected Results:  
No crash

I have a patch file I'm attaching that I put into a new local ebuild and it at least compiles and runs - I've not run it long enough to see if it stops the crash I'm having (usually overnight).

I'm not running 0.7 (marked stable) because it crashes every time I use a trigger to send a line to an alternate window.  0.8 fixes that.  I was going to open a bug to ask for 0.8 to be marked stable, but will hopefully be asking -r1 to be marked stable instead (with this fix), assuming it is accepted.

Portage 2.1.2.12 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 26 Aug 2007 13:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo ftp://mirror.datapipe.net/gentoo ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LINGUAS="en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dmcbride/cvs/portdir-mine"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa apache2 arts avi bash-completion berkdb bitmap-fonts branding bzlib cairo cdparanoia cdr cli cracklib crypt cups db2 dbus doc dri dvd dvdr dvdread eds emboss encode esd evo exif expat fam ffmpeg fftw firefox flac flash foomaticdb fortran ftp gb gcj gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv imagemagick imap imlib ipv6 isdnlog ithreads jpeg kde kerberos lcms ldap libwww mad mbox midi mikmod milter mime ming mmap mmx mng mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg openal opengl openmp oss pam pcre pda pdf pdflib perl png posix pppd python qt qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session sockets sox spell spl sse ssl svg tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vcd vhosts vorbis win32codecs wxwindows x86 xine xml xml2 xorg xsl xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" FOO2ZJS_DEVICES="hp2600n" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tanktalus 2007-08-27 05:09:47 UTC
Created attachment 129279 [details, diff]
Patch to fix this bug
Comment 2 Tanktalus 2007-08-27 05:10:56 UTC
Created attachment 129281 [details]
The ebuild I've used to test this patch
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2007-10-14 22:07:45 UTC
In CVS.  remerge if experience this bug.

Thanks for the patch and bug report.