Pale Moon crash on Mode.com

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Spam404

Pale Moon crash on Mode.com

Unread post by Spam404 » 2016-07-25, 01:15

I found an issue affecting mode.com and potentially other sites with a similar element.

To reproduce:
1. Go here - https://www.mode.com/
2. Click on the following button -
Image
3. Pale Moon should have ended abruptly

Extra Info:
OS: Windows 10
Exact Version: 26.3.2 (x86)
Other Browser Results: Chrome and Firefox handle the button fine

lyceus

Re: Pale Moon crash on Mode.com

Unread post by lyceus » 2016-07-25, 01:51

Spam404 wrote: Extra Info:
OS: Windows 10
Exact Version: 26.3.2 (x86)
Other Browser Results: Chrome and Firefox handle the button fine
Moderator note: Confirmed that happens too in Windows 7Pro X64 with Pale Moon 26.3.3, as tested before post approval.

User avatar
Nigaikaze
Board Warrior
Board Warrior
Posts: 1322
Joined: 2014-02-02, 22:15
Location: Chicagoland

Re: Pale Moon crash on Mode.com

Unread post by Nigaikaze » 2016-07-25, 02:33

Spam404 wrote:To reproduce:
1. Go here - https://www.mode.com/
2. Click on the following button -
Image
3. Pale Moon should have ended abruptly
Also verified it segfaults with PM 26.3.3 x64 on Linux Mint 17.3:

Code: Select all

###!!! ABORT: unexpected frame type: file /home/trava90/PaleMoon/pmsrc/layout/base/nsCSSFrameConstructor.cpp, line 8859
###!!! ABORT: unexpected frame type: file /home/trava90/PaleMoon/pmsrc/layout/base/nsCSSFrameConstructor.cpp, line 8859
Segmentation fault
EDIT: However, that button does seem to work properly with the Tycho alpha PM 27.0.0a1 x64 on Win 7.
Nichi nichi kore ko jitsu = Every day is a good day.

User avatar
satrow
Forum staff
Forum staff
Posts: 1885
Joined: 2011-09-08, 11:27

Re: Pale Moon crash on Mode.com

Unread post by satrow » 2016-07-25, 04:28

Appears to work as expected on the public Alpha version of the upcoming PM 27.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35636
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Pale Moon crash on Mode.com

Unread post by Moonchild » 2016-07-25, 15:38

It's a deliberate runtime abort. I'll see if I can get more details for at least a temporary fix for the CTD.
"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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35636
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Pale Moon crash on Mode.com

Unread post by Moonchild » 2016-07-25, 19:05

Unfortunately I've been unable to get a stack trace so far, which I need to know where in the layout engine this goes wrong. Unfortunately it's somewhere deep in frame layout logic by the looks of it, which may not be fixable in pm-r without breaking other sites.

If someone can get an actual call stack for this CTD, that would help.
"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