Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 567636 - www-client/firefox segfaults - ABORT: Divide by zero: file /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/toolkit/xre/nsSigHandlers.cpp, line 157
Summary: www-client/firefox segfaults - ABORT: Divide by zero: file /var/tmp/portage/w...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-06 11:06 UTC by dashmz
Modified: 2017-08-26 17:55 UTC (History)
0 users

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


Attachments
emerge --info (info.txt,5.89 KB, text/plain)
2015-12-06 11:06 UTC, dashmz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dashmz 2015-12-06 11:06:11 UTC
Created attachment 418662 [details]
emerge --info

Firefox crashes on various occasions. Often when I skip through youtube videos, sometimes when just opening youtube videos. Sometimes on non-multimedia-sites. Flash is not installed.

libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_38
[27377] ###!!! ABORT: Divide by zero: file /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/toolkit/xre/nsSigHandlers.cpp, line 157
[27377] ###!!! ABORT: Divide by zero: file /var/tmp/portage/www-client/firefox-42.0-r2/work/firefox-42.0/toolkit/xre/nsSigHandlers.cpp, line 157
Segmentation fault
Comment 1 Jory A. Pratt gentoo-dev 2015-12-06 21:23:49 UTC
As your using nvidia drivers please set in about:config the following options,

layers.acceleration.force-enabled
webgl.force-enabled

both to false and retest.
Comment 2 dashmz 2015-12-07 08:58:05 UTC
Crashed again:

libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
Segmentation fault
Comment 3 Jory A. Pratt gentoo-dev 2015-12-07 12:53:57 UTC
(In reply to dashmz from comment #2)
> Crashed again:
> 
> libva info: VA-API version 0.38.0
> libva info: va_getDriverName() returns 0
> libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
> libva info: Found init function __vaDriverInit_0_38
> libva info: va_openDriver() returns 0
> Segmentation fault

After a quick review of code, it looks to be a mesa issue. Please provide mesa version.
Comment 4 dashmz 2015-12-07 13:56:53 UTC
app-eselect/eselect-mesa-0.0.10
media-libs/mesa-11.0.6
x11-apps/mesa-progs-8.2.0
Comment 5 dashmz 2015-12-12 19:15:42 UTC
(In reply to dashmz from comment #4)
> app-eselect/eselect-mesa-0.0.10
> media-libs/mesa-11.0.6
> x11-apps/mesa-progs-8.2.0

Did an update today but firefox is still crashing.

app-eselect/eselect-mesa-0.0.10
media-libs/mesa-11.0.7
x11-apps/mesa-progs-8.3.0
Comment 6 Sven B. 2015-12-15 09:31:20 UTC
Do you have the custom-cflags / custom-optimization use-flags set? I had crashes in similar scenarios. When using the default optimizations/cflags, i still have crashes, but only once in a while instead of constantly.
Comment 7 dashmz 2015-12-15 10:01:32 UTC
(In reply to Sven B. from comment #6)
> Do you have the custom-cflags / custom-optimization use-flags set? I had
> crashes in similar scenarios. When using the default optimizations/cflags, i
> still have crashes, but only once in a while instead of constantly.

No, just CFLAGS="-march=native -O2". I didnt touch these configs for years.
Comment 8 Jory A. Pratt gentoo-dev 2017-08-26 17:55:21 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team