FS#29650 - [xarchiver] segfaults opening 7zip files

Attached to Project: Arch Linux
Opened by Zhehao Mao (zhehao) - Sunday, 29 April 2012, 01:52 GMT
Last edited by Evangelos Foutras (foutrelis) - Monday, 07 May 2012, 16:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When opening a 7zip archive in xarchiver, the program promptly segfaults and crashes.

Additional info:
xarchiver 0.5.2-5
p7zip 9.20.1-6


Steps to reproduce:
Create a 7zip archive using the 7z command.
Attempt to open it with xarchiver from the command line.
Program crashes, shell reports segfault.

For what it's worth, running under gdb gives the following message.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff65c5a93 in ____strtoll_l_internal () from /lib/libc.so.6
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Monday, 07 May 2012, 16:37 GMT
Reason for closing:  Won't fix
Additional comments about closing:  xarchiver has been removed from [extra].
Comment by Evangelos Foutras (foutrelis) - Sunday, 29 April 2012, 17:04 GMT
Cannot reproduce; can you attach a problematic .7z file?
Comment by Zhehao Mao (zhehao) - Sunday, 29 April 2012, 19:07 GMT
It doesn't work for any 7zip file for me. Perhaps my system has some weird quirk. I'm going to try building xarchiver from abs with debugging symbols and see if I can get a more detailed error message.
Comment by Zhehao Mao (zhehao) - Sunday, 29 April 2012, 19:17 GMT
Huh, that's weird. The segfault seems to be occurring inside gtk_main(). I'm not sure what that means.
Comment by Zhehao Mao (zhehao) - Sunday, 29 April 2012, 19:18 GMT
Perhaps some event listener is being attached wrong? I have no idea.
Comment by Evangelos Foutras (foutrelis) - Monday, 30 April 2012, 18:52 GMT
Please provide exact commands to reproduce the issue and a sample .7z file which causes xarchiver to segfault.
Comment by Zhehao Mao (zhehao) - Monday, 30 April 2012, 20:03 GMT
OK, so it only segfaults when opening files made from the command line using the 7z command. It does not fail for 7zip archives made using xarchiver itself. Here is a sample 7zip file. Try opening it with "xarchiver documents.7z" to reproduce the bug.
Comment by Evangelos Foutras (foutrelis) - Monday, 07 May 2012, 16:36 GMT
Thank you for following up, but I've decided to drop xarchiver from [extra]. [1]

It'd still be available from the AUR [2], but it's unsupported.

The suggested alternative application is GNOME's archive tool, File Roller (file-roller in [extra]).

[1] https://mailman.archlinux.org/pipermail/arch-dev-public/2012-May/022902.html
[2] https://aur.archlinux.org/packages.php?ID=59080

Loading...