Bug 25385 - GDL crashes at initialization
Summary: GDL crashes at initialization
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA7-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2019-08-30 18:37 CEST by Chris Denice
Modified: 2019-09-06 23:10 CEST (History)
5 users (show)

See Also:
Source RPM: gnudl-0.9.9-6.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Chris Denice 2019-08-30 18:37:04 CEST
Starting "GDL" on the command line yields to an abort with the following error message:

gdl: magick/semaphore.c:601: LockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) NULL' failed.
Aborted (core dumped)

This is due to a missing initialization of GraphicsMagick, required for version >= 1.3.32.
Comment 1 Chris Denice 2019-08-30 18:43:26 CEST
I have uploaded a patched package for Mageia 7 fixing GDL initialization issue.


You can test by installing "gnudl" package and starting it on the command line by entering "gdl". With the new package, currently landing in core/updates_testing, gdl should start without any issue (just a warning on GM using 8bits/pixel).


Suggested advisory:
========================

Update GnuDL package to fix an unexpected abort during the initialization of the GraphicsMagick library.

References:
https://bugs.mageia.org/show_bug.cgi?id=25385
https://github.com/gnudatalanguage/gdl/issues/611
========================

Updated packages in core/updates_testing:
========================

gnudl-0.9.9-6.1.mga7

Source RPMs: 
gnudl-0.9.9-6.1.mga7.src.rpm

Assignee: eatdirt => qa-bugs
CC: (none) => eatdirt

Comment 2 Len Lawrence 2019-09-01 01:18:13 CEST
mga7, x86_64

$ gdl
gdl: magick/semaphore.c:601: LockSemaphoreInfo: Assertion `semaphore_info != (SemaphoreInfo *) NULL' failed.
Aborted (core dumped)

Updated gnudl.
$ rpm -qa | grep gnudl
gnudl-0.9.9-6.1.mga7
$ gdl
% WARNING: your version of the GraphicsMagick library will truncate images to 8 bits per pixel
  GDL - GNU Data Language, Version 0.9.9
- For basic information type HELP,/INFO
- Default library routine search path used (GDL_PATH/IDL_PATH env. var. not set): 
  +/usr/share/gnudatalanguage/lib
- No startup file read (GDL_STARTUP/IDL_STARTUP env. var. not set). 
- Please report bugs, feature or help requests and patches at:
  https://github.com/gnudatalanguage/gdl

GDL> HELP,/INFO
* Homepage: http://gnudatalanguage.sf.net
[...]
GDL> HELP, /KEYS
GDL is using Readline to manage keys shortcuts, few useful listed below.
A summary can be read here : http://www.bigsmoke.us/readline/shortcuts 
Moving in the command line :
  Ctrl-a          : going to the beginning of the line
  Ctrl-e          : going to the end of the line
  Ctrl-u          : removing from here to the beginning of the line
  Ctrl-k          : removing from here to the end of the line
  Ctrl-RightArrow : jumping one word on the right
  Ctrl-LeftArrow  : jumping one word on the left
Moving in the history :
  HELP, /recall       : listing the whole history
  Ctrl-p or UpArrow   : previous entry in history

Good for 64bits.

CC: (none) => tarazed25
Whiteboard: (none) => MGA7-64-OK

Comment 3 Thomas Andrews 2019-09-05 14:32:58 CEST
Validating. Advisory in Comment 1.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2019-09-06 19:12:03 CEST

Keywords: (none) => advisory
CC: (none) => tmb

Comment 4 Mageia Robot 2019-09-06 23:10:54 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2019-0119.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.