You are not logged in.

#1 2022-09-27 03:57:14

kulak
Member
Registered: 2020-12-27
Posts: 26

Scribus crashes due to Signal #11

Crash is on fully updated system.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_gdal.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
ReaderWriterTF::writeObject
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ogr.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_init is deprecated
warning: The application program did not set the memory limit for the JasPer library.
warning: The JasPer memory limit is being defaulted to a value that may be inappropriate for the system.  If the default is too small, some reasonable encoding/decoding operations will fail.  If the default is too large, security vulnerabilities will result (e.g., decoding a malicious image could exhaust all memory and crash the system.
warning: setting JasPer memory limit to 4106393600 bytes
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_cleanup is deprecated
sizeof(TrkHeader)=1000
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ffmpeg.so' exists, but an error occurred while trying to open it:
libavformat.so.58: cannot open shared object file: No such file or directory
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found
Scribus Crash
-------------
Scribus crashes due to Signal #11
Calling Emergency Save

Offline

#2 2022-09-27 07:06:20

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

Please use "code" tags, https://bbs.archlinux.org/help.php#bbcode

Crash is on fully updated system.

Well…

Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_gdal.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
…
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ffmpeg.so' exists, but an error occurred while trying to open it:
libavformat.so.58: cannot open shared object file: No such file or directory
pacman -Qikk gdal ffmpeg4.4 openscenegraph

Not sure whether that's the cause of the SIGSEGV, though.
Please also see https://wiki.archlinux.org/title/Core_d … _core_dump

Offline

#3 2022-11-25 16:25:58

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

i just installed scribus using pacman on my daughters laptop .

   community/scribus 1.5.8-11
    Desktop publishing software
[andrew@darkstar:~]$                                                      (11-25 16:20) 

launching from menu gives me output of #signal 11 as O.P states. A simple fix  is to run from terminal using  /usr/bin/scribus  --no-splash   

That gets the application up in gui and working. Now for me not a problem ; but for my daughter asking her to run commands like that isn't going to bev a problem. I can't understand why that bug hasn't been sorted. I'm working on a work around where I place a .desktop file  which when clicked evokes a bask script containing the code with --no-splash. .  bash script works but  having trouble with .desktop file

I have done a quick and dirty fix : i edited the scribus.desktop file at : /usr/share/applications
for the line

Exec=scribus % f
// i made it the line below
Exec=scribus  --no-splash % f

Last edited by captain_sensible (2022-11-25 16:55:35)

Offline

#4 2022-11-25 16:30:53

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

Do you also get

Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ffmpeg.so' exists, but an error occurred while trying to open it:
libavformat.so.58: cannot open shared object file: No such file or directory
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found

If so, what's the output for the commands in #2?

Offline

#5 2022-11-25 16:56:36

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

i edited my post , its all up and working

but ...on my laptop i have the stable version : 1.4.8  from AUR

I think i will remove that and use the main repo version. So over the weekend i will install without the dirty fix ,and then i can give you the output :^)

Last edited by captain_sensible (2022-11-25 17:11:47)

Offline

#6 2022-11-25 17:09:27

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Scribus crashes due to Signal #11

captain_sensible wrote:

I have done a quick and dirty fix : i edited the scribus.desktop file at : /usr/share/applications

That 'fix' will be overwritten every time the scribus package is updated. You want to make a copy of that file in /usr/local/share/applications and edit that instead.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2022-11-25 17:13:49

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

yeah guessed as much , it would be over written

ok  /usr/local/share/applications

thanks

also will give  output for seth - see my edited above above

Offline

#8 2022-11-26 12:36:29

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

