Palemoon segfaults on hentaihaven.org

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.

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!
Harkonnen
Moonbather
Moonbather
Posts: 65
Joined: 2014-11-04, 12:27
Location: Kiev, Ukraine

Palemoon segfaults on hentaihaven.org

Unread post by Harkonnen » 2016-07-22, 00:54

OS: Debian Jessie x64
Palemoon: 26.3.3 (x64), 26.2.2 (x64)

New profile, all plugins disabled
http://hentaihaven.org/
Move mouse over any video thumbnail a few times = segmentation fault

backtrace:

Code: Select all

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffde62b700 (LWP 31647)]
0x00007fffc4c4d949 in gst_video_frame_map_id () from /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
(gdb) bt
#0  0x00007fffc4c4d949 in gst_video_frame_map_id ()
   from /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0
#1  0x00007ffff3141894 in ?? () from /usr/lib/palemoon/libxul.so
#2  0x00007ffff3141bfd in ?? () from /usr/lib/palemoon/libxul.so
#3  0x00007ffff2f041ae in ?? () from /usr/lib/palemoon/libxul.so
#4  0x00007ffff2f042e9 in ?? () from /usr/lib/palemoon/libxul.so
#5  0x00007ffff2f0584c in ?? () from /usr/lib/palemoon/libxul.so
#6  0x00007ffff2f07371 in ?? () from /usr/lib/palemoon/libxul.so
#7  0x00007ffff2f0a007 in ?? () from /usr/lib/palemoon/libxul.so
#8  0x00007ffff2f04ea7 in ?? () from /usr/lib/palemoon/libxul.so
#9  0x00007ffff37ae28d in ?? () from /usr/lib/palemoon/libxul.so
#10 0x00007ffff3780ba6 in ?? () from /usr/lib/palemoon/libxul.so
#11 0x00007ffff37aebc8 in ?? () from /usr/lib/palemoon/libxul.so
#12 0x00007ffff68ea018 in ?? () from /usr/lib/palemoon/libnspr4.so
#13 0x00007ffff7bc70a4 in start_thread (arg=0x7fffde62b700) at pthread_create.c:309
#14 0x00007ffff6ed687d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
libgstvideo-1.0.so.0 is a symlink to libgstvideo-1.0.so.0.404.0 which belong to libgstreamer-plugins-base1.0 version 1.4.4-2

megaman

Re: Palemoon segfaults on hentaihaven.org

Unread post by megaman » 2016-07-22, 01:07

First of all, we don't associate with those kinds of sites.
Second, it works fine on Palemoon 27a, but you mentioned Debian but I tested on Windows.
When I finish my session on 27, I will try 26.3.3.

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

Re: Palemoon segfaults on hentaihaven.org

Unread post by Moonchild » 2016-07-22, 08:19

Moved to the Linux board. Please keep issues with Linux in the Linux board, thank you.
"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

0strodamus
Fanatic
Fanatic
Posts: 142
Joined: 2014-11-19, 19:48

Re: Palemoon segfaults on hentaihaven.org

Unread post by 0strodamus » 2016-07-23, 21:41

I can't replicate your crashes on Arch Linux. However, myself and at least one other user are experiencing crashes on other video websites as outlined in this post. Another site that reliably crashes on me is http://www.xvideos.com/video19642161/w4b.16.03.13.kendra.roll.bouncy.boobs. So far, the only things I've found to stop the crashes so far is to uninstall gst-libav or gst-plugins-good.
megaman wrote:First of all, we don't associate with those kinds of sites.
Who is "we"?

megaman

Re: Palemoon segfaults on hentaihaven.org

Unread post by megaman » 2016-07-23, 22:05

0strodamus wrote:Who is "we"?
Quickly trying to get information out and no time to edit. We don't provide support for problems with sites like those, unless it happens on sites like Yahoo! or YouTube, stuff that is Safe For Work.

Harkonnen
Moonbather
Moonbather
Posts: 65
Joined: 2014-11-04, 12:27
Location: Kiev, Ukraine

Re: Palemoon segfaults on hentaihaven.org

Unread post by Harkonnen » 2016-07-24, 01:41

0strodamus wrote:I can't replicate your crashes on Arch Linux. However, myself and at least one other user are experiencing crashes on other video websites as outlined in this post. Another site that reliably crashes on me is http://www.xvideos.com/video19642161/w4b.16.03.13.kendra.roll.bouncy.boobs.
Interestingly, i do not get crashes on either of this two links. Different versions of libgstvideo?

