Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210065 - app-office/openoffice during build: typesconfig crashed with typesconfig[19930]: segfault ...
Summary: app-office/openoffice during build: typesconfig crashed with typesconfig[1993...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 03:10 UTC by Wolf Canis
Modified: 2011-03-16 22:39 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
latest emerge --info output (emerge-info.txt,4.63 KB, text/plain)
2008-04-15 12:44 UTC, Wolf Canis
Details
Build log - openoffice 2.4.0 (app-office:openoffice-2.4.0:20080415-133532.log.bz2,898.46 KB, application/octet-stream)
2008-04-15 17:19 UTC, Wolf Canis
Details
emerge --info (emerge-info.txt,4.65 KB, text/plain)
2008-05-30 21:05 UTC, Wolf Canis
Details
build log (app-office:openoffice-2.4.0:20080530-192211.log.bz2,862.72 KB, application/octet-stream)
2008-05-30 21:10 UTC, Wolf Canis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wolf Canis 2008-02-14 03:10:54 UTC
Hello,
during the build process, inter alia, was typesconfig created and shall, so far I that understand, check the possible type size and create typesize.h. During this typesconfig crashed with:

segfault at 00000000 eip 08048caa esp bfeb9270 error 4
segfault at 00000000 eip 08048c31 esp bfeb9270 error 6

And that 2-3 times.
Weird is, that the build process with out any errors finished and OpenOffice works fine.


Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
2.
3.

Actual Results:  
OpenOffice will merge into the system.

Expected Results:  
OpenOffice will merge into the system, but without any segfaults.

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8-wolf-v1 i686)
=================================================================
System uname: 2.6.23-gentoo-r8-wolf-v1 i686 Genuine Intel(R) CPU T2130 @ 1.86GHz
Timestamp of tree: Wed, 13 Feb 2008 19:30:06 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="/media/Trekstor/Gentoo/mirror/source/distfiles/                 ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
LANG="en_US.UTF-8"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi adns alsa amrnb amrwb applet artworkextra avahi bash-completion beagle berkdb binfilter bitmap-fonts bittorrent bl branding bzip2 cairo cardbus catalogs ccache cdaudio cdio cdparanoia cdr cjk cli colordiff cpudetection cracklib crypt cscope cube cups dbus dell device-mapper dga directfb disk-partition divx djvu dmi dri dts dv dvb dvd dvdr dvdread dvi ecc enca encode esd evo examples exif extensions extrafilters fam fame fastcgi fbcon fbcondecor fbsplash ffmpeg finger firefox flac fltk foomaticdb fortran freetts ftp gd gdbm geoip ggi gif gimpprint glib gnome gnomecanvas gopher gpac gphoto2 gpm gstreamer gtk gtkhtml hal hddtemp hpn html iconv idn ieee1394 imagemagick imlib intl iris isdnlog java javascript jbig jpeg jpeg2k jrtplib keyring l7filter lash lcms libcaca libgda libnotify libsamplerate libsexy lirc lm_sensors logrotate lucene lzo mad madwifi md5sum midi mikmod mime mjpeg mmap mmx mmxext mng modplug mono mozdevelop mozdom mozilla mp2 mp3 mpeg mplayer mtp mudflap muine multiuser musepack nas nautilus ncurses nemesi network network-cron nfs nids nls nntp nptl nptlonly nsplugin ntfs ogg openal opengl openmp oss pam pcap pcmcia pcre pdf perl plugins png pnm portaudio postproc ppds pppd pvr python quicktime radio rar rdesktop readline reflection replytolist rtc ruby sasl scanner sdl sensord session sharedmem shorten sid silc smp sndfile snmp sockets sound soundtouch sox speex spell spl srt sse sse2 ssl startup-notification svg svga symlink syslog t1lib tcpd tga theora threads threadsonly thunderbird tiff tivo toolbar truetype truetype-fonts tta twolame type1-fonts unicode usb v4l v4l2 vamp vcd vidix vim-pager vim-syntax vim-with-x vorbis vorbis-psy wavpack wifi win32codecs wireshark withsamplescripts wma wmf wmp x86 xanim xattr xcomposite xml xmlrpc xorg xpm xprint xv xvid xvmc yv12 zlib zoran" 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" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev i128 i740 i810 s3 v4l vesa vga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wolf Canis 2008-02-14 03:29:13 UTC
Ohh, I forgot to mention, after start of OpenOffice I found in ~/.xsession-errors the entry: javaldx failed!

Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-24 14:47:34 UTC
Hmm, interesting catch, though can't reproduce it here, my build log contains no segfaults at all...
Comment 3 Wolf Canis 2008-03-24 15:33:13 UTC
(In reply to comment #2)
> Hmm, interesting catch, though can't reproduce it here, my build log contains
> no segfaults at all...
> 

That isn't very helpful. What additional information do you need to proceed?
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2008-03-24 15:47:01 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Hmm, interesting catch, though can't reproduce it here, my build log contains
> > no segfaults at all...
> > 
> 
> That isn't very helpful. What additional information do you need to proceed?
> 

I know that it isn't very helpful, but actually I really don't have to much of an idea how to tackle this. And as I can't reproduce it and it seems to be non-harmful...

Still: You might check out openoffice-2.4.0_rc5 which is in portage now, and see if it is fixed, it has some changes to the build stuff.
Comment 5 Wolf Canis 2008-03-24 16:05:11 UTC
(In reply to comment #4)
> Still: You might check out openoffice-2.4.0_rc5 which is in portage now, and
> see if it is fixed, it has some changes to the build stuff.
> 

Ok, I will try it.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2008-04-15 11:33:07 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Still: You might check out openoffice-2.4.0_rc5 which is in portage now, and
> > see if it is fixed, it has some changes to the build stuff.
> > 
> 
> Ok, I will try it.
> 

Anything new here?
Comment 7 Wolf Canis 2008-04-15 12:44:03 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > Still: You might check out openoffice-2.4.0_rc5 which is in portage now, and
> > > see if it is fixed, it has some changes to the build stuff.
> > > 
> > 
> > Ok, I will try it.
> > 
> 
> Anything new here?
> 

Hello,
sorry for the delay. The version that you suggested isn't in the portage tree. I sync daily, therefore I think my portage tree is up to date. That's the result:

-- Begin
wolf-di6400 0(0) 02:33 PM  ~ # emerge -av '=openoffice-2.4.0_rc5'

These are the packages that would be merged, in order:

Calculating dependencies |
emerge: there are no ebuilds to satisfy "=app-office/openoffice-2.4.0_rc5".

wolf-di6400 0(0) 02:34 PM  ~ # equery list -p openoffice
[ Searching for package 'openoffice' in all categories among: ]
 * installed packages
[I--] [  ] app-office/openoffice-2.3.1-r1 (0)
 * Portage tree (/usr/portage)
[-P-] [M~] app-office/openoffice-2.4.0 (0)
[-P-] [  ] app-office/openoffice-bin-2.3.1 (0)
[-P-] [M~] app-office/openoffice-bin-2.4.0 (0)
wolf-di6400 0(0) 02:34 PM  ~ #

-- End

And I downgraded to gcc 4.1.2, because of a compile error during compilation of firefox 2.0.0.13. Openoffice has with gcc 4.1.2 still the same error. Following the latest emerge --info output.
Comment 8 Wolf Canis 2008-04-15 12:44:40 UTC
Created attachment 149799 [details]
latest emerge --info output
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2008-04-15 13:05:50 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > (In reply to comment #4)
> > > > Still: You might check out openoffice-2.4.0_rc5 which is in portage now, and
> > > > see if it is fixed, it has some changes to the build stuff.
> > > > 
> > > 
> > > Ok, I will try it.
> > > 
> > 
> > Anything new here?
> > 
> 
> Hello,
> sorry for the delay. The version that you suggested isn't in the portage tree.
> I sync daily, therefore I think my portage tree is up to date. That's the
> result:
> 
> -- Begin
> wolf-di6400 0(0) 02:33 PM  ~ # emerge -av '=openoffice-2.4.0_rc5'

Ahmmm, yes, that's because it has been superceeded by openoffice-2.4.0 since my original comment...
Comment 10 Wolf Canis 2008-04-15 13:29:30 UTC
(In reply to comment #9)
Ok, then I will test it with version openoffice-2.4.0.
Comment 11 Wolf Canis 2008-04-15 13:50:27 UTC
(In reply to comment #10)
Hello,
that's what did:
1) modified /etc/portage/package.keywords:

=app-office/openoffice-2.4.0 ~x86
=media-libs/vigra-1.5.0-r1 ~x86

2) emerge -av '=openoffice-2.4.0' (four other packages were emerged). Compiling of OOO is still running but the following messages appeared in /var/log/messages:

Apr 15 15:40:21 wolf-di6400 typesconfig[29674]: segfault at 00000000 eip 08048c4b esp bfaaf8d0 error 4
Apr 15 15:40:21 wolf-di6400 typesconfig[29675]: segfault at 00000000 eip 08048c0c esp bfaaf8d0 error 6

The situation hasn't changed. :(
Comment 12 Wolf Canis 2008-04-15 17:11:17 UTC
(In reply to comment #11)
Hello,
the build was successful, but with the same segfaults, how earlier mentioned. After start of OOO are the following messages in ~/xsession-errors:

--Begin
javaldx failed! 
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2a002b9 (Untitled1 )
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
--End

The emerged packages are:
1. dev-java/rhino-1.5.5-r4
2. dev-java/servletapi-2.3-r3
3. media-libs/vigra-1.5.0-r1
4. dev-db/hsqldb-1.8.0.9
5. app-office/openoffice-2.4.0

I attach the build log of openoffice.
Comment 13 Wolf Canis 2008-04-15 17:19:46 UTC
Created attachment 149828 [details]
Build log - openoffice 2.4.0
Comment 14 Andreas Proschofsky (RETIRED) gentoo-dev 2008-05-29 22:50:41 UTC
Could you please try to re-emerge openoffice-2.4.0? There have been quite some changes since your last try.

Also the javaldx-issue is not related (and should be gone now)
Comment 15 Wolf Canis 2008-05-30 05:59:10 UTC
(In reply to comment #14)
Yep, I will do it to night. :-)

Comment 16 Wolf Canis 2008-05-30 21:03:35 UTC
(In reply to comment #14)
OOO build finished, but same behavior as by the other builds. :-(

Build time:
openoffice: Fri May 30 21:22:10 2008: 1 hour, 25 minutes, 29 seconds


Following the output of eix openoffice: 
     Installed versions:  2.4.0(10:45:53 PM 05/30/2008)(binfilter cups dbus firefox gnome gstreamer gtk java ldap mono odk opengl pam -debug -eds -elibc_FreeBSD -kde -linguas_af -linguas_ar -linguas_as_IN -linguas_be_BY -linguas_bg -linguas_bn -linguas_br -linguas_bs -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_de -linguas_dz -linguas_el -linguas_en -linguas_en_GB -linguas_en_US -linguas_en_ZA -linguas_eo -linguas_es -linguas_et -linguas_fa -linguas_fi -linguas_fr -linguas_ga -linguas_gl -linguas_gu_IN -linguas_he -linguas_hi_IN -linguas_hr -linguas_hu -linguas_it -linguas_ja -linguas_km -linguas_ko -linguas_ku -linguas_lt -linguas_lv -linguas_mk -linguas_ml_IN -linguas_mr_IN -linguas_nb -linguas_ne -linguas_nl -linguas_nn -linguas_nr -linguas_ns -linguas_or_IN -linguas_pa_IN -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ru -linguas_rw -linguas_sh -linguas_sk -linguas_sl -linguas_sr -linguas_ss -linguas_st -linguas_sv -linguas_sw_TZ -linguas_ta_IN -linguas_te_IN -linguas_tg -linguas_th -linguas_ti_ER -linguas_tn -linguas_tr -linguas_ts -linguas_uk -linguas_ur_IN -linguas_ve -linguas_vi -linguas_xh -linguas_zh_CN -linguas_zh_TW -linguas_zu -seamonkey -webdav -xulrunner)


segfault message in /var/log/messages:
May 30 21:26:38 wolf-di6400 typesconfig[5378]: segfault at 00000000 eip 08048bc4 esp bf882ac0 error 4
May 30 21:26:38 wolf-di6400 typesconfig[5379]: segfault at 00000000 eip 08048b80 esp bf882ac0 error 6

Thanks for your time.
Comment 17 Wolf Canis 2008-05-30 21:05:25 UTC
Created attachment 154875 [details]
emerge --info
Comment 18 Wolf Canis 2008-05-30 21:10:22 UTC
Created attachment 154879 [details]
build log
Comment 19 Scott H 2008-08-31 10:48:15 UTC
Same bug here during emerge of openoffice. 

Aug 31 18:15:20 Gentoo kernel: typesconfig[15420]: segfault at 0 ip 08048bc8 sp bff1dec0 error 4 in typesconfig[8048000+2000]
Aug 31 18:15:20 Gentoo kernel: typesconfig[15421]: segfault at 0 ip 08048b84 sp bff1dec0 error 6 in typesconfig[8048000+2000]

Sync'd yesterday. Build continued past this point and appears to be successful.
Comment 20 Alan 2008-09-28 10:56:50 UTC
I get this error too, emerging openoffice 3.0.0_rc2, the error appears in dmesg.
Comment 21 Kevin Bowling 2008-10-15 18:16:01 UTC
I'm seeing this as well with OO3, just made the connection that it was the openoffice build causing the dmesg log.

Possibly AMD64 or gcc 4.3/glibc 2.8 related?

Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64)                                                          
=================================================================                   
System uname: Linux-2.6.27-gentoo-x86_64-AMD_Opteron-tm-_Processor_248-with-glibc2.2.5                                                                                  
Timestamp of tree: Wed, 15 Oct 2008 18:00:04 +0000                                  
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39                                                        
dev-java/java-config: 1.3.7, 2.1.6-r1                                               
dev-lang/python:     2.5.2-r8                                                       
dev-util/cmake:      2.6.2                                                          
sys-apps/baselayout: 2.0.0                                                          
sys-apps/openrc:     0.3.0-r1                                                       
sys-apps/sandbox:    1.2.18.1-r3                                                    
sys-devel/autoconf:  2.13, 2.63                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                   
sys-devel/binutils:  2.18-r3                                                        
sys-devel/gcc-config: 1.4.0-r4                                                      
sys-devel/libtool:   2.2.6a                                                         
virtual/os-headers:  2.6.26                                                         
ACCEPT_KEYWORDS="amd64 ~amd64"                                                      
CBUILD="x86_64-pc-linux-gnu"                                                        
CFLAGS="-march=opteron -O2 -pipe"                                                   
CHOST="x86_64-pc-linux-gnu"                                                         
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /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/terminfo /etc/udev/rules.d"                                                                        
CXXFLAGS="-march=opteron -O2 -pipe"                                                 
DISTDIR="/usr/portage/distfiles"                                                    
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                        
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
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/portage/layman/kde-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 a52aac aac acl acpi aiglx aim alsa amd64 avi berkdb bluetooth branding browserplugin bzip2 cairo cdaudio cddb cdr cli cracklib crypt cups daap dbus dga divx divx4linux dri dts dvd dvdr dvdread emboss encode evo exif fam ffmpeg fftw flac fontconfig foomaticdb fortran ftp gdbm gif gimp glitz gpm gtk hal iconv icq imap isdnlog java6 jpeg kde kdeprefix kerberos lcms ldap libnotify lm_sensors logitech-mouse lzo mad midi mikmod mmx mozbranding mozsvg mp3 mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nsplugin ogg opengl openmp oscar pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime rar readline reflection samba scanner sdl session slang spell spl sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype type1 unicode usb vorbis wma wmp wxwindows x264 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="emu10k1x emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoopempty 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_defaultauthz_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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorbncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL,LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 22 Mr. Bones. (RETIRED) gentoo-dev 2008-10-21 15:28:27 UTC
Saw this building openoffice-3.0.0 on both my stable x86 boxes so it's still happening.
Comment 23 Chris Arguin 2008-11-16 03:56:02 UTC
I've also just noticed this in my dmesg log, when upgrading to openoffice 3.0.0 on my amd64 system.

In case it's useful:
Portage 2.2_rc14 (default-linux/amd64/2007.0, gcc-4.3.2, glibc-2.8_p20080602-r0,
 2.6.27-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r2-x86_64-AMD_Phenom-tm-_9600_Quad-Core_Proces
sor-with-glibc2.2.5
Timestamp of tree: Fri, 14 Nov 2008 05:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r9, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/
fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active
/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuil
d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms s
trict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu
de=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 arts berkdb caps cdr cli cracklib crypt cups
dbus dri dvd dvdr emacs fortran gdbm gimp gpm gtk iconv ipv6 isdnlog jpeg kde lm
_sensors midi mmx mp3 mudflap ncurses nls nptl nptlonly offensive opengl openmp
pam pcre perl php png posix ppds pppd python readline reflection samba sane sess
ion slp spell spl sse sse2 ssl tcpd tiff unicode usb vorbis xcb xcomposite xorg
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k
1x      ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro
3       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 aut
hn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_o
wner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env e
xpires ext_filter file_cache filter headers include info log_config logio mem_ca
che mime mime_magic negotiation rewrite setenvif speling status unique_id userdi
r usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="key
board mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb2
16 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_A
LL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 24 thanasis 2009-03-06 13:02:49 UTC
Same for openoffice-3.0.1.
dmesg shows:
typesconfig[18752]: segfault at 0 ip 08048bce sp bfd731b0 error 6 in typesconfig[8048000+2000]
Comment 25 Paul Mulders 2009-03-12 10:54:38 UTC
been racking my brain over this... happens here too with 3.0.1 on amd64 (sane {C{,XX},LD}FLAGS)...
Comment 26 Hanno Zysik (geki) 2009-03-19 12:48:32 UTC
I cannot reproduce this, but may help to debug.

Install gdb if not already done.
Build openoffice until you see the typesconfig segfault (Ctrl + C).
Then do the following steps.

export ARCH_FLAGS="<CXXFLAGS>" # without -O? flag
export LINKFLAGSOPTIMIZE="<LDFLAGS>"

# you may need to correct paths here
export S="/var/tmp/portage/app-office/openoffice-3.0.1/work/ooo/build/ooo300-m15/"

cd $S
export LinuxEnvSet="Linux<ARCH>Env.Set.sh"
source $S/$LinuxEnvSet

export ENABLE_SYMBOLS=TRUE
export DISABLE_STRIP=TRUE

cd sal/
rm -rf unxlng<TAB>
build
# wait

cd typesconfig/
../unxlngx6.pro/bin/typesconfig ../unxlngx6.pro/inc/sal/typesizes.hh

# check segfault

# run gdb
gdb ../unxlngx6.pro/bin/typesconfig
(gdb) set args ../unxlngx6.pro/inc/sal/typesizes.hh
(gdb) run
(gdb) bt

# check trace / post trace here

That's it.
Comment 27 Hanno Zysik (geki) 2009-03-19 12:54:00 UTC
Arr, 'unxlngx6.pro' is for amd64 only.

For x86 it should be 'unxlngi6.pro'.
Comment 28 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-25 13:00:03 UTC
Still can't reproduce. So anyone else currently seeing this?
Comment 29 Pacho Ramos gentoo-dev 2009-11-25 14:25:42 UTC
(In reply to comment #28)
> Still can't reproduce. So anyone else currently seeing this?
> 

I still get lots of segfaults while building openoffice (even they don't stopping the build) under amd64
Comment 30 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-16 22:39:14 UTC
Can't reproduce with libreoffice 3.3.1 (which will replace openoffice), so finally closing, if you have more (and current info) please file a bug against libreoffice.