Bug#616633: Acknowledgement (file-roller: crashes on add a folder to a new .tar.7z archive)

dave b db.pub.mail at gmail.com
Sun Mar 6 05:50:14 UTC 2011


gdb and valgrind output attached.
-------------- next part --------------
(gdb) r
Starting program: /usr/bin/file-roller 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeb134700 (LWP 27668)]
[New Thread 0x7fffea933700 (LWP 27669)]
application/x-7z-compressed => (null), (null), (null), (null)
application/x-ar => (null), (null), (null), (null)
application/x-java-archive => (null), (null), (null), (null)
application/x-ms-dos-executable => (null), (null), (null), (null)
application/x-7z-compressed-tar => (null), (null), (null), (null)
application/x-bzip-compressed-tar => .tar.bz, .tbz, .tbz2, (null)
application/x-compressed-tar => .tgz, (null), (null), (null)
application/x-lzma-compressed-tar => .tzma, (null), (null), (null)
application/x-xz-compressed-tar => .txz, (null), (null), (null)
application/x-tar => (null), (null), (null), (null)
application/x-cbz => (null), (null), (null), (null)
application/zip => (null), (null), (null), (null)
[New Thread 0x7fffea132700 (LWP 27670)]
[Thread 0x7fffea933700 (LWP 27669) exited]
[Thread 0x7fffeb134700 (LWP 27668) exited]
[Thread 0x7fffea132700 (LWP 27670) exited]
[New Thread 0x7fffea132700 (LWP 27675)]
[New Thread 0x7fffeb134700 (LWP 27676)]
[Thread 0x7fffea132700 (LWP 27675) exited]
[New Thread 0x7fffea132700 (LWP 27681)]
[Thread 0x7fffea132700 (LWP 27681) exited]
[New Thread 0x7fffea132700 (LWP 27682)]
[New Thread 0x7fffea933700 (LWP 27683)]
[New Thread 0x7fffe9931700 (LWP 27684)]
[Thread 0x7fffea132700 (LWP 27682) exited]
[Thread 0x7fffe9931700 (LWP 27684) exited]
[Thread 0x7fffea933700 (LWP 27683) exited]
[New Thread 0x7fffea933700 (LWP 27685)]
[New Thread 0x7fffe9931700 (LWP 27686)]
[Thread 0x7fffe9931700 (LWP 27686) exited]
[Thread 0x7fffea933700 (LWP 27685) exited]
[New Thread 0x7fffea933700 (LWP 27687)]
[New Thread 0x7fffe9931700 (LWP 27688)]
[Thread 0x7fffea933700 (LWP 27687) exited]
[Thread 0x7fffe9931700 (LWP 27688) exited]
[New Thread 0x7fffe9931700 (LWP 27689)]
[New Thread 0x7fffea933700 (LWP 27690)]
[New Thread 0x7fffea132700 (LWP 27691)]
[Thread 0x7fffe9931700 (LWP 27689) exited]
[Thread 0x7fffea933700 (LWP 27690) exited]
[Thread 0x7fffea132700 (LWP 27691) exited]
[New Thread 0x7fffea132700 (LWP 27693)]
[Thread 0x7fffea132700 (LWP 27693) exited]
[New Thread 0x7fffea132700 (LWP 27695)]
[Thread 0x7fffeb134700 (LWP 27676) exited]
[New Thread 0x7fffeb134700 (LWP 27700)]
[Thread 0x7fffea132700 (LWP 27695) exited]
[New Thread 0x7fffea132700 (LWP 27711)]
[New Thread 0x7fffea933700 (LWP 27712)]
[New Thread 0x7fffe9931700 (LWP 27713)]
[Thread 0x7fffeb134700 (LWP 27700) exited]
[Thread 0x7fffea132700 (LWP 27711) exited]
[Thread 0x7fffe9931700 (LWP 27713) exited]
[New Thread 0x7fffe9931700 (LWP 27714)]
[New Thread 0x7fffea132700 (LWP 27715)]
[Thread 0x7fffe9931700 (LWP 27714) exited]
[Thread 0x7fffea933700 (LWP 27712) exited]
[New Thread 0x7fffea933700 (LWP 27716)]
[New Thread 0x7fffe9931700 (LWP 27717)]
[New Thread 0x7fffeb134700 (LWP 27718)]
[Thread 0x7fffea132700 (LWP 27715) exited]
[Thread 0x7fffeb134700 (LWP 27718) exited]
[Thread 0x7fffea933700 (LWP 27716) exited]

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
31	../sysdeps/x86_64/multiarch/../strlen.S: No such file or directory.
	in ../sysdeps/x86_64/multiarch/../strlen.S
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#1  0x00007ffff66f41bd in IA__g_string_insert_len (string=0x9a7f40, pos=-1, 
    val=0x18 <Address 0x18 out of bounds>, len=24)
    at /usr/src/debian_compile/libglib2/glib2.0-2.24.2/glib/gstring.c:692
