Page 1 of 1
Pale Moon fills up HDD and then crashes
Posted: 2017-09-12, 23:29
by adesh
This has happened three times in last two weeks. Pale Moon starts writing to disk non-stop until disk is 100% full and then gets killed by the OS. Process dies with
code 11 (SIGSEGV).
I don't think I can provide any concrete steps to reproduce the crash, but in all three cases, the browser had been running for 2-3 days and I had at least one "private" window open. I always restore my previous session and generally have around 100 tabs (of which only 10-15 are active) in session. Other than that the issue seems to be random.
This is the first time I'm seeing crashes so the issue seems to be tied to the latest version of the browser as my browsing habits and browser configuration has not changed.
Arch Linux 32-bit ver 27.4.2
Re: Pale Moon fills up HDD and then crashes
Posted: 2017-09-13, 00:09
by gracious1
adesh wrote:This has happened three times in last two weeks. Pale Moon starts writing to disk non-stop until disk is 100% full and then gets killed by the OS. Process dies with code 11 (SIGSEGV).
That's a segmentation fault (caused by trying to access an unassigned memory location or something like that).
In what directory is it writing to the disk?
Re: Pale Moon fills up HDD and then crashes
Posted: 2017-09-13, 10:42
by Walter Dnes
adesh wrote:This has happened three times in last two weeks. Pale Moon starts writing to disk non-stop until disk is 100% full and then gets killed by the OS. Process dies with code 11 (SIGSEGV).
I don't think I can provide any concrete steps to reproduce the crash, but in all three cases, the browser had been running for 2-3 days and I had at least one "private" window open. I always restore my previous session and generally have around 100 tabs (of which only 10-15 are active) in session. Other than that the issue seems to be random.
This is the first time I'm seeing crashes so the issue seems to be tied to the latest version of the browser as my browsing habits and browser configuration has not changed.
This brings to mind trava90's posts in thread
viewtopic.php?f=37&t=16654
I suggest starting up Pale Moon and going to
about:buildconfig Please copy and paste the text into a post. The formatting will be lost, but it's the content that we're concerned about.
Re: Pale Moon fills up HDD and then crashes
Posted: 2017-09-13, 12:10
by adesh
There is not much information about the crash. I tried to check if coredump is captured, but there is none. Please suggest what information to collect should it happen next.
No coredump:
$ coredumpctl -1
TIME PID UID GID SIG COREFILE EXE
Wed 2017-09-13 01:11:51 IST 6111 1000 1000 11 none /usr/lib/palemoon
And this is what about:buildconfig says:
gracious1 wrote:In what directory is it writing to the disk?
I'll try to do that if it happens next!
Re: Pale Moon fills up HDD and then crashes
Posted: 2017-09-13, 19:18
by Walter Dnes
The buildconfig looks pretty normal. I see one "style difference", which may not really matter. My equivalant mozconfig would contain...
Code: Select all
ac_add_options --enable-optimize
export CFLAGS="--enable-optimize=-O2 -msse2 -mfpmath=sse -floop-parallelize-all -fpredictive-commoning -ftree-loop-distribution -ftree-vectorize"
export CXXFLAGS="${CFLAGS}"
whereas the build for your PM appears to have it rolled up into one line...
Code: Select all
--enable-optimize="-O2 -msse2 -mfpmath=sse -floop-parallelize-all -fpredictive-commoning -ftree-loop-distribution -ftree-vectorize"
I don't know if that makes a difference or not.
Re: Pale Moon fills up HDD and then crashes
Posted: 2017-09-15, 08:19
by adesh
Thanks Walter Dnes for your suggestions on buildconfig. I'll probably use them someday when I get a powerful machine to compile my own Pale Moon. Moonchild specifically states that you should never compile Pale Moon on a laptop, otherwise the laptop might get vapourized
.
Currently, I am using
palemoon-bin from AUR which is a repack of the official tabrall. I don't expect much to be done on the issue (given its nature). Just wanted to report so that everyone knows.
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-06-30, 15:54
by adesh
This time Pale Moon 28 also crashed in a similar fashion. Fortunately, I had started the browser from the command line.
These were the last words of Pale Moon:
Code: Select all
Assertion failure: [unhandlable oom] Failed to allocate object while tenuring., at /home/adesh/exp/UXP/js/src/jscntxt.cpp:1153
Segmentation fault (core dumped)
Hopefully it will help to pinpoint the problem.
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-06-30, 16:08
by Moonchild
It doesn't help, unfortunately. This is a deliberate crash when running out of memory.
Of course a crash dump can't be written if your disk is full (how can that fill up anyway, don't you set a maximum to your VM swap space?)
It would be great to know the nature of those disk writes.
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-07-01, 08:33
by adesh
I thought about the problem some more and now I think this may not be an issue with Pale Moon. Actually, this may not be an issue at all. So, probably, what is happening is this:
Pale Moon runs out of memory (due to too many tabs open) and so, mighty OOM killer nukes it. Now, system wants to dump the core to the disk. This starts the writes to the disk, turns on the disk activity light and free space starts decreasing until it becomes zero, and then after a few seconds Pale Moon window is gone. After this, disk free space is back. I think problem here is that
this disk (partition) does not have enough free space to hold the contents of the system memory (or just the browser's), that's why there is no crash dump at all and free space returns when the partial dump file is discarded. Considering that this happens when I am browsing heavily and close to memory limit, it looks like my theory may be correct.
Now, I feel stupid about making a noise about this without giving it proper thought by taking system variables into consideration.
This topic can be closed/deleted if you wish.
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-07-01, 09:40
by Moonchild
Makes sense if it tries to do a full memory dump. Confusion was when exactly the browser hit the crash, before or after the writes
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-07-03, 03:34
by stevenpusser
You can certainly build Pale Moon on a laptop if you don't have any cooling issues with it running at 100% usage on all cores for a while. I've done it many times. My last laptop with an i5-6200u (15 watts max) and current i7-8750H (45 watts) can run all day at 100% without getting close to critical temperatures...even if you do have cooling problems, usually it's possible to set the CPU to a lower maximum speed to avoid that. It just takes longer to build in that case. You can also undervolt modern (3rd gen or better) Intel processors with iuvolt so they run cooler at the same speeds.
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-07-03, 11:09
by BenFenner
This sounds eerily similar to two different issues I've experienced on Arch Linux (64-bit), neither of them Pale Moon related.
1) When launching Thunderbird, it will occasionally launch and decide to fill up all 16 GB of RAM while loading, eventually fill the RAM and then the 2 GB of swap space, then the OS kills the process. When this happens I have to create a new profile in Thunderbird, swap over all of my user profile preferences, extensions, and similar, then ditch the old profile. I've gotten so good at this, I can get it done in ~3 minutes in the morning. It seems to happen more often when I shut down the computer, or it otherwise turns off, without having closed Thunderbird properly first.
2) Even more related, I used to have a situation where permissions on some files (will look this up and update when I get to that machine) would be lost, and the OS would constantly try to perform normal work, but could not because of the permissions mix-up. This caused error logs to be created very quickly, hogging most of the CPU until finally the SSD filled up with error logs in a matter of hours. The fix was correcting the permissions SNAFU, then deleting the logs. Thankfully this hasn't happened in a long time. Some Arch update a year ago probably fixed it for me.
Sorry if this isn't too helpful, but I've seen Arch do some crazy stuff...
Re: Pale Moon fills up HDD and then crashes
Posted: 2018-07-03, 15:06
by BenFenner
These are my notes on the permanent storage fill-up issue I had on Arch.
Code: Select all
If the mate-panel process takes up large amounts of CPU and begins filling the /home/username/.xsession-errors log file then:
ls -lai /run/user/1000/dconf/
If the owner is root and not username then:
sudo chown -R username:username /run/user/1000/dconf
If the journalctl logs have filled up a larger portion of the main storage by now then:
sudo journalctl --vacuum-size=25M
So I had a problem with mate-panel for a while that eventually got fixed, but you might have some other issue that's filling your logs? It's worth a check I'd say.