Summary: | media-gfx/xv-3.10a-r16 segfaults on some pngs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Boris Petersen <transacid> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hyedad, mmokrejs, orzel, yura.tsts |
Priority: | Normal | Keywords: | NeedPatch |
Version: | 10.1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
backtrace This image makes xv crash on my system Another png that causes crash |
Description
Boris Petersen
2011-07-24 13:24:28 UTC
Created attachment 280827 [details]
emerge --info
Try to get a backtrace as indicated in: http://www.gentoo.org/proj/en/qa/backtraces.xml Created attachment 280943 [details]
backtrace
I seem to have the same problem here. It happenned on two different computers, both amd64. In both case, the png was DELETED. The first time i was so surprised i could not believe it. I've never seen that happened with xv in the last 15 years. Today it happened again. Here is the output: verdi phpmyadmin # xv ../phpmyadmin.old/themes/paradice/img/logo_left.png themes/pmahomme/img/logo_left.png *** glibc detected *** xv: munmap_chunk(): invalid pointer: 0x00000000014bb400 *** ======= Backtrace: ========= /lib64/libc.so.6(+0x714d5)[0x7f07259084d5] xv[0x40bfff] xv[0x40ccb9] xv[0x40faf6] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f07258b5cfd] xv[0x407309] and then: ls: cannot access themes/pmahomme/img/logo_left.png: No such file or directory This image is from phpMyAdmin-3.4.4-all-languages.tar.bz2, so i could get it again and see if the problem is reproducible. Well.. kind of : i still have a segfault, but the file is not deleted. Here is what i've done: ------------------------------------------------------------------------------ verdi phpmyadmin # cp /tmp/phpMyAdmin-3.4.4-all-languages/themes/pmahomme/img/logo_left.png cp: missing destination file operand after `/tmp/phpMyAdmin-3.4.4-all-languages/themes/pmahomme/img/logo_left.png' Try `cp --help' for more information. verdi phpmyadmin # cp /tmp/phpMyAdmin-3.4.4-all-languages/themes/pmahomme/img/logo_left.png themes/pmahomme/img/ verdi phpmyadmin # xv themes/pmahomme/img/logo_left.png *** glibc detected *** xv: munmap_chunk(): invalid pointer: 0x00000000021615d0 *** Segmentation fault verdi phpmyadmin # ls -l themes/pmahomme/img/logo_left.png -rw-r--r-- 1 root root 4970 Sep 4 19:03 themes/pmahomme/img/logo_left.png ------------------------------------------------------------------------------ One thing that may be important. I was connected to the server through ssh and x-forwarding. I've copied the image to my main computer, and i can open it with xv without any problem. BUT, my first original crash, with another image was on this same computer.. :/ So I'm not sure how far ssh/x-forwarding is involved. (In reply to comment #4) > This image is from phpMyAdmin-3.4.4-all-languages.tar.bz2, so i could get it > again and see if the problem is reproducible. Well.. kind of : i still have a > segfault, but the file is not deleted. Here is what i've done: So the segfault (but not the file deletion) is reproducible, right? Could you tell me the exact gentoo version of xv that you have installed? Also, could you attach the image that causes the segfault? I'm using media-gfx/xv-3.10a-r15 of course. What else ? This version has been the only one since at least may 2008... Created attachment 285853 [details]
This image makes xv crash on my system
(In reply to comment #7) > I'm using media-gfx/xv-3.10a-r15 of course. What else ? This version has been > the only one since at least may 2008... There was [temporarily] a new version in the tree to fix this, but it caused a new seg fault. I am getting this exact crash reliably, and I am adding another png that demonstrates it. ssuominen, can you take a look at the trace and see if anything rings a bell? Created attachment 294447 [details]
Another png that causes crash
*** Bug 365765 has been marked as a duplicate of this bug. *** ssuominen, just another ping on this one... not sure of this bug, but due to lack of time, removing myself from CC list; sorry i missed this at first for unexplicable reasons, bug #521142 contains a patch and explanation. I think all these crashes are due to improper handling of the iTXt chunk. [master 7e8f9ee] media-gfx/xv: Fix png crashes (#521142 by Ian Schram) I can confirm it crashes no more. Thanks ! |