public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* *** stack smashing detected ***: ./firefox-bin terminated
@ 2009-08-08 22:31 Justin Mattock
  2009-08-09 17:17 ` Robert Hancock
  0 siblings, 1 reply; 5+ messages in thread
From: Justin Mattock @ 2009-08-08 22:31 UTC (permalink / raw)
  To: Linux Kernel Mailing List

How should I handle this:

*** stack smashing detected ***: ./firefox-bin terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x7f765ab2a477]
/lib64/libc.so.6(__fortify_fail+0x0)[0x7f765ab2a440]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f7646911a6f]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764690d67c]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764691077f]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76469090cd]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f95e0]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f9c1d]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466bd944]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466c738b]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466af3e1]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466a4af0]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764638ed29]
/home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764637edaf]
/usr/lib64/libglib-2.0.so.0[0x7f765bbd477b]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f765bbd320e]
/usr/lib64/libglib-2.0.so.0[0x7f765bbd3958]
/usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x70)[0x7f765bbd3b40]
./libxul.so[0x7f765efd07a1]
./libxul.so[0x7f765efd0b71]
./libxul.so[0x7f765f08ea79]
./libxul.so[0x7f765f0628bd]
./libxul.so[0x7f765efd0883]
./libxul.so[0x7f765eeaadaf]
./libxul.so(XRE_main+0x213f)[0x7f765e812149]
./firefox-bin[0x401bc0]
/lib64/libc.so.6(__libc_start_main+0xec)[0x7f765aa65a4c]
./firefox-bin[0x4019b9]

even if I move the firefox package to /usr/lib64
this still occurs.

I would like to keep stack protection,
but having firefox crash over any flash content
is unattractive.

should I try firefox about this, or change something in the kernel?


-- 
Justin P. Mattock

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: *** stack smashing detected ***: ./firefox-bin terminated
  2009-08-08 22:31 *** stack smashing detected ***: ./firefox-bin terminated Justin Mattock
@ 2009-08-09 17:17 ` Robert Hancock
  2009-08-09 17:33   ` Justin P. Mattock
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Robert Hancock @ 2009-08-09 17:17 UTC (permalink / raw)
  To: Justin Mattock; +Cc: Linux Kernel Mailing List

On 08/08/2009 04:31 PM, Justin Mattock wrote:
> How should I handle this:
>
> *** stack smashing detected ***: ./firefox-bin terminated
> ======= Backtrace: =========
> /lib64/libc.so.6(__fortify_fail+0x37)[0x7f765ab2a477]
> /lib64/libc.so.6(__fortify_fail+0x0)[0x7f765ab2a440]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f7646911a6f]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764690d67c]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764691077f]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76469090cd]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f95e0]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f9c1d]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466bd944]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466c738b]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466af3e1]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466a4af0]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764638ed29]
> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764637edaf]
> /usr/lib64/libglib-2.0.so.0[0x7f765bbd477b]
> /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f765bbd320e]
> /usr/lib64/libglib-2.0.so.0[0x7f765bbd3958]
> /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x70)[0x7f765bbd3b40]
> ./libxul.so[0x7f765efd07a1]
> ./libxul.so[0x7f765efd0b71]
> ./libxul.so[0x7f765f08ea79]
> ./libxul.so[0x7f765f0628bd]
> ./libxul.so[0x7f765efd0883]
> ./libxul.so[0x7f765eeaadaf]
> ./libxul.so(XRE_main+0x213f)[0x7f765e812149]
> ./firefox-bin[0x401bc0]
> /lib64/libc.so.6(__libc_start_main+0xec)[0x7f765aa65a4c]
> ./firefox-bin[0x4019b9]
>
> even if I move the firefox package to /usr/lib64
> this still occurs.
>
> I would like to keep stack protection,
> but having firefox crash over any flash content
> is unattractive.

Use nspluginwrapper, then Flash will run in a separate process and it 
won't crash Firefox when it crashes (which it does fairly regularly).

>
> should I try firefox about this, or change something in the kernel?

Nothing to do with the kernel, it's glibc's stack corruption detection 
that's being triggered.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: *** stack smashing detected ***: ./firefox-bin terminated
  2009-08-09 17:17 ` Robert Hancock
