Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 176431
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Python Gentoo Team <python@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrey Grozin <grozin@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
numarray.patch patch for the numarray-package patch Anders Ossowicki 2007-11-01 11:58 0000 462 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 176431 depends on: Show dependency tree
Bug 176431 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-29 05:52 0000
dev-python/visual-3.2.9:

grozin@laptop ~ $ python
Python 2.4.3 (#1, Sep 30 2006, 20:36:21)
[GCC 4.1.1 (Gentoo 4.1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from visual import *
Segmentation fault

Interesting thing is that it worked a week ago. Since then, there were a number
of changes, and I cannot find which one have caused this failure. In
particular, I installed numpy; updated xorg-server and xf86-video-i810; and
many other things. Re-emerging visual does not help.

Reproducible: Always

Steps to Reproduce:
1. python
2. from visual import *
3.

Actual Results:  
Segmentation fault

------- Comment #1 From Colin Kingsley (RETIRED) 2007-04-30 23:43:58 0000 -------
I'll check it out. Could you attach the output of emerge --info, please?

------- Comment #2 From Andrey Grozin 2007-05-01 15:22:55 0000 -------
laptop ~ # emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 30 Apr 2007 18:30:10 +0000
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.gentoo.org/gentoo-distfiles/"
LINGUAS="ru"
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="/usr/local/sci"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts bash-completion berkdb bitmap-fonts blas browserplugin
cairo cdr cli cracklib crypt css cups dbus doc dri dvd dvdr dvdread eds emacs
emboss encode esd fam ffmpeg fftw firefox fortran gdbm gif gmp gnome gpm
gstreamer gtk hal iconv isdnlog jpeg kde lapack ldap leim libg++ mad midi
mikmod mozilla mp3 mpeg mule ncurses nls nptl nptlonly nsplugin offensive ogg
opengl oss pam pcre perl png ppds pppd python qt3 qt4 quicktime readline
reflection sdl session speex spell spl ssl tcl tcpd tetex tk truetype
truetype-fonts type1-fonts unicode vcd vorbis win32codecs wxwindows x86 xine
xml xorg 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Andrey Grozin 2007-05-14 16:38:53 0000 -------
I unmasked and installed visual-4_beta0. It segfaults just the same. Then I
installed visual-4_beta15 (the current beta) using the same ebuild. And it
works!

------- Comment #4 From Anders Ossowicki 2007-10-02 21:13:41 0000 -------
I ran into the same problem, but removing dev-python/numarray fixed it.
visual was originally built with numarray, but then rebuilt with numeric
instead (to see if it fixed my problem).

It appears that, even though visual was rebuilt with numeric-support and
_without_ numarray-support[1], it will attempt to use numarray for something:

open("/usr/lib/python2.5/site-packages/numarray/_objectarray.so", O_RDONLY) = 7
read(7,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\v\0\0004\0\0\0"..., 512) =
512
fstat64(7, {st_mode=S_IFREG|0755, st_size=14204, ...}) = 0
mmap2(NULL, 16948, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) =
0xb66bd000
mmap2(0xb66c0000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x2) = 0xb66c0000
close(7)                                = 0
close(6)                                = 0
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

The same thing fixed 4_beta0, btw. I haven't tried with 4_beta15 (or 16, which
is the current version)

[1] * dev-python/visual-3.2.9 {:0} [R] doc -examples -numarray numeric

------- Comment #5 From Andrey Grozin 2007-11-01 11:01:07 0000 -------
I'd propose to bump the version to 4_beta16 (the same ebuild is OK) and to
unmask it (I use it on ~x86). This bug has been fixed in this latest beta. Why
keep 4_beta0 if it does not work, and changing to a good one requires no work
at all?

------- Comment #6 From Anders Ossowicki 2007-11-01 11:58:54 0000 -------
Created an attachment (id=134883) [details]
patch for the numarray-package

Alexander Færoy was so kind as to supply me with a patch to the
numarray-package (where the real problem lies) that as far as I can see fixes
the problem.

------- Comment #7 From Jesus Rivero 2008-07-06 04:03:41 0000 -------
Works for me...
See bug #143237 for a working dev-python/visual-3.2.9 ebuild

Best regards, 

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.25-gentoo-r5 i686)
=================================================================
System uname: 2.6.25-gentoo-r5 i686 AMD Turion(tm) 64 X2 Mobile Technology
TL-56
Timestamp of tree: Mon, 30 Jun 2008 14:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
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/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch
sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/
http://gentoo.cites.uiuc.edu/pub/gentoo/
http://cesium.di.uminho.pt/pub/gentoo/"
LINGUAS="us en es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/overlays/crossdev
/usr/portage/local/layman/enlightenment /usr/portage/local/layman/science
/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts bash-completion berkdb bluetooth branding
cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode
esd evo fam ffmpeg firefox fortran gdbm gif glitz gnome gpm gstreamer gtk hal
iconv ipv6 isdnlog jpeg kerberos ldap mad midi mikmod mp3 mp4 mpeg mplayer
mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php
png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session
spell spl ssl svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv
zlib" ALSA_CARDS="nvidia hda-intel" 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" APACHE2_MODULES="actions
alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env
expires ext_filter file_cache filter headers ident imagemap include info
log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp
proxy_balancer proxy_connect proxy_http rewrite setenvif so 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="us en es" USERLAND="GNU"
VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #8 From Jesus Rivero 2008-08-09 19:25:29 0000 -------
Added dev-python/visual-3.2.9-r1 in tree, solves this issue.

Closing bug.

Best regards, 

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug