LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 08-08-2017, 12:49 PM   #1
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 88

Rep: Reputation: 19
Scribus 1.5 (unstable trunk) segfault on slack 14.2.


Hi all,
I'd like to try scribus 1.5, but my seems to be just a 1.4.6 package for linux distribution: Slackware 14.2 64 bit.
I finally found a "Slackbuild" script to create a package of 1.5.3 scribus version, so I prepared the building directory and then launched the compile. All seemed working for the best: no errors returned and a new package installed.

But... when I launch "scribus" from the shell it return "segmentation fault".
How could I know what's the problem?

Is there someone using a working 1.5.x Scribus version on slack?

Thanks a lot in advance!
 
Old 08-08-2017, 01:18 PM   #2
marrowsuck
Member
 
Registered: Sep 2006
Posts: 106

Rep: Reputation: 33
scribus segfaults in slackware-current as well.
What follows is the backtrace.
Code:
#0  0x000000000092e7e0 in std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x0) at /usr/include/c++/7.1.0/bits/atomic_base.h:396
#1  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#2  0x000000000092e758 in QBasicAtomicInteger<int>::load (this=0x0) at /usr/include/qt5/QtCore/qbasicatomic.h:102
#3  0x000000000092f104 in QtPrivate::RefCount::ref (this=0x0) at /usr/include/qt5/QtCore/qrefcount.h:55
#4  0x0000000000933728 in QString::QString (this=0x7fffffffd228, other=...) at /usr/include/qt5/QtCore/qstring.h:907
#5  0x00000000010913ff in __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at /tmp/SBo/scribus-VCS/scribus/ui/colorlistmodel.cpp:13
#6  0x000000000109148f in _GLOBAL__sub_I_colorlistmodel.cpp(void) () at /tmp/SBo/scribus-VCS/scribus/ui/colorlistmodel.cpp:278
#7  0x000000000158cbc6 in __do_global_ctors_aux ()
#8  0x676e69727453736e in ?? ()
#9  0x0000000000000000 in ?? ()
 
Old 08-08-2017, 05:18 PM   #3
joenew
Member
 
Registered: Mar 2010
Distribution: slackware 14.2 64bit
Posts: 88

Original Poster
Rep: Reputation: 19
Thank you for your report!

I have not enough skills to "decrypt" all that output, but hope someone can explain where the problem is and how to try to solve.
Bye!
 
Old 08-09-2017, 12:11 PM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 3,721

Rep: Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813Reputation: 1813
I chatted a little with a-l-e on irc then, as he suggested, I opened a ticket on their Mantis: after a while jghali suggested that maybe it was the compiler.

so I added these lines before the cmake block in the SlackBuild
Code:
export CC=clang
export CXX=clang++
and this way scribus >= 1.5.3 doesn't segfault anymore when launched.

I tested it on current but I think it should be the same on stable.

Last edited by ponce; 08-09-2017 at 02:07 PM. Reason: linked the ticket
 
1 members found this post helpful.
Old 08-10-2017, 12:37 PM   #5
marrowsuck
Member
 
Registered: Sep 2006
Posts: 106

Rep: Reputation: 33
Thanks ponce!
Works like a charm .
 
  


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
To Trunk or not to Trunk... kernel version craziness Seemoi Debian 7 04-09-2010 03:30 PM
Segfault of a nfs/rpc.portmap server slack 12.2 jpsatlinuxquestions Slackware 0 02-19-2009 04:38 AM
Konqueror unstable in Slack 12.1? arfab Slackware 5 05-14-2008 10:29 AM
Slack 10.0 is very unstable => agpgart Tim Johnson Slackware 7 09-08-2005 01:11 PM
very unstable install of slack 9.1 bosewicht Slackware 7 04-06-2004 08:30 AM

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

All times are GMT -5. The time now is 09:01 PM.

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