Erratic Crashes in MX-Linux Vsn 15 [Solved]
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Erratic Crashes in MX-Linux Vsn 15 [Solved]
A few months ago, Pale Moon was added to the MX14 repository and has performed well for users, working with very different hardware. Now, MX-Linux is being upgraded, currently
at the second Beta testing stage. Pale Moon has been included in the MX15 repos.
If Pale Moon is installed from the MX15 repository, we are having crashes on some websites, while if PM is installed by downloading and installing from the Pale Moon source no crashes have occurred (yet). I acknowledge that an immediate answer could be that the problem is either in MX15 Beta, or in the repository package and that Pale Moon is okay.
The MX15 Pale Moon package has been upgraded to 25.8.1 with no improvement. As yet, the team has not found any obvious errors nor omissions in the package.
Crash behaviour is erratic. In some cases, connection to the desired site is not completed, in others connection is made but the crash occurs within a few seconds, some crashes
seem to initiated by mouse movement of a click, others happen without any user action. Sometimes, the next start of Pale Moon reports that Closedown was incorrect and presents
a Restore Screen.
We are still collecting data about the addresses involved, four are: Walmart, sbnation, Mozilla addons and Co-operative Bank, New Zealand. There are more yet to be identified.
My question is: has this odd crash behavior been noted with any other distributions, and/or in any previous developments of Pale Moon ? Suggestions will be very welcome.
at the second Beta testing stage. Pale Moon has been included in the MX15 repos.
If Pale Moon is installed from the MX15 repository, we are having crashes on some websites, while if PM is installed by downloading and installing from the Pale Moon source no crashes have occurred (yet). I acknowledge that an immediate answer could be that the problem is either in MX15 Beta, or in the repository package and that Pale Moon is okay.
The MX15 Pale Moon package has been upgraded to 25.8.1 with no improvement. As yet, the team has not found any obvious errors nor omissions in the package.
Crash behaviour is erratic. In some cases, connection to the desired site is not completed, in others connection is made but the crash occurs within a few seconds, some crashes
seem to initiated by mouse movement of a click, others happen without any user action. Sometimes, the next start of Pale Moon reports that Closedown was incorrect and presents
a Restore Screen.
We are still collecting data about the addresses involved, four are: Walmart, sbnation, Mozilla addons and Co-operative Bank, New Zealand. There are more yet to be identified.
My question is: has this odd crash behavior been noted with any other distributions, and/or in any previous developments of Pale Moon ? Suggestions will be very welcome.
Last edited by gordonC on 2015-12-06, 22:30, edited 1 time in total.
Re: Erratic Crashes in MX-Linux Vsn 15
The main question is: how was Pale Moon packaged/repackaged? Or was it built from source in the package -- and if so: how?
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Erratic Crashes in MX-Linux Vsn 15
Intermittent crashes... I have a bs theory (well only BS if it is wrong).
Do me a favor.. go into about:buildconfig and get me a screenshot.
Do me a favor.. go into about:buildconfig and get me a screenshot.
Re: Erratic Crashes in MX-Linux Vsn 15
Have passed main query on to packager, awaiting reply. Please clarify screenshot required.
Gordon.
Gordon.
Re: Erratic Crashes in MX-Linux Vsn 15
Just a screenshot of about:buildconfiggordonC wrote:Have passed main query on to packager, awaiting reply. Please clarify screenshot required.
Gordon.
Re: Erratic Crashes in MX-Linux Vsn 15
Sorry for my ignorance, dont't where to find about:config
Re: Erratic Crashes in MX-Linux Vsn 15
Type about:buildconfig in the address bar in that build that has issues and take a screenshot of it and link or post it here.gordonC wrote:Sorry for my ignorance, dont't where to find about:config
- stevenpusser
- Project Contributor
- Posts: 903
- Joined: 2015-08-01, 18:33
Re: Erratic Crashes in MX-Linux Vsn 15
The buildconfig is in a patch that creates a mozconfig file, so here's what it reads:
Code: Select all
+export MOZILLA_OFFICIAL=1
+mk_add_options MOZ_CO_PROJECT=browser
+ac_add_options --enable-official-branding
+ac_add_options --enable-application=browser
+ac_add_options --disable-crashreporter
+ac_add_options --disable-accessibility
+ac_add_options --disable-parental-controls
+ac_add_options --disable-webrtc
+ac_add_options --disable-logging
+ac_add_options --disable-necko-wifi
+ac_add_options --disable-installer
+ac_add_options --disable-updater
+ac_add_options --disable-websms-backend
+ac_add_options --disable-tests
+ac_add_options --disable-mochitests
+ac_add_options --disable-debug
+ac_add_options --disable-debug-symbols
+ac_add_options --enable-strip
+ac_add_options --enable-jemalloc
+ac_add_options --enable-optimize="-O3 -msse2 -mfpmath=sse"
+ac_add_options --enable-chrome-format=omni
+ac_add_options --x-libraries=/usr/lib
+ac_add_options --prefix=/usr
Re: Erratic Crashes in MX-Linux Vsn 15
Ok.. I have half of what I need.. But I want to see what version of gcc was used. So I need that from about:buildconfig
Re: Erratic Crashes in MX-Linux Vsn 15
about:buildconfig
Build Machine
Jessiex32
Build platform
target
i686-pc-linux-gnu
Build tools
Compiler Version Compiler flags
gcc gcc version 4.9.2 (Debian 4.9.2-10) -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -O3 -msse2 -mfpmath=sse -fomit-frame-pointer
c++ gcc version 4.9.2 (Debian 4.9.2-10) -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O3 -msse2 -mfpmath=sse -fomit-frame-pointer
Configure arguments
--enable-official-branding --enable-application=browser --disable-crashreporter --disable-accessibility --disable-parental-controls --disable-webrtc --disable-logging --disable-necko-wifi --disable-installer --disable-updater --disable-websms-backend --disable-tests --disable-mochitests --disable-debug --disable-debug-symbols --enable-strip --enable-jemalloc '--enable-optimize=-O3 -msse2 -mfpmath=sse' --enable-chrome-format=omni --x-libraries=/usr/lib --prefix=/usr
Build Machine
Jessiex32
Build platform
target
i686-pc-linux-gnu
Build tools
Compiler Version Compiler flags
gcc gcc version 4.9.2 (Debian 4.9.2-10) -Wall -Wpointer-arith -Wdeclaration-after-statement -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wcast-align -std=gnu99 -fgnu89-inline -fno-strict-aliasing -ffunction-sections -fdata-sections -pthread -pipe -DNDEBUG -DTRIMMED -O3 -msse2 -mfpmath=sse -fomit-frame-pointer
c++ gcc version 4.9.2 (Debian 4.9.2-10) -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -O3 -msse2 -mfpmath=sse -fomit-frame-pointer
Configure arguments
--enable-official-branding --enable-application=browser --disable-crashreporter --disable-accessibility --disable-parental-controls --disable-webrtc --disable-logging --disable-necko-wifi --disable-installer --disable-updater --disable-websms-backend --disable-tests --disable-mochitests --disable-debug --disable-debug-symbols --enable-strip --enable-jemalloc '--enable-optimize=-O3 -msse2 -mfpmath=sse' --enable-chrome-format=omni --x-libraries=/usr/lib --prefix=/usr
Re: Erratic Crashes in MX-Linux Vsn 15
Alright.. Firstly.. -O3 shouldn't be used.. kinda at all.. so change that to -O2. Secondly, --enable-jemalloc should NOT be used with GCC 4.9.
So.. Pass that along to the package maintainer.
BTW, pretty sure my theory is correct.
So.. Pass that along to the package maintainer.
BTW, pretty sure my theory is correct.
Re: Erratic Crashes in MX-Linux Vsn 15
Thanks Matt. Packager Mike will read this when he gets home from work.
Re: Erratic Crashes in MX-Linux Vsn 15
Hi Matt,
I'm the culprit that packaged up palemoon. Now about your advice;
I do find this being set to 03 on line 1833 of configure.in
So just to be clear, these are the 2 changes you're talking about us making?
thanks
Mike
I'm the culprit that packaged up palemoon. Now about your advice;
I'm assuming this refers toFirstly.. -O3 shouldn't be used.. kinda at all.. so change that to -O2
Code: Select all
--enable-optimize=-O3
Code: Select all
MOZ_OPTIMIZE_FLAGS="-O3"
I found enable-jemalloc in the configure.in of your source and it's mentioned 5 times, several of which are mixed in fairly well with other logic.--enable-jemalloc should NOT be used with GCC 4.9.
So just to be clear, these are the 2 changes you're talking about us making?
thanks
Mike
Last edited by mmikeinsantarosa on 2015-12-05, 00:32, edited 1 time in total.
- trava90
- Contributing developer
- Posts: 1742
- Joined: 2013-05-20, 18:19
- Location: Somewhere in Sector 001
Re: Erratic Crashes in MX-Linux Vsn 15
Hi Mike,
(Sorry for jumping in Matt)
Correct. There are known issues with random crashing when using -O3 and GCC 4.9+ on some systems.mmikeinsantarosa wrote:I'm assuming this refers toCode: Select all
--enable-optimize=-O3
That specific line is for Mac OS.mmikeinsantarosa wrote:I do find this being set to 03 on line 1833 of configure.inCode: Select all
MOZ_OPTIMIZE_FLAGS="-O3"
enable-jemalloc will no longer be used beginning with Pale Moon 26. On modern Linux systems, the OS memory allocator is as good or better than jemalloc (i.e. you will get better performance if you don't use jemalloc).mmikeinsantarosa wrote:I found enable-jemalloc in the configure.in of your source and it's mentioned 5 times, several of which are mixed in fairly well with other logic.
Yes, these should solve the problem.mmikeinsantarosa wrote:So just to be clear, these are the 2 changes you're talking about us making?
(Sorry for jumping in Matt)
- stevenpusser
- Project Contributor
- Posts: 903
- Joined: 2015-08-01, 18:33
Re: Erratic Crashes in MX-Linux Vsn 15
Mike, those settings are in the mozconfig.patch file. You can safely edit the -03 to 02, but if you delete any lines, you'll have to adjust that final line count of 23 in the header section of that patch.
Re: Erratic Crashes in MX-Linux Vsn 15
jemalloc, as far as i tested on various gcc versions and systems, is not a culprit (althru it serve almost no purpose, as glibc allocator is good enough these days). but -O3... yes, this is what causes random crashes at gcc 4.9+.
so far, with jemalloc turned off and -O2, i found no problems (and no crashes) on gcc 4.9.2, gcc 4.9.3, and gcc 5.2. usualy my Pale Moon sessions lasts for weeks (i'm not turning off computer and not hibernating it), without any crash at all.
so far, with jemalloc turned off and -O2, i found no problems (and no crashes) on gcc 4.9.2, gcc 4.9.3, and gcc 5.2. usualy my Pale Moon sessions lasts for weeks (i'm not turning off computer and not hibernating it), without any crash at all.
Re: Erratic Crashes in MX-Linux Vsn 15
Fixed we think. Changes proposed by Matt have been made and crashes at this location have stopped. Thanks to all involved.
Re: Erratic Crashes in MX-Linux Vsn 15
+1 - mikegordonC wrote:Thanks to all involved.