@ 2009-08-09 17:33   ` Justin P. Mattock
  2009-08-09 22:23   ` Justin P. Mattock
  2009-08-10  7:12   ` Justin P. Mattock
  2 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-08-09 17:33 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Linux Kernel Mailing List

Robert Hancock wrote:
> On 08/08/2009 04:31 PM, Justin Mattock wrote:
>> How should I handle this:
>>
>> *** stack smashing detected ***: ./firefox-bin terminated
>> ======= Backtrace: =========
>> /lib64/libc.so.6(__fortify_fail+0x37)[0x7f765ab2a477]
>> /lib64/libc.so.6(__fortify_fail+0x0)[0x7f765ab2a440]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f7646911a6f]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764690d67c]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764691077f]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76469090cd]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f95e0]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f9c1d]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466bd944]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466c738b]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466af3e1]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466a4af0]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764638ed29]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764637edaf]
>> /usr/lib64/libglib-2.0.so.0[0x7f765bbd477b]
>> /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f765bbd320e] 
>>
>> /usr/lib64/libglib-2.0.so.0[0x7f765bbd3958]
>> /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x70)[0x7f765bbd3b40] 
>>
>> ./libxul.so[0x7f765efd07a1]
>> ./libxul.so[0x7f765efd0b71]
>> ./libxul.so[0x7f765f08ea79]
>> ./libxul.so[0x7f765f0628bd]
>> ./libxul.so[0x7f765efd0883]
>> ./libxul.so[0x7f765eeaadaf]
>> ./libxul.so(XRE_main+0x213f)[0x7f765e812149]
>> ./firefox-bin[0x401bc0]
>> /lib64/libc.so.6(__libc_start_main+0xec)[0x7f765aa65a4c]
>> ./firefox-bin[0x4019b9]
>>
>> even if I move the firefox package to /usr/lib64
>> this still occurs.
>>
>> I would like to keep stack protection,
>> but having firefox crash over any flash content
>> is unattractive.
>
> Use nspluginwrapper, then Flash will run in a separate process and it 
> won't crash Firefox when it crashes (which it does fairly regularly).
>
>>
>> should I try firefox about this, or change something in the kernel?
>
> Nothing to do with the kernel, it's glibc's stack corruption detection 
> that's being triggered.
>
Cool thanks for that.

at the moment I was thinking nss, nspr
were the causes since I had not
put them into the system yet.(nor do I really want
to compile that mess).

I'll try nsplugginwrapper  and see what happens.
(and leave the stack protection on).

Justin P. Mattock

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: *** stack smashing detected ***: ./firefox-bin terminated
  2009-08-09 17:17 ` Robert Hancock
  2009-08-09 17:33   ` Justin P. Mattock
@ 2009-08-09 22:23   ` Justin P. Mattock
  2009-08-10  7:12   ` Justin P. Mattock
  2 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-08-09 22:23 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Linux Kernel Mailing List

Robert Hancock wrote:
> On 08/08/2009 04:31 PM, Justin Mattock wrote:
>> How should I handle this:
>>
>> *** stack smashing detected ***: ./firefox-bin terminated
>> ======= Backtrace: =========
>> /lib64/libc.so.6(__fortify_fail+0x37)[0x7f765ab2a477]
>> /lib64/libc.so.6(__fortify_fail+0x0)[0x7f765ab2a440]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f7646911a6f]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764690d67c]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764691077f]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76469090cd]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f95e0]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f9c1d]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466bd944]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466c738b]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466af3e1]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466a4af0]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764638ed29]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764637edaf]
>> /usr/lib64/libglib-2.0.so.0[0x7f765bbd477b]
>> /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f765bbd320e] 
>>
>> /usr/lib64/libglib-2.0.so.0[0x7f765bbd3958]
>> /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x70)[0x7f765bbd3b40] 
>>
>> ./libxul.so[0x7f765efd07a1]
>> ./libxul.so[0x7f765efd0b71]
>> ./libxul.so[0x7f765f08ea79]
>> ./libxul.so[0x7f765f0628bd]
>> ./libxul.so[0x7f765efd0883]
>> ./libxul.so[0x7f765eeaadaf]
>> ./libxul.so(XRE_main+0x213f)[0x7f765e812149]
>> ./firefox-bin[0x401bc0]
>> /lib64/libc.so.6(__libc_start_main+0xec)[0x7f765aa65a4c]
>> ./firefox-bin[0x4019b9]
>>
>> even if I move the firefox package to /usr/lib64
>> this still occurs.
>>
>> I would like to keep stack protection,
>> but having firefox crash over any flash content
>> is unattractive.
>
> Use nspluginwrapper, then Flash will run in a separate process and it 
> won't crash Firefox when it crashes (which it does fairly regularly).
>
>>
>> should I try firefox about this, or change something in the kernel?
>
> Nothing to do with the kernel, it's glibc's stack corruption detection 
> that's being triggered.
>
well I tried nspluginwrapper but once it came
to compiling nss I gave up.

so back to looking at the setup I have right now,
it seems either some of the commercials on hulu
are stack smashers, and some are not.
or there something else happening internally i.g.
I usually hit this error, then about after the second go of
if(after firefox exiting) movies start and work.
(I guess this teaches me to enable stack protection)


thanks for the response,
(ill just leave it as it is for now).

Justin P. Mattock

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: *** stack smashing detected ***: ./firefox-bin terminated
  2009-08-09 17:17 ` Robert Hancock
  2009-08-09 17:33   ` Justin P. Mattock
  2009-08-09 22:23   ` Justin P. Mattock
