Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290657 - app-emulation/x48-0.6.1 fails with 'segmentation fault' message
Summary: app-emulation/x48-0.6.1 fails with 'segmentation fault' message
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Kevin McCarthy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-26 22:30 UTC by Enrique Domínguez
Modified: 2011-01-30 19:50 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 Enrique Domínguez 2009-10-26 22:30:35 UTC
Install app-emulation/x48-0.6.1 and lauch program like
$ x48 -rom /usr/share/hp48/sxrom-j
resulting:
LC_CTYPE=en_US.ISO-8859-1;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C
Segmentation fault

Reproducible: Always

Steps to Reproduce:
1.Install app-emulation/x48-0.6.1
2.lauch program like: $ x48 -rom /usr/share/hp48/sxrom-j
3.Segmentation fault message is displayed

Actual Results:  
Segmentation fault

Expected Results:  
program starts and display is not garbage (bug:245818)

x48-0.4.3-r1 version requires media-fonts/font-misc-misc for launching (but garbage display is showed)

emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.9_p20081201-r2, 2.6.25-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_2.66GHz-with-gentoo-1.12.11.1
Timestamp of tree: Thu, 08 Oct 2009 02:15: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:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32"
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/lib/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -mmmx -msse -msse2 -m32"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--load-average=4 -j"
FEATURES="ccache collision-protect distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo "
LANG="en_US.ISO-8859-1"
LC_ALL="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1"
LINGUAS="en es es_ES"
MAKEOPTS="-j11"
PKGDIR="/usr/local/portage/binpackages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acpi alsa apic berkdb cli cracklib cups custom-cflags custom-optimization dbus doc gdbm gnome gpm gtk hal iconv isdnlog mmx mmxext modules mudflap ncurses nls nptl nptlonly nvidia opengl openmp pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd threads unicode x86 xorg xvmc zlib" ALSA_CARDS="ens1371" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es es_ES" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Víctor Ostorga (RETIRED) gentoo-dev 2009-11-02 21:21:18 UTC
Can't reproduce this.

strace and gdb could be of help.
Comment 2 Enrique Domínguez 2009-11-02 23:35:45 UTC
(In reply to comment #1)
> Can't reproduce this.
> 
> strace and gdb could be of help.
> 
I'm sorry, no idea how to do it that. Please could you show me output of this command?
$ equery depgraph --depth=1 app-emulation/x48
* dependency graph for app-emulation/x48-0.6.1
`-- app-emulation/x48-0.6.1
 `-- x11-libs/libXext-1.0.5
 `-- x11-libs/libX11-1.2.2
 `-- x11-proto/xextproto-7.0.5
 `-- app-text/rman-3.2
 `-- sys-libs/readline-6.0_p3
 `-- sys-libs/ncurses-5.6-r2
 `-- app-arch/unzip-6.0-r1
 `-- sys-libs/gpm-1.20.5
 `-- app-arch/xz-utils (unable to resolve to a package / package masked or removed)
Thanks a lot
Comment 3 Enrique Domínguez 2009-11-03 00:20:18 UTC
(In reply to comment #1)
> Can't reproduce this.
> 
> strace and gdb could be of help.
> 
I found this guide http://www.gentoo.org/proj/en/qa/backtraces.xml
and I got a core file, I'm tar-bzipped it and sending you now. Hope it help.
Comment 4 Enrique Domínguez 2009-11-03 00:29:55 UTC
I don't understand very well steps for backtraces, following core file I ran this command:
$ gdb /usr/bin/x48 --core core --batch --quiet -ex "thread apply all bt full" -ex "quit"
with core file I sent you, and got:
thread apply all bt full" -ex "quit"
(no debugging symbols found)

warning: Can't read pathname for load map: Input/output error.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
Core was generated by `x48 -rom /usr/share/hp48/sxrom-j'.
Program terminated with signal 11, Segmentation fault.
[New process 7569]
#0  0xb7ced6e3 in strlen () from /lib/libc.so.6

Thread 1 (process 7569):
#0  0xb7ced6e3 in strlen () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#1  0xb7cd8895 in puts () from /lib/libc.so.6
No symbol table info available.
#2  0x0805be34 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.

COuld you told me if this information is useful for you? Thanks.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-01-30 19:50:01 UTC
Please, reopen this bug if this is not fixed with the just-committed 0.6.3 version. Thanks.