#2  0x0000000000434365 in ?? ()
#3  0x000000000042eb7f in ?? ()
#4  0x000000000042315b in ?? ()
#5  0x0000000000423467 in ?? ()
#6  0x000000000042469d in ?? ()
#7  0x00000000004486d8 in ?? ()
#8  0x00000000004476b5 in ?? ()
#9  0x00007ffff66d09b2 in g_main_dispatch (context=0x6a1b30)
    at /usr/src/debian_compile/libglib2/glib2.0-2.24.2/glib/gmain.c:1960
#10 IA__g_main_context_dispatch (context=0x6a1b30)
    at /usr/src/debian_compile/libglib2/glib2.0-2.24.2/glib/gmain.c:2513
#11 0x00007ffff66d4838 in g_main_context_iterate (context=0x6a1b30, 
    block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>)
    at /usr/src/debian_compile/libglib2/glib2.0-2.24.2/glib/gmain.c:2591
#12 0x00007ffff66d4d45 in IA__g_main_loop_run (loop=0x6ac4c0)
    at /usr/src/debian_compile/libglib2/glib2.0-2.24.2/glib/gmain.c:2799
#13 0x00007ffff78f96b7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x000000000044bcde in ?? ()
---Type <return> to continue, or q <return> to quit---
#15 0x00007ffff5eb1c4d in __libc_start_main (main=<value optimized out>, 
    argc=<value optimized out>, ubp_av=<value optimized out>, 
    init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffffffe408)
    at libc-start.c:228
#16 0x00000000004128c9 in ?? ()
#17 0x00007fffffffe408 in ?? ()
#18 0x000000000000001c in ?? ()
#19 0x0000000000000001 in ?? ()
#20 0x00007fffffffe6a3 in ?? ()
#21 0x0000000000000000 in ?? ()
(gdb) i r 
rax            0x7fffffffdf08	140737488346888
rbx            0x9a7f40	10125120
rcx            0x18	24
rdx            0x18	24
rsi            0xffffffffffffffff	-1
rdi            0x10	16
rbp            0x18	0x18
rsp            0x7fffffffde88	0x7fffffffde88
r8             0x18	24
r9             0x5a5a5a5a5a4c4f4c	6510615555425980236
r10            0x742e5a5a5a5a5a5a	8371728101437758042
r11            0x27	39
r12            0xffffffffffffffff	-1
r13            0xffffffffffffffff	-1
r14            0x0	0
r15            0x8b0fc0	9113536
rip            0x7ffff5f0eb52	0x7ffff5f0eb52 <__strlen_sse2+18>
eflags         0x10202	[ IF RF ]
cs             0x33	51
ss             0x2b	43
ds             0x0	0
es             0x0	0
fs             0x0	0
---Type <return> to continue, or q <return> to quit---
gs             0x0	0
-------------- next part --------------
valgrind file-roller
==29245== Memcheck, a memory error detector
==29245== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==29245== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==29245== Command: file-roller
==29245== 
==29245== Conditional jump or move depends on uninitialised value(s)
==29245==    at 0x9CF0290: inflateReset2 (in /usr/lib/libz.so.1.2.3.4)
==29245==    by 0x9CF037F: inflateInit2_ (in /usr/lib/libz.so.1.2.3.4)
==29245==    by 0xAC76F93: png_create_read_struct_2 (in /lib/libpng12.so.0.44.0)
==29245==    by 0x1138CC89: ??? (in /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so)
==29245==    by 0x5701D19: ??? (in /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1)
==29245==    by 0x57028B2: gdk_pixbuf_loader_write (in /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1)
==29245==    by 0x56FF79E: ??? (in /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1)
==29245==    by 0x56FF839: gdk_pixbuf_new_from_stream (in /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1)
==29245==    by 0x4F3551A: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2000.1)
==29245==    by 0x4F35AF1: gtk_icon_info_load_icon (in /usr/lib/libgtk-x11-2.0.so.0.2000.1)
==29245==    by 0x4F37D3E: gtk_icon_theme_load_icon (in /usr/lib/libgtk-x11-2.0.so.0.2000.1)
==29245==    by 0x4F32490: gtk_icon_set_render_icon (in /usr/lib/libgtk-x11-2.0.so.0.2000.1)
==29245== 
application/x-7z-compressed => (null), (null), (null), (null)
application/x-ar => (null), (null), (null), (null)
application/x-java-archive => (null), (null), (null), (null)
application/x-ms-dos-executable => (null), (null), (null), (null)
application/x-7z-compressed-tar => (null), (null), (null), (null)
application/x-bzip-compressed-tar => .tar.bz, .tbz, .tbz2, (null)
application/x-compressed-tar => .tgz, (null), (null), (null)
application/x-lzma-compressed-tar => .tzma, (null), (null), (null)
application/x-xz-compressed-tar => .txz, (null), (null), (null)
application/x-tar => (null), (null), (null), (null)
application/x-cbz => (null), (null), (null), (null)
application/zip => (null), (null), (null), (null)
application/x-7z-compressed => (null), (null), (null), (null)
application/x-ar => (null), (null), (null), (null)
application/x-java-archive => (null), (null), (null), (null)
application/x-ms-dos-executable => (null), (null), (null), (null)
application/x-7z-compressed-tar => (null), (null), (null), (null)
application/x-bzip-compressed-tar => .tar.bz, .tbz, .tbz2, (null)
application/x-compressed-tar => .tgz, (null), (null), (null)
application/x-lzma-compressed-tar => .tzma, (null), (null), (null)
application/x-xz-compressed-tar => .txz, (null), (null), (null)
application/x-tar => (null), (null), (null), (null)
application/x-cbz => (null), (null), (null), (null)
application/zip => (null), (null), (null), (null)
==29245== Invalid read of size 1
==29245==    at 0x4C25812: __GI_strlen (mc_replace_strmem.c:284)
==29245==    by 0x62FB1BC: g_string_insert_len (gstring.c:692)
==29245==    by 0x434364: ??? (in /usr/bin/file-roller)
==29245==    by 0x42EB7E: ??? (in /usr/bin/file-roller)
==29245==    by 0x42315A: ??? (in /usr/bin/file-roller)
==29245==    by 0x423466: ??? (in /usr/bin/file-roller)
==29245==    by 0x42469C: ??? (in /usr/bin/file-roller)
==29245==    by 0x4486D7: ??? (in /usr/bin/file-roller)
==29245==    by 0x4476B4: ??? (in /usr/bin/file-roller)
==29245==    by 0x62D79B1: g_main_context_dispatch (gmain.c:1960)
==29245==    by 0x62DB837: g_main_context_iterate (gmain.c:2591)
==29245==    by 0x62DBD44: g_main_loop_run (gmain.c:2799)
==29245==  Address 0x18 is not stack'd, malloc'd or (recently) free'd
==29245== 
==29245== 
==29245== Process terminating with default action of signal 11 (SIGSEGV)
==29245==  Access not within mapped region at address 0x18
==29245==    at 0x4C25812: __GI_strlen (mc_replace_strmem.c:284)
==29245==    by 0x62FB1BC: g_string_insert_len (gstring.c:692)
==29245==    by 0x434364: ??? (in /usr/bin/file-roller)
==29245==    by 0x42EB7E: ??? (in /usr/bin/file-roller)
==29245==    by 0x42315A: ??? (in /usr/bin/file-roller)
==29245==    by 0x423466: ??? (in /usr/bin/file-roller)
==29245==    by 0x42469C: ??? (in /usr/bin/file-roller)
==29245==    by 0x4486D7: ??? (in /usr/bin/file-roller)
==29245==    by 0x4476B4: ??? (in /usr/bin/file-roller)
==29245==    by 0x62D79B1: g_main_context_dispatch (gmain.c:1960)
==29245==    by 0x62DB837: g_main_context_iterate (gmain.c:2591)
==29245==    by 0x62DBD44: g_main_loop_run (gmain.c:2799)
==29245==  If you believe this happened as a result of a stack
==29245==  overflow in your program's main thread (unlikely but
==29245==  possible), you can try to increase the size of the
==29245==  main thread stack using the --main-stacksize= flag.
==29245==  The main thread stack size used in this run was 8388608.
==29245== 
==29245== HEAP SUMMARY:
==29245==     in use at exit: 3,919,550 bytes in 32,644 blocks
==29245==   total heap usage: 678,253 allocs, 645,609 frees, 83,347,940 bytes allocated
==29245== 
==29245== LEAK SUMMARY:
==29245==    definitely lost: 10,837 bytes in 31 blocks
==29245==    indirectly lost: 27,855 bytes in 872 blocks
==29245==      possibly lost: 2,914,777 bytes in 24,056 blocks
==29245==    still reachable: 966,081 bytes in 7,685 blocks
==29245==         suppressed: 0 bytes in 0 blocks
==29245== Rerun with --leak-check=full to see details of leaked memory
==29245== 
==29245== For counts of detected and suppressed errors, rerun with: -v
==29245== Use --track-origins=yes to see where uninitialised values come from
==29245== ERROR SUMMARY: 9 errors from 2 contexts (suppressed: 28 from 10)
Killed


More information about the pkg-gnome-maintainers mailing list