I did some experiments to narrow the problem, here is what i found:

The exact action that causes a crash for me on hentaihaven - its moving mouse second time over the same animated thumbnail. It does not crash as long as you never touch the same picture twice. Also, only some thumbnails cause this, you can move mouse multiple time over others without a crash - for clean testing this is a link to the two which do crash http://hentaihaven.org/search/Furueru.

Disabling gstreamer prevent crashes (unsurprisingly)
26.1.1 do not crash (also unsurprisingly - gstreamer0.10 instead of 1.0)
32-bit version crashes in exactly the same way as 64-bit

0strodamus
Fanatic
Fanatic
Posts: 142
Joined: 2014-11-19, 19:48

Re: Palemoon segfaults on hentaihaven.org

Unread post by 0strodamus » 2016-07-24, 18:43

I'm experiencing the crashes here too. My libgstvideo-1.0.so.0 is a symlink to libgstvideo-1.0.so.0.802.0 which belongs to gst-plugins-base-libs 1.8.2-1.

I misstated things yesterday as I was using a Virtualbox installation to test. Today I'm finding that the websites I posted crash in both my Virtualbox Arch install and my real system. Your hentaihaven.org sites are only crashing on my real system, but not in Virtualbox.

Because my Virtualbox installation is an exact replica of my real system (or so I thought :? ), I started suspecting hardware acceleration as a possible cause. I compiled ffmpeg-1-3.1.1-2 and gst-libav-1.8.2-2 with "--disable-hwaccels" and "--without-system-libav --with-libav-extra-configure="--disable-hwaccels"" respectively, but noticed no difference in crashing behavior.

0strodamus
Fanatic
Fanatic
Posts: 142
Joined: 2014-11-19, 19:48

Re: Palemoon segfaults on hentaihaven.org

Unread post by 0strodamus » 2016-07-31, 18:57

I thought I would post an update on what I've tried and failed to accomplish so far regarding the gstreamer-1.0 crashes I'm experiencing.

And let me just state up front that I have zero expectations of support due to the fact that I'm compiling this browser myself. Actually, I have zero expectations of support regardless. My view of open-source projects is that an end-user's sole expectation should be to appreciate what has been created and shared - nothing more.

I compiled firefox-esr-45.2.0 and found that gstreamer-1.0 was not crashing on the sites mentioned earlier. I then compared the code found in $srcdir/firefox-45.2.0esr/dom/media/gstreamer/ to $srcdir/palemoon-26.3.3/content/media/gstreamer/. I noticed that the firefox code had references to files not in the Pale Moon source, such as MP3FrameParser.cpp and MP3FrameParser.h, among other code changes. To make a long story short, I took many more stabs than I should have at merging the firefox code into palemoon's, but each try was an abject failure. My hope of contributing something meaningful to this project was shattered. :( My reach exceeds my grasp!

By looking through the code I did discover that my notion that gstreamer-0.10 support had been removed entirely in version 26.2.0 was wrong (I also found this information had been posted by Moonchild later). So I was able to compile a build that isn't crashing by using mozconfig flag "ac_add_options --enable-gstreamer=0.10". Many thanks to the developers for keeping this option in the source code!

I'll take some more stabs at this as inspiration strikes, but right now I must admit I'm tapped out.

RaineSage

Re: Palemoon segfaults on hentaihaven.org

Unread post by RaineSage » 2016-08-17, 13:12

Granted, this post was made back in July, so since I can't see a fix I'm guessing there isn't one, however, I'm having problems watching (for example, these videos). I know (after reading your response above) that these kinds of websites aren't supported, but they use an HTML5 friendly video player. Is that the reason? Should I be sticking to Flash Player?

User avatar
trava90
Contributing developer
Contributing developer
Posts: 1742
Joined: 2013-05-20, 18:19
Location: Somewhere in Sector 001

Re: Palemoon segfaults on hentaihaven.org

Unread post by trava90 » 2016-08-21, 22:05

This should be fixed in the next point release (26.4.0.1).

0strodamus
Fanatic
Fanatic
Posts: 142
Joined: 2014-11-19, 19:48

Re: Palemoon segfaults on hentaihaven.org

Unread post by 0strodamus » 2016-08-23, 01:17

That sounds great! Thanks for working on a fix, it's much appreciated. :thumbup: