zipnote: double free or corruption

Bug #519611 reported by lankier
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
zip (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: zip

I want to rename file in zip archive. See http://www.info-zip.org/FAQ.html#rename

$ zipnote test.zip
@ test.txt
@ (comment above this line)
@ (zip file comment below this line)
$ cat zipnote
@ test.txt
@=foo.txt
@ (comment above this line)
@ (zip file comment below this line)
$ zipnote -w test.zip < zipnote
zipnote error: Bad file descriptor
zipnote error: Temporary file failure (ziPDQ1u2)
*** glibc detected *** zipnote: double free or corruption (!prev): 0x091864e0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0x570ff1]
/lib/tls/i686/cmov/libc.so.6[0x5726f2]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x5757cd]
/lib/tls/i686/cmov/libc.so.6(fclose+0x14a)[0x56150a]
zipnote[0x804946e]
zipnote[0x804a207]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x51cb56]
zipnote[0x8049101]
======= Memory map: ========
00506000-00644000 r-xp 00000000 08:03 279193 /lib/tls/i686/cmov/libc-2.10.1.so
00644000-00645000 ---p 0013e000 08:03 279193 /lib/tls/i686/cmov/libc-2.10.1.so
00645000-00647000 r--p 0013e000 08:03 279193 /lib/tls/i686/cmov/libc-2.10.1.so
00647000-00648000 rw-p 00140000 08:03 279193 /lib/tls/i686/cmov/libc-2.10.1.so
00648000-0064b000 rw-p 00000000 00:00 0
0064c000-00668000 r-xp 00000000 08:03 262124 /lib/libgcc_s.so.1
00668000-00669000 r--p 0001b000 08:03 262124 /lib/libgcc_s.so.1
00669000-0066a000 rw-p 0001c000 08:03 262124 /lib/libgcc_s.so.1
00a25000-00a26000 r-xp 00000000 00:00 0 [vdso]
00f05000-00f20000 r-xp 00000000 08:03 262177 /lib/ld-2.10.1.so
00f20000-00f21000 r--p 0001a000 08:03 262177 /lib/ld-2.10.1.so
00f21000-00f22000 rw-p 0001b000 08:03 262177 /lib/ld-2.10.1.so
08048000-0805b000 r-xp 00000000 08:03 17190 /usr/bin/zipnote
0805b000-0805c000 r--p 00012000 08:03 17190 /usr/bin/zipnote
0805c000-0805d000 rw-p 00013000 08:03 17190 /usr/bin/zipnote
0805d000-08060000 rw-p 00000000 00:00 0
09185000-091a6000 rw-p 00000000 00:00 0 [heap]
b7700000-b7721000 rw-p 00000000 00:00 0
b7721000-b7800000 ---p 00000000 00:00 0
b7884000-b78c3000 r--p 00000000 08:03 49342 /usr/lib/locale/en_US.utf8/LC_CTYPE
b78c3000-b78c4000 rw-p 00000000 00:00 0
b78d0000-b78d3000 rw-p 00000000 00:00 0
b78d4000-b78d5000 rw-p 00000000 00:00 0
b78d5000-b78dc000 r--s 00000000 08:03 32647 /usr/lib/gconv/gconv-modules.cache
b78dc000-b78de000 rw-p 00000000 00:00 0
bfbf2000-bfc07000 rw-p 00000000 00:00 0 [stack]

zipnote error: Interrupted (aborting)

ProblemType: Bug
Architecture: i386
Date: Wed Feb 10 05:13:39 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: zip 3.0-1ubuntu1
ProcEnviron:
 LANGUAGE=ru_RU.UTF-8
 PATH=(custom, user)
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: zip
Uname: Linux 2.6.31-19-generic i686
XsessionErrors:
 (nautilus:3979): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (gnome-appearance-properties:4023): Gdk-CRITICAL **: gdk_display_sync: assertion `GDK_IS_DISPLAY (display)' failed
 (firefox:4086): GLib-WARNING **: g_set_prgname() called multiple times
 (emacs:4093): GLib-WARNING **: g_set_prgname() called multiple times
 (firefox:18774): GLib-WARNING **: g_set_prgname() called multiple times

Revision history for this message
lankier (lankier) wrote :
Revision history for this message
James Ronald (jronald) wrote :

This problem also occurs in lucid and maverick, i386 and x64 distributions.

Revision history for this message
Владимир Пашутин (pashutin) wrote :

This problem also occurs in debian

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.