FS#43447 - [gliv] 1.9.7-3 segmentation fault upon loading image

Attached to Project: Community Packages
Opened by Ivan Gubkin (iegubkin) - Wednesday, 14 January 2015, 22:59 GMT
Last edited by Jaroslav Lichtblau (Dragonlord) - Tuesday, 20 September 2016, 18:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Repository: Community
gliv 1.9.7-3

Upon loading image app crashes with error:

Segmentation fault not while loading an image
Segmentation fault (core dumped)
This task depends upon

Closed by  Jaroslav Lichtblau (Dragonlord)
Tuesday, 20 September 2016, 18:04 GMT
Reason for closing:  Won't fix
Additional comments about closing:  gliv dropped from [community] as the project is dead
Comment by Jaroslav Lichtblau (Dragonlord) - Thursday, 15 January 2015, 19:42 GMT
More info needed. Can't reproduce this error.
Gliv works fine for me on x86_64 and a directory with ~200 pictures mixed .jpg .gif


$ gliv *
Transition slow case: (cur: no alpha, im: alpha, bg: black)
Transition slow case: (cur: alpha, im: no alpha, bg: black)

$
Comment by Ivan Gubkin (iegubkin) - Saturday, 17 January 2015, 22:39 GMT
Tried on second fully updated x86_64 machine with same error. Trying to load official arch artwork. Same on folder with jpgs.

╔═[17:31]═[iegubkin@dv7-7243cl]
╚═══===═══[~/images/arch]>> sudo pacman -S gliv
warning: gliv-1.9.7-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) gliv-1.9.7-3

Total Installed Size: 0.72 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring [###############################] 100%
(1/1) checking package integrity [###############################] 100%
(1/1) loading package files [###############################] 100%
(1/1) checking for file conflicts [###############################] 100%
(1/1) checking available disk space [###############################] 100%
(1/1) reinstalling gliv [###############################] 100%

╔═[17:32]═[iegubkin@dv7-7243cl]
╚═══===═══[~/images/arch]>> gliv -h
gliv 1.9.7

Image Viewer using OpenGL

Usage: gliv [OPTIONS]... [FILES]...

-h, --help Print help and exit
-V, --version Print version and exit
-a, --add-all[=on|off] Add all files in the directory
-R, --recursive[=on|off] Recursive directory traversal
-S, --sort[=on|off] Show images in sorted order
-s, --shuffle[=on|off] Show images in random order
-F, --force-load[=on|off] Try to load every file
-C, --client[=on|off] Connect to a running gliv, appending to the list
-c, --client-clear[=on|off] Connect to a running gliv, replacing the list
-e, --build-menus[=on|off] No images menu at startup
-g, --glivrc[=FILE] Use this configuration file or none
-w, --slide-show[=on|off] Start the slide show immediately
-0, --null[=on|off] Read null-terminated filenames
-o, --collection[=FILE] Output a collection
-G, --geometry=GEOMETRY Initial window geometry

╔═[17:33]═[iegubkin@dv7-7243cl]
╚═══===═══[~/images/arch]>> ls
archlinux-logo-dark-90dpi.ebdee92a15b3.png archlinux-logo-white-1200dpi.31b209af152a.png

╔═[17:33]═[iegubkin@dv7-7243cl]
╚═══===═══[~/images/arch]>> gliv *
Segmentation fault not while loading an image
Segmentation fault (core dumped)

Comment by Jelle van der Waa (jelly) - Sunday, 13 September 2015, 12:09 GMT
It works for me, can you attach the logo or host it somewhere. Since I can't reproduce it
Comment by Ivan Gubkin (iegubkin) - Sunday, 04 October 2015, 16:12 GMT
gliv still crashes with the same error. I tried various images with the same result.

Perhaps the problem is limited to systems with integrated intel graphics?

mesa-libgl-11.0.2-1
lib32-mesa-libgl-11.0.2-1
Comment by Jelle van der Waa (jelly) - Thursday, 08 October 2015, 09:26 GMT
Please attach or host the file which coredumps, I have a secondary laptop with an intel gfx
Comment by Ivan Gubkin (iegubkin) - Thursday, 08 October 2015, 21:54 GMT
Distro: Arch Linux
Kernel: 4.2.2-1-ARCH
Shell: /bin/bash
Terminal: rxvt
CPU: Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
OpenGL version string: 3.0 Mesa 11.0.2
RAM: 553 MB / 11916 MB

╔═[17:47]═[iegubkin@dv7-7243cl]
╚═══===═══[~/images/arch]>> md5sum *
b42bd35d591628ccc5fee597b24e9735 archlinux-logo-dark-1200dpi.b42bd35d5916.png
7ccd81fd52dc7b30f55f5f367c9eb51c archlinux-logo-light-1200dpi.7ccd81fd52dc.png

╔═[17:47]═[iegubkin@dv7-7243cl]
╚═══===═══[~/images/arch]>> gliv *
Segmentation fault not while loading an image
Segmentation fault (core dumped)

Hope this is what you meant. First two images from:
https://www.archlinux.org/art/
Comment by Jelle van der Waa (jelly) - Friday, 09 October 2015, 12:46 GMT
Thanks for the Info. I can't reproduce the issue on this intel gpu laptop.
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)

Loading...