output:

Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ogr.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_vnc.so' exists, but an error occurred while trying to open it:
libvncclient.so.1: cannot open shared object file: No such file or directory
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_gdal.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_init is deprecated
warning: The application program did not set the memory limit for the JasPer library.
warning: The JasPer memory limit is being defaulted to a value that may be inappropriate for the system.  If the default is too small, some reasonable encoding/decoding operations will fail.  If the default is too large, security vulnerabilities will result (e.g., decoding a malicious image could exhaust all memory and crash the system.
warning: setting JasPer memory limit to 1994108928 bytes
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_cleanup is deprecated
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found
qt.accessibility.atspi: Sending TextCaretMoved from object that does not implement text interface:  QAccessibleInterface(0x55aa3c301b40 name="" role=Client obj=QLineEdit(0x55aa3c303bb0)"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does not implement text interface:  QAccessibleInterface(0x55aa3c30b890 name="" role=Client obj=SMSpinBox(0x55aa3c30e590, name = "numStartSpin")"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does not implement text interface:  QAccessibleInterface(0x55aa3c30b890 name="" role=Client obj=SMSpinBox(0x55aa3c30e590, name = "numStartSpin")"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does not implement text interface:  QAccessibleInterface(0x55aa3c301b40 name="" role=Client obj=QLineEdit(0x55aa3c303bb0)"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does not implement text interface:  QAccessibleInterface(0x55aa3c311780 name="Numbered List" role=Client obj=SMSpinBox(0x55aa3c036c90, name = "numLevelSpin")"focusable|invisible")
qt.accessibility.atspi: Sending TextCaretMoved from object that does not implement text interface:  QAccessibleInterface(0x55aa3c311780 name="Numbered List" role=Client obj=SMSpinBox(0x55aa3c036c90, name = "numLevelSpin")"focusable|invisible")

I got it working using :

  sudo scribus --no-splash     

Offline

#9 2022-11-26 14:12:03

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

seth wrote:
pacman -Qikk gdal ffmpeg4.4 openscenegraph

Offline

#10 2022-11-26 16:31:50

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

[andrew@darkstar:~]$ pacman -Qikk gdal ffmpeg4.4 openscenegraph           (11-26 16:30)
error: package 'gdal' was not found
Name            : ffmpeg4.4
Version         : 4.4.2-3
Description     : Complete solution to record, convert and stream audio and video

Offline

#11 2022-11-26 16:40:55

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

How is that the entire output of this command?

type pacman

The osgPlugins warnings might be red herrings, though.
For clarification: is the output in #8 from a successful or failing start?

Offline

#12 2022-11-26 16:51:13

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

scribus has now gone unstable i was playing with gksu

type pacman output :

andrew@darkstar:~]$ type pacman                                          (11-26 16:49)
pacman is /usr/bin/pacman

#8 failed


scribus works on daughters laptop with no  need of "sudo" ; the main difference between my laptop and hers is i have cinnamon and she is using gnome classic on wayland .

output of successful launch of latest scribus on her laptop is:


[gina@darkstar ~]$ scribus --no-splash > /home/gina/Desktop/info.txt
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_ogr.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
Warning: dynamic library '/usr/lib/osgPlugins-3.6.5/osgdb_gdal.so' exists, but an error occurred while trying to open it:
libgdal.so.31: cannot open shared object file: No such file or directory
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_init is deprecated
warning: The application program did not set the memory limit for the JasPer library.
warning: The JasPer memory limit is being defaulted to a value that may be inappropriate for the system.  If the default is too small, some reasonable encoding/decoding operations will fail.  If the default is too large, security vulnerabilities will result (e.g., decoding a malicious image could exhaust all memory and crash the system.
warning: setting JasPer memory limit to 986673152 bytes
WARNING: YOUR CODE IS RELYING ON DEPRECATED FUNCTIONALITY IN THE JASPER
LIBRARY.  THIS FUNCTIONALITY WILL BE REMOVED IN THE NEAR FUTURE. PLEASE
FIX THIS PROBLEM BEFORE YOUR CODE STOPS WORKING.
deprecation warning: use of jas_cleanup is deprecated
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/lab.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/spot.png: File not found
pathForIcon: Unable to load icon /usr/share/scribus/icons/1_5_1/register.png: File not found

Last edited by captain_sensible (2022-11-26 17:35:18)

Offline

#13 2022-11-26 19:55:30

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

The session type seems indeeed very relevant

the main difference between my laptop and hers is i have cinnamon and she is using gnome classic on wayland

QT_QPA_PLATFORM=wayland scribus

Offline

#14 2022-11-27 10:57:25

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

playing around with scribus:

[andrew@darkstar:~]$ sudo QT_QPA_PLATFORM=wayland   scribus --no-splash                (11-27 10:55)
zsh: correct 'scribus' to '.scribus' [nyae]? n
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

[1]    2221 IOT instruction  sudo QT_QPA_PLATFORM=wayland scribus --no-splash
[andrew@darkstar:~][134]$           

with command below got gui up but oversized and limited functionality

 
sudo QT_QPA_PLATFORM=eglfs  scribus --no-splash 

Offline

#15 2022-11-27 13:26:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: Scribus crashes due to Signal #11

Don't use sudo for scribus, the other qpa platform change that makes "normal" sense is xcb which would opt for xorg/xwayland

Offline

#16 2022-11-27 14:19:01

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

very strange using :

 QT_QPA_PLATFORM=xcb    scribus --no-splash   

it has launched and worked twice out of about 12 goes and crashed rest of time
. All i did recently was install 
              haskell-xcb-types
             
             qt5-xcb-private-headers

Last edited by captain_sensible (2022-11-27 14:24:49)

Offline

#17 2022-11-27 14:32:31

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

You can disregard all the "crashes" you got when trying to "sudo" it. Just don't.
If that's your testcase, your testcase is broken.
If you have pending issues when *not* sudo'ing scribus (w/ or w/o splash), please elaborate on those.

Offline

#18 2022-11-27 15:52:05

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

i don't see the word "sudo" mentioned at #16 ?

Offline

#19 2022-11-27 16:22:36

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

And I think before the edit you had a better success rate there?

Either way, since this is presumingly a wayland session (afaiu that's the only problematic system) this should certainly be

QT_QPA_PLATFORM=wayland scribus --no-splash

resp.

QT_QPA_PLATFORM=wayland scribus

Offline

#20 2022-11-27 21:05:37

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

yes i edited;i made an error in assuming it was working. tried crashed, tried crash , could not t believe it , tried again forgot how many times i tired and edited to a guestimate

Anyway i've gone back to scribus-stable in the AUR

Offline

#21 2022-11-27 21:24:26

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

Recap for later:
scribus on your daughters system (gnome, wayland) works
scribus on your system (cinnamon, X11) doesn't

Is that correct?

Is her situation regardless of --no-splash?
Is yours?

Did scribus leave coredumps?
https://wiki.archlinux.org/title/Core_d … _core_dump

Offline

#22 2022-11-28 10:28:18

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

Summary of my findings so far:

Andrina's  laptop

Scribis 1.5.8 

Session
[gina@darkstar applications]$ echo $XDG_SESSION_TYPE
wayland

therefore Gnome on wayland.
Scribus crashes with #11, but if  launched with --no-splash it launches and works no problem. It has launched every time using --no-splash and no crashes

My laptop 

[andrew@darkstar:~][1]$ echo $XDG_SESSION_TYPE                            (11-28 10:14)
x11

So my laptop is cinammon on X11

andrew@darkstar:~]$ sudo  coredumpctl list                               (11-28 09:52)
[sudo] password for andrew:
TIME                          PID  UID  GID SIG     COREFILE EXE                 SIZE
Tue 2022-11-22 10:02:37 GMT  5857 1000 1000 SIGABRT missing  /usr/bin/audacity      -
Sat 2022-11-26 13:22:10 GMT 23752    0    0 SIGABRT present  /usr/bin/scribus  907.1K
Sat 2022-11-26 13:24:04 GMT 23849    0    0 SIGABRT present  /usr/bin/scribus  906.8K
Sun 2022-11-27 10:31:34 GMT  2357 1000 1000 SIGABRT present  /usr/bin/scribus  963.3K
Sun 2022-11-27 10:39:02 GMT  2656 1000 1000 SIGABRT present  /usr/bin/scribus  962.9K
Sun 2022-11-27 10:53:59 GMT  1774    0    0 SIGSEGV none     /usr/bin/scribus       -
Sun 2022-11-27 10:55:53 GMT  2222    0    0 SIGABRT none     /usr/bin/scribus       -
Sun 2022-11-27 11:10:12 GMT  3111    0    0 SIGABRT none     /usr/bin/scribus       -
Sun 2022-11-27 11:10:37 GMT  3158    0    0 SIGABRT none     /usr/bin/scribus       -
Sun 2022-11-27 11:16:49 GMT  1720    0    0 SIGABRT none     /usr/bin/scribus       -
Sun 2022-11-27 11:28:31 GMT  2884    0    0 SIGABRT none     /usr/bin/scribus       -
Sun 2022-11-27 11:28:43 GMT  2896 1000 1000 SIGABRT present  /usr/bin/scribus  964.7K
Sun 2022-11-27 13:56:55 GMT  4140 1000 1000 SIGABRT present  /usr/bin/scribus  967.2K
Sun 2022-11-27 14:12:41 GMT  2016 1000 1000 SIGABRT present  /usr/bin/scribus    1.8M
[andrew@darkstar:~]$         

I would need spoon feeding to get info from dump; partly because i currently have a degree of "mental impairment" due to greiving

last entries might reflect output when i switched to scribus-stable. I can easily and am willing to revert to 1.5.8 to get info, but may need guidance in able to do it.

Offline

#23 2022-11-28 17:51:03

seth
Member
Registered: 2012-09-03
Posts: 59,718

Re: Scribus crashes due to Signal #11

Interestingly, most scribus instances aborted.

Try

coredumpctl gdb 2357

You'll need https://archlinux.org/packages/extra/x86_64/gdb/

That's from a run at Sun 2022-11-27 10:31:34 and no sudo (UID 1000)

Edit:
did you try

QT_QPA_PLATFORM=wayland scribus # not --no-splash

on Andrina's  laptop?

Last edited by seth (2022-11-28 17:52:10)

Offline

#24 2022-11-29 11:21:51

captain_sensible
Member
Registered: 2021-05-29
Posts: 46

Re: Scribus crashes due to Signal #11

on Andrina's laptop :
       using     QT_QPA_PLATFORM=wayland scribus

gina@darkstar ~]$  QT_QPA_PLATFORM=wayland scribus
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

on my laptop have just installed gdb-common   

will have a look coredumpctl gdb 2357  tomorrow :^)

Offline

#25 2022-11-29 11:27:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,430

Re: Scribus crashes due to Signal #11

Note the PID you pass to GDB will likely not be the same on your system, you'll need to recheck the PID of the crash with coredumpctl list

Offline

Board footer

Powered by FluxBB