! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Crashes when trying to open a 7zip archive
Status:
RESOLVED: WONTFIX
Product:
Xarchiver
Component:
general

Comments

Description Mustaque Ullah 2009-06-28 09:40:16 CEST
(this is actually the first bug I ever file so err...bear with me xD)

So, when I go try to open any of the 7zip files that I have with the GUI, Xarchiver crashes. I tried dragging and dropping, using "Open" in Xarchiver, and clicking on my 7zip archive to open with Xarchiver. I tried different archives, too, with no luck. Xarchiver just won't open them!

...but, I tried "xarchiver -x dir-name file.7z" which seemed to work.

And perhaps there's something missing from my system. (if so then I'd probably have to go to the packager about dependencies, hah)

======= Backtrace: =========
/lib/libc.so.6[0x7f5228c2aa76]
/lib/libc.so.6(cfree+0x6c)[0x7f5228c2f44c]
xarchiver[0x413814]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x22e)[0x7f5228f47dee]
/usr/lib/libglib-2.0.so.0[0x7f5228f4b4b8]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a5)[0x7f5228f4b915]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f522b07c8c7]
xarchiver[0x410651]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7f5228bd79ed]
xarchiver[0x40d2b9]
Comment 1 Giuseppe Torelli 2009-06-28 12:41:45 CEST
Hi,

unfortunately that backtrace is useless, you should run xarchiver with gdb in the source directory since all the debug info are stripped when the package is istalled. Do you have p7zip package installed on your system (evebn though Xarchiver shouldn't crash anyway) ?
Comment 2 Mustaque Ullah 2009-06-28 19:26:17 CEST
Yeah. Like I said, using xarchiver by the command line worked flawlessly. But here's the thing, I'm pretty sure Xarchiver didn't crash before p7zip was updated recently. Maybe that's the issue? I also did try reinstalling p7zip. Aye.

And unfortunately, I'm not sure what to do. Are you asking me to compile xarchiver, and then "gdb path/to/binary?"
Comment 3 Giuseppe Torelli 2009-06-29 06:10:41 CEST
(In reply to comment #2)
> Yeah. Like I said, using xarchiver by the command line worked flawlessly. But
> here's the thing, I'm pretty sure Xarchiver didn't crash before p7zip was
> updated recently. Maybe that's the issue? I also did try reinstalling p7zip.

1) Can you tell me please the p7zip version you are using?
2) Also if you create a 7z archive within Xarchiver and try to reopen it, does it crash?

> And unfortunately, I'm not sure what to do. Are you asking me to compile
> xarchiver, and then "gdb path/to/binary?"

Yes, but only if it DOESN'T crash at point 2.

Thank you so much for your kind cooperation and for using Xarchiver
Comment 4 Mustaque Ullah 2009-06-29 23:33:41 CEST
Created attachment 2430 
Screenshot of what gets added into the 7zip archive
Comment 5 Mustaque Ullah 2009-06-29 23:50:48 CEST
(In reply to comment #3)
> 1) Can you tell me please the p7zip version you are using?

p7zip is version 9.04

> 2) Also if you create a 7z archive within Xarchiver and try to reopen it, does
> it crash?
 Xarchiver doesn't crash. However xarchiver doesn't add the files I want to add, but some really odd files. (I was trying to add some images in that screenshot)

All I get from gdb is this (I ran "gdb xarchiver-location pid" and then "continue" and then opened a 7zip archive...):
Program received signal SIGABRT, Aborted. 0x00007f88248ac2d5 in raise () from /lib/libc.so.6
Comment 6 Mustaque Ullah 2009-07-01 16:48:44 CEST
So I'm trying to figure out anything else useful. I reinstalled glibc (that's the only thing I could think of about that error mentioned above) and xarchiver, ran ldconfig, tried gdb again to find any errors. Still hasn't worked o.O

Any other type of archive works (i assume so. Only 7z has been causing a problem now...). So far the closest I have been able to open a 7z archive in the actual GUI results in something like what's in that screenshot...
Comment 7 charlie-tca 2011-01-15 15:35:48 CET
This bug has been reported on Ubuntu Launchpad as:
https://bugs.launchpad.net/bugs/642993

i've been looking for 7zip support

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xarchiver 1:0.5.2+20090319+dfsg-4
ProcVersionSignature: Ubuntu 2.6.32-24.43-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Sep 19 19:33:26 2010
InstallationMedia: Lubuntu 10.04 "Lucid Lynx" - i386 (20100429)
ProcEnviron:
 LANG=cs_CZ.UTF-8
 SHELL=/bin/bash
SourcePackage: xarchiver
Comment 8 bws5 2011-02-02 06:14:36 CET
Created attachment 3456 
fixes 7-zip support
Comment 9 bws5 2011-02-02 06:17:31 CET
Found the problem. Xarchiver identifes the end of the header at "-" before
the header ends there is "--" which breaks the file list. I've attached patch
to fix it.

Also is anyone working on xarchiver at the moment?
Comment 10 Robby Workman editbugs 2014-11-16 09:30:23 CET
Xarchiver is no longer hosted on the xfce repos - it's now at http://xarchiver.sourceforge.net/
If this bug is still valid, please file it there.

Bug #5509

Reported by:
Mustaque Ullah
Reported on: 2009-06-28
Last modified on: 2014-11-16

People

Assignee:
Giuseppe Torelli
CC List:
3 users

Version

Attachments

Additional information