Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258075 - www-client/seamonkey-1.1.14 crashes with automagic -D_FORTIFY_SOURCE=2
Summary: www-client/seamonkey-1.1.14 crashes with automagic -D_FORTIFY_SOURCE=2
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
Depends on:
Blocks: fortify-source
  Show dependency tree
Reported: 2009-02-07 22:24 UTC by Martin Väth
Modified: 2009-02-18 00:21 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2009-02-07 22:24:23 UTC
Since gcc-4.3.3 -D_FORTIFY_SOURCE=2 is set implicitly. This causes
seamonkey-1.1.14 to fail with a buffer overflow already during emerge
(see below). A similar problem was there with earlier firefox-versions,
but apparently firefox has been fixed in this respect:

*** buffer overflow detected ***: /usr/lib/seamonkey/regxpcom terminated
>>> Regenerating /etc/
>>> Original instance of package unmerged safely.
*** buffer overflow detected ***: /usr/lib/seamonkey/regxpcom terminated
>>> Regenerating /etc/
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2009-02-14 15:36:57 UTC you say that building seamonkey with gcc-4.3.3 fails, no? It doesn't here, and i don't see FORTIFY during the build.

Portage (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, x86_64)
System uname: Linux-
Timestamp of tree: Sat, 14 Feb 2009 11:15:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2009-02-14 16:25:08 UTC
Nvm, was able to reproduce now.
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2009-02-15 19:00:23 UTC
Fixed in 1.1.4's 0.1 patchset, please sync in an hour or so and try again, if it works, please close the bug.
Comment 4 Martin Väth 2009-02-15 21:31:48 UTC
Compiled and started successfully on x86 and amd64