Gentoo Archives: gentoo-science

From: Christopher Schwan <cschwan@××××××××××××××××××.de>
To: Kamil Radlak <radx3ster@×××××.com>, gentoo-science@l.g.o
Subject: [gentoo-science] Re: Sage - Segmentation fault
Date: Fri, 11 Mar 2011 07:38:06
Message-Id: 201103110837.17982.cschwan@students.uni-mainz.de
1 Hi Kamil,
2
3 thank you for your mail. Did you had a look at
4
5 https://github.com/cschwan/sage-on-gentoo/issues#issue/40 ?
6
7 The interesting stuff was found out by Martin von Gagern, on January 30, 2011.
8 Its turns out that the problem is a bug in glibc, see
9
10 https://bugs.gentoo.org/353224
11
12 and
13
14 http://sources.redhat.com/bugzilla/show_bug.cgi?id=12453
15
16 which are hopefully fixed soon.
17
18 Cheers,
19
20 Christopher
21
22 On Thursday 10 March 2011 20:42:45 you wrote:
23 > Hi Christopher,
24 > i have reproduce exactly same bug with segmentation fault on Sage start
25 > from this thread
26 > http://archives.gentoo.org/gentoo-science/msg_fbdeb9ffce6dd65a98953b648fd31
27 > 000.xml on amd64 machine.
28 >
29 > I include the backtrace from gdb and emerge info
30 >
31 > Python 2.6.6 (r266:84292, Mar 6 2011, 00:22:21)
32 > [GCC 4.5.2] on linux2
33 > Type "help", "copyright", "credits" or "license" for more information.
34 >
35 > Program received signal SIGSEGV, Segmentation fault.
36 > 0x00007fffeab74697 in __cxa_allocate_exception () from
37 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/libstdc++.so.6
38 > (gdb) bt
39 > #0 0x00007fffeab74697 in __cxa_allocate_exception ()
40 > from /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/libstdc++.so.6
41 > #1 0x00007fffcd1ceffe in
42 > GiNaC::function::find_function(std::basic_string<char,
43 > std::char_traits<char>, std::allocator<char> > const&, unsigned int) ()
44 > from /usr/lib/libpynac-0.2.so.1
45 > #2 0x00007fffcc9d6352 in ?? ()
46 > from /usr/lib64/python2.6/site-packages/sage/symbolic/function.so
47 > #3 0x00007fffcc9dedc5 in ?? ()
48 > from /usr/lib64/python2.6/site-packages/sage/symbolic/function.so
49 > #4 0x00007ffff7aca12c in ?? () from /usr/lib/libpython2.6.so.1.0
50 > #5 0x00007ffff7a7ea62 in PyObject_Call () from
51 > /usr/lib/libpython2.6.so.1.0 #6 0x00007ffff7b08596 in
52 > PyEval_CallObjectWithKeywords ()
53 > from /usr/lib/libpython2.6.so.1.0
54 > #7 0x00007ffff7a94453 in ?? () from /usr/lib/libpython2.6.so.1.0
55 > #8 0x00007ffff7a7ea62 in PyObject_Call () from
56 > /usr/lib/libpython2.6.so.1.0 #9 0x00007fffcc9d2f71 in ?? ()
57 > from /usr/lib64/python2.6/site-packages/sage/symbolic/function.so
58 > #10 0x00007ffff7aca12c in ?? () from /usr/lib/libpython2.6.so.1.0
59 > #11 0x00007ffff7a7ea62 in PyObject_Call () from
60 > /usr/lib/libpython2.6.so.1.0 #12 0x00007ffff7b08596 in
61 > PyEval_CallObjectWithKeywords ()
62 > from /usr/lib/libpython2.6.so.1.0
63 > #13 0x00007ffff7a94453 in ?? () from /usr/lib/libpython2.6.so.1.0
64 > #14 0x00007ffff7a7ea62 in PyObject_Call () from
65 > /usr/lib/libpython2.6.so.1.0
66 >
67 >
68 >
69 > Portage 2.1.9.42 (default/linux/amd64/10.0/desktop, gcc-4.5.2,
70 > glibc-2.13-r1, 2.6.37-tuxonice x86_64)
71 > =================================================================
72 > System uname: Linux-2.6.37-tuxonice-x86_64-Intel-R-_Core-TM-_i3_CPU_M_370_@
73 > _2.40GHz-with-gentoo-2.0.1
74 > Timestamp of tree: Thu, 10 Mar 2011 17:45:01 +0000
75 > ccache version 3.1.4 [disabled]
76 > app-shells/bash: 4.2_p7
77 > dev-java/java-config: 2.1.11-r3
78 > dev-lang/python: 2.6.6-r2::sage-on-gentoo, 2.7.1-r1, 3.1.3-r1
79 > dev-util/ccache: 3.1.4
80 > dev-util/cmake: 2.8.4
81 > sys-apps/baselayout: 2.0.1-r1
82 > sys-apps/openrc: 0.7.0
83 > sys-apps/sandbox: 2.5
84 > sys-devel/autoconf: 2.13, 2.68
85 > sys-devel/automake: 1.10.3, 1.11.1
86 > sys-devel/binutils: 2.21
87 > sys-devel/gcc: 4.5.2
88 > sys-devel/gcc-config: 1.4.1
89 > sys-devel/libtool: 2.4-r1
90 > sys-devel/make: 3.82
91 > virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
92 > ACCEPT_KEYWORDS="amd64 ~amd64"
93 > ACCEPT_LICENSE="*"
94 > CBUILD="x86_64-pc-linux-gnu"
95 > CFLAGS="-march=native -O2 -pipe"
96 > CHOST="x86_64-pc-linux-gnu"
97 > CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt
98 > /usr/share/maven-bin-3.0/conf"
99 > CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
100 > /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
101 > /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d
102 > /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
103 > CXXFLAGS="-march=native -O2 -pipe"
104 > DISTDIR="/usr/portage/distfiles"
105 > FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news
106 > parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn
107 > unmerge-logs unmerge-orphans userfetch"
108 > FFLAGS=""
109 > GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/
110 > ftp://ftp.vectranet.pl/gentoo/"
111 > LANG="pl_PL.UTF-8"
112 > LC_ALL=""
113 > LDFLAGS="-Wl,-O1 -Wl,--as-needed"
114 > LINGUAS="pl"
115 > MAKEOPTS="-j5"
116 > PKGDIR="/usr/portage/packages"
117 > PORTAGE_CONFIGROOT="/"
118 > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
119 > --compress --force --whole-file --delete --stats --timeout=180
120 > --exclude=/distfiles --exclude=/local --exclude=/packages"
121 > PORTAGE_TMPDIR="/var/tmp"
122 > PORTDIR="/usr/portage"
123 > PORTDIR_OVERLAY="/var/lib/layman/enlightenment-niifaq /var/lib/layman/kde
124 > /var/lib/layman/science /var/lib/layman/sage-on-gentoo
125 > /var/lib/layman/dustin /usr/local/portage"
126 > SYNC="rsync://rsync7.pl.gentoo.org/gentoo-portage"
127 > USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2
128 > cairo cdr cli consolekit cracklib crypt csharp cups cxx dbus dri dts dvd
129 > dvdr emboss encode exif fam fbsplash firefox flac fortran gdbm gdu gif gpm
130 > gtk handbook i18n iconv intel ipv6 java jpeg latex lcms ldap libnotify lzma
131 > mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl
132 > nptlonly ogg openal opengl openmp pam pango pcre pdf perl png policykit
133 > ppds pppd pulseaudio python qt qt3support qt4 readline scanner sdl session
134 > slang spell sqlite sqlite3 sse sse2 sse3 sse4 ssl ssse3
135 > startup-notification svg symlink sysfs tcpd threads tiff truetype udev
136 > unicode usb vaapi vim-synxtax vorbis x264 xcb xml xorg xulrunner xv xvid
137 > zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
138 > emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
139 > maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
140 > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug
141 > file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi
142 > null plug rate route share shm softvol"
143 > APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm
144 > authn_default authn_file authz_dbm authz_default authz_groupfile authz_host
145 > authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate
146 > dir disk_cache env expires ext_filter file_cache filter headers include
147 > info log_config logio mem_cache mime mime_magic negotiation rewrite
148 > setenvif speling status unique_id userdir usertrack vhost_alias"
149 > CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap
150 > syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore
151 > fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
152 > oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate
153 > tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux"
154 > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb
155 > ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18"
156 > USERLAND="GNU"
157 > VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2
158 > ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal
159 > rawnat logmark ipmark dhcpmac delude chaos account"
160 > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK,
161 > PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
162 > PORTAGE_RSYNC_EXTRA_OPTS