@ 2009-08-10  7:12   ` Justin P. Mattock
  2 siblings, 0 replies; 5+ messages in thread
From: Justin P. Mattock @ 2009-08-10  7:12 UTC (permalink / raw)
  To: Robert Hancock; +Cc: Linux Kernel Mailing List

Robert Hancock wrote:
> On 08/08/2009 04:31 PM, Justin Mattock wrote:
>> How should I handle this:
>>
>> *** stack smashing detected ***: ./firefox-bin terminated
>> ======= Backtrace: =========
>> /lib64/libc.so.6(__fortify_fail+0x37)[0x7f765ab2a477]
>> /lib64/libc.so.6(__fortify_fail+0x0)[0x7f765ab2a440]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f7646911a6f]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764690d67c]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764691077f]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76469090cd]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f95e0]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466f9c1d]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466bd944]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466c738b]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466af3e1]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f76466a4af0]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764638ed29]
>> /home/name/LFS/net/firefox/plugins/libflashplayer.so[0x7f764637edaf]
>> /usr/lib64/libglib-2.0.so.0[0x7f765bbd477b]
>> /usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f765bbd320e] 
>>
>> /usr/lib64/libglib-2.0.so.0[0x7f765bbd3958]
>> /usr/lib64/libglib-2.0.so.0(g_main_context_iteration+0x70)[0x7f765bbd3b40] 
>>
>> ./libxul.so[0x7f765efd07a1]
>> ./libxul.so[0x7f765efd0b71]
>> ./libxul.so[0x7f765f08ea79]
>> ./libxul.so[0x7f765f0628bd]
>> ./libxul.so[0x7f765efd0883]
>> ./libxul.so[0x7f765eeaadaf]
>> ./libxul.so(XRE_main+0x213f)[0x7f765e812149]
>> ./firefox-bin[0x401bc0]
>> /lib64/libc.so.6(__libc_start_main+0xec)[0x7f765aa65a4c]
>> ./firefox-bin[0x4019b9]
>>
>> even if I move the firefox package to /usr/lib64
>> this still occurs.
>>
>> I would like to keep stack protection,
>> but having firefox crash over any flash content
>> is unattractive.
>
> Use nspluginwrapper, then Flash will run in a separate process and it 
> won't crash Firefox when it crashes (which it does fairly regularly).
>
>>
>> should I try firefox about this, or change something in the kernel?
>
> Nothing to do with the kernel, it's glibc's stack corruption detection 
> that's being triggered.
>
nice idea,
after being completely lazy, and not wanting
to go through the mess, I finally did.
(nss just needs to know where the includes are)

flash plays, the stack protection triggers
flash crashes and burns, but firefox is still
there standing. clicking on back and then to another movie
(that's stack smashing free) does the trick.

maybe libc is set to sensitive, or flash needs the -fstack-protector
switch(Ill send libc a post to see
what they say).

Thanks for the help.

Justin P. Mattock

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-10  7:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-08 22:31 *** stack smashing detected ***: ./firefox-bin terminated Justin Mattock
2009-08-09 17:17 ` Robert Hancock
2009-08-09 17:33   ` Justin P. Mattock
2009-08-09 22:23   ` Justin P. Mattock
2009-08-10  7:12   ` Justin P. Mattock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox