Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106511 - Seg faults when compiling Links with Javascript and GCC-SSP
Summary: Seg faults when compiling Links with Javascript and GCC-SSP
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-19 05:20 UTC by Beech Horn
Modified: 2005-11-08 11:10 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beech Horn 2005-09-19 05:20:13 UTC
Pages such as Gentoo Wiki, etc using Javascript will Segfault when using Links
compiled with javascript using SSP. Whilst this makes sense a solution to the
issue or an SSP/PaX safe javascript implementation would be nice.

Reproducible: Always
Steps to Reproduce:
1.Compile links with javascript using an SSP enabled GCC
2.Open links on a javascript enabled page (i.e. Gentoo Wiki)
3.Run a piece of javascript.

Actual Results:  
Program exits politely indicating there is a segfault.

Expected Results:  
Allowed the javascript to execute nicely without segfaulting.

GCC-SSP-PIE
USE="javascript pax"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-09-19 05:39:56 UTC
I'm not really sure if this is related to SSP/PaX. Which version are you using?
See Bug 100545.
Comment 2 Beech Horn 2005-09-19 05:45:46 UTC
The latest ebuild from portage (r17).

Nothing has a ~x86 build on my system, etc.

Using hardened Gentoo.

Using a non ssp gcc or doing a -javascript in USE fixes this issue.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-19 05:47:49 UTC
(In reply to comment #2)
> The latest ebuild from portage (r17).

OK, can you try w/ 2.1_pre18?
Comment 4 Beech Horn 2005-09-19 05:48:30 UTC
I should use the ~x86 r18 version - cheers for the bug link.

Hopefully it'll loose the ~x86 so that new stable emerged systems don't segfault.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2005-11-08 11:10:25 UTC
pre18 is stable so closing.