FS#59800 - [scribus] Building with GraphicsMagick

Attached to Project: Community Packages
Opened by Bruno Pagani (ArchangeGabriel) - Saturday, 25 August 2018, 11:32 GMT
Last edited by Caleb Maclennan (alerque) - Thursday, 13 January 2022, 11:40 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

GraphicsMagick (-DWANT_GRAPHICSMAGICK=1) seems to be causing issues on startup:

scribus: magick/error.c:1025: ThrowLoggedException: Assertion `exception->signature == MagickSignature' failed.

Followed by Scribus dying “with signal 6”.

Opening this bug so that we keep track of this.
This task depends upon

Closed by  Caleb Maclennan (alerque)
Thursday, 13 January 2022, 11:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  scribus 1.5.7-12
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 11 September 2021, 18:24 GMT
Backtrace:
#0 0x00007ffff4f91d22 in raise () from /usr/lib/libc.so.6
#1 0x00007ffff4f7b862 in abort () from /usr/lib/libc.so.6
#2 0x00007ffff4f7b747 in __assert_fail_base.cold () from /usr/lib/libc.so.6
#3 0x00007ffff4f8a616 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00007ffff743dd69 in ThrowLoggedException () from /usr/lib/libGraphicsMagick.so.3
#5 0x00007ffff74660a1 in OpenModule () from /usr/lib/libGraphicsMagick.so.3
#6 0x00007ffff74662a5 in OpenModules () from /usr/lib/libGraphicsMagick.so.3
#7 0x00007ffff7461dd9 in GetMagickInfo () from /usr/lib/libGraphicsMagick.so.3
#8 0x00007ffff7461e2d in GetMagickInfoArray () from /usr/lib/libGraphicsMagick.so.3
#9 0x0000555555e81825 in FormatsManager::FormatsManager() ()
#10 0x0000555555e84267 in FormatsManager::instance() ()
#11 0x00007fffe820b158 in WMFImportPlugin::registerFormats() () from /usr/lib/scribus/plugins//libwmfimplugin.so
#12 0x00007fffe820b592 in WMFImportPlugin::WMFImportPlugin() () from /usr/lib/scribus/plugins//libwmfimplugin.so
#13 0x00007fffe820b62e in wmfimplugin_getPlugin () from /usr/lib/scribus/plugins//libwmfimplugin.so
#14 0x0000555555c29d93 in PluginManager::loadPlugin(PluginManager::PluginData&) ()
#15 0x0000555555c2af85 in PluginManager::initPlugin(QString const&) ()
#16 0x0000555555c2bb71 in PluginManager::initPlugs() ()
#17 0x0000555555d99292 in ScribusCore::initScribusCore(bool, bool, bool, QString const&) ()
#18 0x0000555555d99591 in ScribusCore::startGUI(bool, bool, bool, QString const&) ()
#19 0x0000555555d8b924 in ScribusQApp::init() ()
#20 0x00005555559455fa in mainApp(int, char**) ()
#21 0x00007ffff4f7cb25 in __libc_start_main () from /usr/lib/libc.so.6
#22 0x00005555558e7d7e in _start ()

Maybe we should report upstream, but otoh we are apparently the only affected distribution?
Comment by Caleb Maclennan (alerque) - Saturday, 11 September 2021, 20:53 GMT
How do you replicate this? Recompile with GM enabled?
Comment by Bruno Pagani (ArchangeGabriel) - Saturday, 11 September 2021, 20:58 GMT
Yes, see PKGBUILD.
Comment by Caleb Maclennan (alerque) - Tuesday, 11 January 2022, 09:37 GMT
I don't have any issue running Scribus after enabling the commented out GM enabling flag and rebuilding. Does that mean this issue is obsolete and we can just add it back in or am I missing something?
Comment by Caleb Maclennan (alerque) - Tuesday, 11 January 2022, 09:46 GMT
I posted my build with GM enabled to [community-testing]. Anybody interested is encouraged to check it out. You should be able to install with just `pacman -S https://archlinux.org/packages/community-testing/x86_64/scribus/download`. Feedback would be appreciated in here if it works or fails for anyone.

Loading...