Summary: | dev-python/nevow-0.10.0 Segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yuri++ <yuri.linux> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | gdb output |
Description
Yuri++
2011-02-05 16:22:33 UTC
Please post output of 'emerge --info' (In reply to comment #1) > Please post output of 'emerge --info' > G1 ~ # emerge --info Portage 2.1.9.10 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.34-gentoo-r6-i686-Intel-R-_Xeon-R-_CPU_E5430_@_2.66GHz-with-gentoo-2.0.1 Timestamp of tree: Sat, 05 Feb 2011 11:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.67 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.163.com/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="zh_CN" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" 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="/var/lib/layman/vmware" SYNC="rsync://mirrors.163.com/gentoo-portage" USE="X acl bash-completion bzip2 cjk cli consolekit cracklib crypt cscope ctype cups cxx device-mapper dri extras fortran gdbm gdu gif git gnome gnutls gpm gtk iconv jpeg mmap modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl png policykit pppd python readline session ssl subversion sysfs tcpd threads unicode x86 xml xorg 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 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Which is your system python's version? (eselect python list) (In reply to comment #3) > Which is your system python's version? (eselect python list) > G1 ~ # eselect python list Available Python interpreters: [1] python2.6 * [2] python3.1 G1 ~ # Please install sys-devel/gdb and post the output of: cd /var/tmp/portage/dev-python/nevow-0.10.0/work/Nevow-0.10.0 gdb --args python2.6 setup.py build -b build-2.6 (In reply to comment #5) > Please install sys-devel/gdb and post the output of: > > cd /var/tmp/portage/dev-python/nevow-0.10.0/work/Nevow-0.10.0 > gdb --args python2.6 setup.py build -b build-2.6 > G1 Nevow-0.10.0 # gdb --args python2.6 setup.py build -b build-2.6 GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/python2.6...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python2.6 setup.py build -b build-2.6 [Thread debugging using libthread_db enabled] /var/tmp/portage/dev-python/nevow-0.10.0/work/Nevow-0.10.0/formless/annotate.py:730: DeprecationWarning: object.__new__() takes no parameters rv = cls = InterfaceClass.__new__(cls, name, bases, dct) Program received signal SIGSEGV, Segmentation fault. 0xb792db18 in EVP_PKEY_CTX_dup () from /usr/lib/libcrypto.so.1.0.0 (gdb) Attach the output of: gdb --args python2.6 -v setup.py build -b build-2.6 r bt Which version of dev-libs/openssl do you use? You might check a different version. Also please check if this problem occurs with Python 2.7.*. Created attachment 262053 [details]
gdb output
gdb backtrace
(In reply to comment #7) > Attach the output of: > > gdb --args python2.6 -v setup.py build -b build-2.6 > r > bt > thank's see http://bugs.gentoo.org/attachment.cgi?id=262053 Does the following command cause segmentation fault? python2.6 -c 'import _hashlib' (In reply to comment #11) > Does the following command cause segmentation fault? > python2.6 -c 'import _hashlib' > I manually import _hashlib is no problem. G1 Nevow-0.10.0 # python Python 2.6.5 (release26-maint, Sep 13 2010, 19:47:59) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import _hashlib >>> I'm having the exact same problem, but on x86_64. This is my emerge --info: Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.11.2-r3, 2.6.36-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_L_620_@_2.00GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 13 Feb 2011 15:30:01 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11-r1 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm PUEL AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -msse4 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -msse4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="gentoo.inode.at" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" 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="/var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/wschlich-testing /usr/local/portage /usr/local/mythtv_portage/Gentoo" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus devicekit dri eds evolution ffmpeg firefox flac fontconfig fortran ftp gdbm gdu gif gnome gnome-keyring gphoto2 gpm gps gstreamer gtk gtk+ iconv ipv6 jabber jpeg jpeg2k lame latex libnotify lirc mad mmx mmx2 modules mp3 mp4 mpeg mplayer mudflap multilib mythtv nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png policykit pppd pulseaudio python qt3support quicktime readline rss samba session spell sqlite sse sse2 sse3 sse4 sse4a ssl startup-notification svg sysfs syslog tcpd theora threads tiff udev unicode usb vorbis wifi wps x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" NETBEANS_MODULES="apisupport harness ide java nb websvccommon mobility soa cnd dlight enterprise profiler" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS python2.6 -c 'import _hashlib' gives nothing, as well as 'import _hashlib' in interactive mode: so no segfault. Johannes After upgrading python2.6 from 2.6.5-r3 to 2.6.6-r1 the emerge went through: >>> Installing (1 of 1) dev-python/nevow-0.10.0 * Compilation and optimization of Python modules for CPython 2.6 ... [ ok ] * Regeneration of Twisted plugin cache with CPython 2.6 /usr/lib64/python2.6/site-packages/formless/annotate.py:730: DeprecationWarning: object.__new__() takes no parameters rv = cls = InterfaceClass.__new__(cls, name, bases, dct) /usr/lib64/python2.6/site-packages/nevow/testutil.py:7: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. from popen2 import Popen3 /usr/lib64/python2.6/site-packages/nevow/guard.py:15: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 >>> Recording dev-python/nevow in "world" favorites file... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. moncalamari jvs # emerge coherence Johannes Yuri++: Please check if your problem exists with >=dev-lang/python-2.6.6-r1:2.6 and also provide information requested in comment #8. (In reply to comment #15) > Yuri++: Please check if your problem exists with >=dev-lang/python-2.6.6-r1:2.6 > and also provide information requested in comment #8. > Python 2.6.6-r1 test pass, 2.7 will complain an error. python2.7 setup.py build -b build-2.7 Traceback (most recent call last): File "setup.py", line 3, in <module> from nevow import __version__ as version File "/var/tmp/portage/dev-python/nevow-0.10.0/work/Nevow-0.10.0/nevow/__init__.py", line 5, in <module> from nevow._version import version File "/var/tmp/portage/dev-python/nevow-0.10.0/work/Nevow-0.10.0/nevow/_version.py", line 2, in <module> from twisted.python import versions ImportError: No module named twisted.python * ERROR: dev-python/nevow-0.10.0 failed (compile phase): * Building failed with CPython 2.7 in distutils_building() function * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 5182: Called distutils_src_compile * environment, line 1416: Called python_execute_function 'distutils_building' * environment, line 3716: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-python/nevow-0.10.0', * the complete build log and the output of 'emerge -pqv =dev-python/nevow-0.10.0'. * The complete build log is located at '/var/tmp/portage/dev-python/nevow-0.10.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/nevow-0.10.0/temp/environment'. * S: '/var/tmp/portage/dev-python/nevow-0.10.0/work/Nevow-0.10.0' (In reply to comment #16) > 2.7 will complain an error. You need to run python-updater. |