LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-05-2017, 09:19 AM   #31
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,489

Rep: Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110

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.
 
1 members found this post helpful.
Old 05-05-2017, 09:30 AM   #32
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 414

Original Poster
Blog Entries: 2

Rep: Reputation: 207Reputation: 207Reputation: 207
Quote:
Originally Posted by montagdude View Post
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.
 
Old 05-05-2017, 02:14 PM   #33
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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
 
Old 05-05-2017, 02:17 PM   #34
khronosschoty
Member
 
Registered: Jul 2008
Distribution: Slackware
Posts: 414

Original Poster
Blog Entries: 2

Rep: Reputation: 207Reputation: 207Reputation: 207
clang is including in a default install of Slackware.

Also I did not have much "luck" with clang over here.
 
Old 05-05-2017, 02:20 PM   #35
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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
 
Old 05-05-2017, 07:19 PM   #36
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 1,489

Rep: Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110Reputation: 1110
Quote:
Originally Posted by khronosschoty View Post
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 View Post
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
 
3 members found this post helpful.
Old 05-06-2017, 05:48 PM   #37
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 567

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Quote:
Originally Posted by montagdude View Post
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
 
1 members found this post helpful.
Old 05-07-2017, 05:06 AM   #38
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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

Last edited by kjhambrick; 05-07-2017 at 05:12 AM. Reason: add KDE + Oxygen ; added PS
 
Old 05-07-2017, 05:20 AM   #39
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,531

Rep: Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887Reputation: 5887
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)?
 
1 members found this post helpful.
Old 05-07-2017, 05:25 AM   #40
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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
 
Old 05-07-2017, 05:39 AM   #41
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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 !

Last edited by kjhambrick; 05-07-2017 at 06:00 AM. Reason: added p.s.
 
Old 05-07-2017, 06:55 AM   #42
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,483

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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

Last edited by kjhambrick; 05-07-2017 at 07:05 AM. Reason: add p.s.
 
3 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LibreOffice from source SlackBuild. orbea Slackware 28 09-09-2018 05:35 PM
[SOLVED] Where might I find the kernel-source SlackBuild ? kjhambrick Slackware 12 10-19-2016 12:55 PM
Deepin Has Palemoon! michael diemer Linux Deepin 1 10-19-2016 08:04 AM
Can I use current Ooo source with slackware 13.37 slackbuild NightSky Slackware 13 11-06-2013 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration