FS#15199 - [xzgv] 0.9-1 crashes when opening from terminal

Attached to Project: Arch Linux
Opened by partha chowdhury (partha_chowdhury) - Sunday, 21 June 2009, 11:17 GMT
Last edited by Allan McRae (Allan) - Thursday, 06 August 2009, 14:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
xzgv crashes while trying to open by typing xzgv from the terminal when the current directory has any number of images or when browsing to a folder full of images.

Additional info:
* package version(s)
xzgv-0.9-1
* config and/or log files etc.
after xzgv crashes, it produces the follwoing message which is also reported upstream.
http://sourceforge.net/tracker/?func=detail&aid=1817977&group_id=203093&atid=984206

i manually downloaded the latest version 0.9.1 from the site and compiled it and it went away. i have also reported this to upstream.

i have also flagged the package as out of date.
i am using blackbox 0.70.1-5 as window manager and rxvt-unicode 9.06-2 as terminal.

Steps to reproduce:
1.launch xzgv from a terminal when the current directory has some images.
2.it crashes.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 06 August 2009, 14:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.9.1
Comment by Michael Wu (mikewu) - Saturday, 01 August 2009, 19:52 GMT
Here's a patch and PKGBUILD that should make it work.

In main.c in xvpic2pixmap, gdk_draw_image was causing an error because the image and the pixmap did not have the same depth. The patch makes the pixmap have the same depth as the image(24 on my system atleast) when gdk_visual_get_best_depth() was returning 32.
Comment by partha chowdhury (partha_chowdhury) - Thursday, 06 August 2009, 11:57 GMT
i applied the patch and it works. Thank you Michael.

request for the bug to be closed.

Loading...