Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140515 - konqueror corrupts zip files when browsing zips (zip:/file.zip)
Summary: konqueror corrupts zip files when browsing zips (zip:/file.zip)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-15 09:54 UTC by Renato Alves
Modified: 2008-02-23 08:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
original zip (before corruption) (test_backup.zip,150 bytes, application/octet-stream)
2006-07-15 14:38 UTC, Renato Alves
Details
Zip file after getting corrupted by konqueror (test.zip,217 bytes, application/octet-stream)
2006-07-15 14:39 UTC, Renato Alves
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Alves 2006-07-15 09:54:11 UTC
Desktop: fluxbox, emerged konqueror-3.5.2 with flags +java, kdebase-kioslaves with +samba

The bug was reproduced doing the following steps:
$zip test_file.zip somefolder/somefiles.txt
$unzip -qt test_file.zip
No errors detected in compressed data of test_file.zip
$kfmclient openProfile filemanagement
Now in konqueror, open the file typing in the url zip:/home/user/test_file.zip
browse the folder and then exit the browsing by pressing the button UP twice. You should now be in /home/user.
Get back to the terminal and repeat the step:
$unzip -qt test_file.zip
somefolder/somefiles.txt         bad CRC 1e8497af  (should be 00000000)
At least one error was detected in test_file.zip.

Everytime I do this the zip gets corrupted
Plus I have no idea on how to disable zip integration. Searched all over the konqueror menus and kcontrol file type bindings but found nothing. zip:/ is always the default behaviour with "double click action"/"open action"

Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ "
LANG="en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa crypt cups gif gtk ipv6 java jpeg nls nptl opengl perl png python readline sdl sse sse2 ssl tiff truetype unicode zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Renato Alves 2006-07-15 14:38:45 UTC
Created attachment 91830 [details]
original zip (before corruption)
Comment 2 Renato Alves 2006-07-15 14:39:06 UTC
Created attachment 91831 [details]
Zip file after getting corrupted by konqueror
Comment 3 Gene Seto 2007-03-01 06:23:22 UTC
is this still an issue with newer versions of konqueror?
Comment 4 Renato Alves 2007-03-01 11:22:28 UTC
I haven't been using konqueror since...

As soon as I have some free time I will try to compile it again and see if still breaks the zip files.
Comment 5 Renato Alves 2007-03-02 03:25:21 UTC
Tested with kde-base/konqueror-3.5.5 and the bug is no longer reproducible.

Marked as fixed
Comment 6 Sascha Lucas 2008-02-23 08:56:43 UTC
this bug still happens with kde 3.5.8. using the procedure from the reporter to reproduce. Please try to reproduce and reopen.

after opening the .zip with konqueror 

$ unzip -qt test_file.zip
somefolder/somefiles.txt  bad CRC 5cc20b2f  (should be 00000000)
At least one error was detected in test_file.zip.

# emerge --info
Portage 2.1.4.1 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) Processor
Timestamp of tree: Sat, 02 Feb 2008 14:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa apm arts asf audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cdparanoia cdr cisco cli cpudetection cracklib crypt css cups curl dbus divx djvu dmx dri dv dvd dvdr dvdread emboss encode evo exif fbcon ffmpeg firefox flac fortran gd gdbm gif glitz gphoto2 gpm gs gtk hal hbci iconv idn ieee1394 imagemagick imlib ipv6 irda isdnlog java jpeg kde kdeenablefinal laptop latex lcms logitech-mouse logrotate lzo mad madwifi midi mikmod mmx mmxext mng mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin ofx ogg opengl openmp oss pam pcmcia pcre pdf perl png postscript ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline real realmedia reflection samba sasl sdl session slang spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb utempter vnc vorbis wifi win32codecs wmf wmp x264 x86 xcomposite xine xinerama xml xorg xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse vmmouse void synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="mach64 radeon dummy fbdev nv nvidia vesa vga vmware fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS