Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157167 - app-admin/moodss-20.2 segmentation fault on --show-modules
Summary: app-admin/moodss-20.2 segmentation fault on --show-modules
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: TCL/TK Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-04 17:22 UTC by Robin Bankhead
Modified: 2007-04-28 10:30 UTC (History)
0 users

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 Robin Bankhead 2006-12-04 17:22:30 UTC
The segfault occurs either by invoking "moodss --show-modules" or menu option File > Modules > Load... from within a running instance.  No individual module appears to be responsible, as they can all be loaded individually from the commandline.

I reproduced this bug on two machines: a Celeron (P4-compatible) laptop and dual Pentium III server (accessed from the laptop via ssh -Y).  On both, moodss-20.2 is fresh-installed, with no configs set.

emerge --info (laptop)
Portage 2.1.2_rc2-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo i686)
=================================================================
System uname: 2.6.19-gentoo i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 30 Nov 2006 17:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/bin/pptpconfig.php /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/wine"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /usr/share/wine/fonts"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer nodoc sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en_GB"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="x86 X a52 aac acpi aiglx alsa apache2 arts asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dio dlloader dri dvd dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac flash foomaticdb fortran gdbm gif gimp glitz gpm gstreamer gtk2 hal i8x0 iconv ieee1394 imagemagick innodb input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg kde kernel_linux ldap libg++ libwww linguas_en_GB mad matroska mikmod mmx mp3 mpeg msn mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg opengl oss pam pcmcia pcntl pcre pdf perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session sharedmem soap sockets spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 vcd vhosts video_cards_fbdev video_cards_i810 video_cards_vesa vorbis wifi win32codecs xcomposite xine xinerama xml xmlrpc xorg xsl xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


(server)
Portage 2.1.2_rc2-r4 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.5-r0, 2.6.17-hardened-r1 i686)
=================================================================
System uname: 2.6.17-hardened-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Mon, 04 Dec 2006 19:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/make.conf /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium3 -mmmx -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nodoc noinfo sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en_GB"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X509 a52 aac acl acpi aim apache2 berkdb bitmap-fonts bzip2 clamav cli cracklib crypt cups curl curlwrappers dba dbm dbus dbx dio dlloader dri dv dvb dvd dvdread elibc_glibc exif fastcgi ffmpeg flash foomaticdb fortran ftp gd gd-external gdbm glut gpm gstreamer hal hardened hardenedphp iconv icq imagemagick imap innodb input_devices_keyboard input_devices_mouse isdnlog java javascript jpeg kerberos kernel_linux lcms ldap libg++ libwww linguas_en_GB mad mailwrapper matroska mcal ming minimal mmx mp3 mysql ncurses nls nptl nptlonly ogg pam pcre perl php png portaudio posix postgres ppds pppd python readline reflection samba scanner session sharedmem snmp soap spl sse ssl tcpd theora threads tidy tiff tokeniser tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vcd vhosts video_cards_ati video_cards_fbdev video_cards_vesa win32codecs xine xml xml2 xmlrpc xorg xsl xvid zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-28 02:55:14 UTC
moodss-21.5 in cvs. It fixed on my env.

Please test.
Comment 2 Robin Bankhead 2007-04-28 10:30:59 UTC
Now it doesn't open at all.  Output on commandline (no arguments) as follows:

couldn't open "trace.htm": no such file or directory
    while executing
"open trace.htm"
    (in namespace eval "::trace" script line 7)
    invoked from within
"namespace eval trace {

    variable nextRow 0
    variable numberOfRows 10                                                                           ..."
    (file "/usr/lib/moodss/trace/trace.tcl" line 13)
    invoked from within
"_source /usr/lib/moodss/trace/trace.tcl"
    invoked from within
"$interpreter eval _source [list $file]"
    ("default" arm line 3)
    invoked from within
"switch [file extension $file] {
            .pm {
                set ($this,type) perl
                loadPerl $this $file
                $interpre..."
    (procedure "::module::source" line 4)
    invoked from within
"source /usr/lib/moodss/trace/trace.tcl"
    ("package ifneeded" script)
    invoked from within
"package require trace"
    invoked from within
"$interpreter eval "package require $name""
    (procedure "module::load" line 26)
    invoked from within
"module::load $loaded"
    (procedure "instance::load" line 5)
    invoked from within
"instance::load $(trace)"
    (procedure "modules::loadResidentTraceModule" line 6)
    invoked from within
"modules::loadResidentTraceModule"
    (file "/usr/bin/moodss" line 52713)

If launched with --show-modules I still get a segfault.