LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   PaleMoon from source SlackBuild (https://www.linuxquestions.org/questions/slackware-14/palemoon-from-source-slackbuild-4175605127/)

montagdude 05-05-2017 09:19 AM

Final test: I compiled Pale Moon with clang/clang++ with the default flags. It works fine, no segfaults. That would be a simpler (and for me, preferred) option instead of using a legacy gcc.

khronosschoty 05-05-2017 09:30 AM

Quote:

Originally Posted by montagdude (Post 5706582)
Final test: I compiled Pale Moon with clang/clang++ with the default flags. It works fine, no segfaults. That would be a simpler (and for me, preferred) option instead of using a legacy gcc.

I'll look into that as an option, thank you.

kjhambrick 05-05-2017 02:14 PM

montagdude --

Very interesting !

I've always wanted to try clang in lieu of gcc ...

I don't see it on slackbuilds.org -- did you 'find' a SlackBuild somewhere ?

Thanks !

-- kjh

khronosschoty 05-05-2017 02:17 PM

clang is including in a default install of Slackware.

Also I did not have much "luck" with clang over here.

kjhambrick 05-05-2017 02:20 PM

Dooh !

I didn't look for it in /usr/bin/ and I see it on Slackware64 14.2 in /var/log/packages/llvm-3.8.0-x86_64-2 ...

Thanks, khronosschoty :)

-- kjh

montagdude 05-05-2017 07:19 PM

Quote:

Originally Posted by khronosschoty (Post 5706710)
clang is including in a default install of Slackware.

Also I did not have much "luck" with clang over here.

With the build, or with the browser after building?

Quote:

Originally Posted by kjhambrick (Post 5706712)
Dooh !

I didn't look for it in /usr/bin/ and I see it on Slackware64 14.2 in /var/log/packages/llvm-3.8.0-x86_64-2 ...

Thanks, khronosschoty :)

-- kjh

FYI, to build with clang/clang++, all you have to do is this:

Code:

CC=clang CXX=clang++ ./PaleMoon.SlackBuild

chris.willing 05-06-2017 05:48 PM

Quote:

Originally Posted by montagdude (Post 5706820)
FYI, to build with clang/clang++, all you have to do is this:

Code:

CC=clang CXX=clang++ ./PaleMoon.SlackBuild

Thanks, that works for me - the previously crashy yahoo & hfboards sites now load OK.

chris

kjhambrick 05-07-2017 05:06 AM

Well shucks ...

I was so looking forward to trying PaleMoon in lieu of Firefox ...

P.S. I built and installed the PaleMoon.Slackbuild with CC=clang ; CXX=clang++ as described above

System: Slackware64 14.2 + Multilib + various SBo Packages ; running Slackware's KDE4 + Oxygen Theme

Ran PaleMoon from the Commandline, seems it to start fine but PaleMoon segfaults I when I click on any of the Menu Links at the top ( for example, Help ):
Code:

[konrad@kjhlt6 ~]$ palemoon &
[1] 31261
[konrad@kjhlt6 ~]$ [31261] ###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 4 requests ago: file /tmp/SBo/Pale-Moon-27.3.0_Release/toolkit/xre/nsX11ErrorHandler.cpp, line 144
[31261] ###!!! ABORT: X_CreatePixmap: BadAlloc (insufficient resources for operation); 4 requests ago: file /tmp/SBo/Pale-Moon-27.3.0_Release/toolkit/xre/nsX11ErrorHandler.cpp, line 144

[1]+  Segmentation fault      palemoon

And this is the offending code in /tmp/SBo/Pale-Moon-27.3.0_Release/toolkit/xre/nsX11ErrorHandler.cpp
Code:

134 #ifdef MOZ_WIDGET_QT
135  // We should not abort here if MOZ_X_SYNC is not set
136  // until http://bugreports.qt.nokia.com/browse/QTBUG-4042
137  // not fixed, just print error value
138  if (!PR_GetEnv("MOZ_X_SYNC")) {
139    fprintf(stderr, "XError: %s\n", notes.get());
140    return 0; // temporary workaround for bug 161472
141  }
142 #endif
143
144  NS_RUNTIMEABORT(notes.get());              // kjh note:  this is the line reported above
145  return 0; // not reached

I did find that if I first open a new tab and go to a site ( say www.google.com ), I can click on the Menu Entries without a segfault.

However the Dropdown Menus are transparent where I can see whatever is behind them but the Menus are hard to read.

Could this be the oxygen issue reported above ?

Any ideas ?

Thanks.

-- kjh

Alien Bob 05-07-2017 05:20 AM

Did you upgrade oxygen-gtk2 to my patched version (the patch that supposedly fixes crashes in Pale Moon because it tells the Oxygen theming engine that palemoon is a firefox-derivative)?

kjhambrick 05-07-2017 05:25 AM

Thanks Alien Bob !

No I did not install oxygen-gtk2 ... I see that you added it on May 2 ...

I'll try that out and post a reply to the thread.

Thanks again.

--kjh

kjhambrick 05-07-2017 05:39 AM

Outstanding !

I downloaded Alien Bob's Oxygen-Gtk2

Then I ran: upgradepkg oxygen-gtk2-1.4.6.1-x86_64-1alien.txz

And now PaleMoon works GREAT on Slackware64 14.2 on KDE with the Oxygen Theme.

Thank you for the hint, Alien Bob !

-- kjh

P.S. I visited and clicked around on montagdude's problem site: http://hfboards.hockeysfuture.com/ without any issues ... so far PaleMoon with Alien Bob's oxygen-gtk2-1.4.6.1-x86_64-1alien.txz Package is a keeper !

kjhambrick 05-07-2017 06:55 AM

I am impressed with Pale Moon !

Pale Moon is very nice (:) It didn't take long at all to remember the 'old ways' of setting up Firefox :))

I was able to export bookmarks from FireFox and import them into PaleMoon.

And then, with the help of the Password-Exporter AddOn on either-side ...

I installed the current version in FireFox and then Password-Exporter Version 1.2.1.1-signed in PaleMoon, I was able to export && import nearly 300 Saved Passwords and Disabled Logins into PaleMoon from FireFox.

Bookmarks were easy -- Exported as HTML from FireFox and Imported the same into Pale Moon.

Posting this reply via Pale Moon ... will test for a while but so far I don't see any reason to run FireFox !

Thanks to all !!

-- kjh

P.S. I set up the same 17 tabs and logged into PaleMoon and Firefox on separate KDE DeskTops and PaleMoon is using fewer resources too !

Code:


  PID USER      PR  NI    VIRT    RES    SHR S  %CPU P %MEM    TIME+ COMMAND                         
 4975 konrad    20  0 5514016 3.149g 3.072g S  9.3 2  5.0  6:09.96 vmware-vmx                       
 8670 konrad    20  0 3013156 872760 109396 S  4.3 1  1.3  0:37.51 firefox                         
 8358 konrad    20  0 1846012 911776  88516 S  3.3 5  1.4  1:10.08 palemoon

Not a complete test but Firefox is sitting idle ( as idle as any browser can ever be ) but I am posting this P.S. in Pale Moon


All times are GMT -5. The time now is 01:55 AM.