On Tue, 1 Jun 2010 17:13:18 -0400, Kris Maglione <[email protected]>
wrote:
> On Tue, Jun 01, 2010 at 10:56:34PM +0200, Pierre Chapuis wrote:
>>I installed surf 0.4 on Arch Linux and it crashed when I tried to click
>>on a link to a binary file (actually to its own archive on suckless'
>>website). Downloading with the right click menu works fine.
>>
>>I have copied its output below. The crash looks linked to Java.
>
> Try running it under valgrind.
I have attached the output of:
valgrind -v --leak-check=full --show-reachable=yes surf &>
valgrind-surf.txt
It segfaults as soon as I run it.
--
catwell==2003== Memcheck, a memory error detector
==2003== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==2003== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==2003== Command: surf
==2003==
--2003-- Valgrind options:
--2003-- -v
--2003-- --leak-check=full
--2003-- --show-reachable=yes
--2003-- Contents of /proc/version:
--2003-- Linux version 2.6.33-ARCH (tho...@evey) (gcc version 4.5.0 (GCC) )
#1 SMP PREEMPT Thu May 13 11:32:37 CEST 2010
--2003-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--2003-- Page sizes: currently 4096, max supported 4096
--2003-- Valgrind library directory: /usr/lib/valgrind
--2003-- Reading syms from /usr/bin/surf (0x400000)
--2003-- object doesn't have a symbol table
--2003-- Reading syms from /lib/ld-2.12.so (0x4000000)
--2003-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
--2003-- object doesn't have a symbol table
--2003-- object doesn't have a dynamic symbol table
--2003-- Reading suppressions file: /usr/lib/valgrind/default.supp
--2003-- REDIR: 0x4016250 (strlen) redirected to 0x380405e7 (???)
--2003-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
(0x4a21000)
--2003-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
(0x4c22000)
==2003== WARNING: new redirection conflicts with existing -- ignoring it
--2003-- new: 0x04016250 (strlen ) R-> 0x04c268f0 strlen
--2003-- REDIR: 0x4016070 (index) redirected to 0x4c26550 (index)
--2003-- REDIR: 0x4016220 (strcmp) redirected to 0x4c26ef0 (strcmp)
--2003-- Reading syms from /lib/libc-2.12.so (0x4e2a000)
--2003-- Reading syms from /usr/lib/libwebkit-1.0.so.2.17.3 (0x5186000)
--2003-- Reading syms from /usr/lib/libgtk-x11-2.0.so.0.2000.1 (0x6631000)
--2003-- Reading syms from /usr/lib/libsoup-2.4.so.1.3.0 (0x6c5f000)
--2003-- Reading syms from /usr/lib/libgdk-x11-2.0.so.0.2000.1 (0x6eb7000)
--2003-- Reading syms from /usr/lib/libatk-1.0.so.0.3009.1 (0x7165000)
--2003-- Reading syms from /usr/lib/libpangoft2-1.0.so.0.2800.0 (0x7385000)
--2003-- Reading syms from /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1 (0x75ae000)
--2003-- Reading syms from /usr/lib/libpangocairo-1.0.so.0.2800.0 (0x77cf000)
--2003-- Reading syms from /usr/lib/libcairo.so.2.10800.10 (0x79da000)
--2003-- Reading syms from /usr/lib/libpango-1.0.so.0.2800.0 (0x7c55000)
--2003-- Reading syms from /usr/lib/libfreetype.so.6.4.0 (0x7e9e000)
--2003-- Reading syms from /usr/lib/libfontconfig.so.1.4.4 (0x8135000)
--2003-- Reading syms from /usr/lib/libgio-2.0.so.0.2400.1 (0x8369000)
--2003-- Reading syms from /usr/lib/libgobject-2.0.so.0.2400.1 (0x861c000)
--2003-- Reading syms from /usr/lib/libgmodule-2.0.so.0.2400.1 (0x8864000)
--2003-- Reading syms from /usr/lib/libgthread-2.0.so.0.2400.1 (0x8a67000)
--2003-- Reading syms from /lib/librt-2.12.so (0x8c6b000)
--2003-- Reading syms from /usr/lib/libglib-2.0.so.0.2400.1 (0x8e73000)
--2003-- Reading syms from /lib/libpthread-2.12.so (0x9153000)
--2003-- Reading syms from /usr/lib/libX11.so.6.3.0 (0x9370000)
--2003-- Reading syms from /usr/lib/libenchant.so.1.6.0 (0x96a9000)
--2003-- Reading syms from /usr/lib/libgailutil.so.18.0.1 (0x98b3000)
--2003-- Reading syms from /usr/lib/libgstapp-0.10.so.0.20.0 (0x9aba000)
--2003-- Reading syms from /usr/lib/libgstpbutils-0.10.so.0.20.0 (0x9cc6000)
--2003-- Reading syms from /usr/lib/libgstvideo-0.10.so.0.20.0 (0x9ed4000)
--2003-- Reading syms from /usr/lib/libgstbase-0.10.so.0.25.0 (0xa0dc000)
--2003-- Reading syms from /usr/lib/libgstreamer-0.10.so.0.25.0 (0xa318000)
--2003-- Reading syms from /usr/lib/libjpeg.so.8.0.1 (0xa5f7000)
--2003-- Reading syms from /usr/lib/libxslt.so.1.1.26 (0xa830000)
--2003-- Reading syms from /usr/lib/libz.so.1.2.5 (0xaa6b000)
--2003-- Reading syms from /usr/lib/libxml2.so.2.7.7 (0xac83000)
--2003-- Reading syms from /usr/lib/libpng14.so.14.2.0 (0xafd0000)
--2003-- Reading syms from /usr/lib/libsqlite3.so.0.8.6 (0xb1f9000)
--2003-- Reading syms from /usr/lib/libicui18n.so.44.1 (0xb483000)
--2003-- Reading syms from /usr/lib/libicuuc.so.44.1 (0xb840000)
--2003-- Reading syms from /usr/lib/libXt.so.6.0.0 (0xcbc3000)
--2003-- Reading syms from /usr/lib/libSM.so.6.0.1 (0xce26000)
--2003-- Reading syms from /usr/lib/libICE.so.6.3.0 (0xd02e000)
--2003-- Reading syms from /usr/lib/libstdc++.so.6.0.14 (0xd249000)
--2003-- Reading syms from /lib/libm-2.12.so (0xd554000)
--2003-- Reading syms from /usr/lib/libgcc_s.so.1 (0xd7d6000)
--2003-- Reading syms from /usr/lib/libXext.so.6.4.0 (0xd9ec000)
--2003-- Reading syms from /usr/lib/libXrender.so.1.3.0 (0xdbfe000)
--2003-- Reading syms from /usr/lib/libXinerama.so.1.0.0 (0xde07000)
--2003-- Reading syms from /usr/lib/libXi.so.6.1.0 (0xe009000)
--2003-- Reading syms from /usr/lib/libXrandr.so.2.2.0 (0xe217000)
--2003-- Reading syms from /usr/lib/libXcursor.so.1.0.2 (0xe41f000)
--2003-- Reading syms from /usr/lib/libXcomposite.so.1.0.0 (0xe628000)
--2003-- Reading syms from /usr/lib/libXdamage.so.1.1.0 (0xe82a000)
--2003-- Reading syms from /usr/lib/libXfixes.so.3.1.0 (0xea2c000)
--2003-- Reading syms from /usr/lib/libgnutls.so.26.14.12 (0xec31000)
--2003-- Reading syms from /usr/lib/libtasn1.so.3.1.9 (0xeed2000)
--2003-- Reading syms from /lib/libgcrypt.so.11.5.3 (0xf0e2000)
--2003-- Reading syms from /lib/libgpg-error.so.0.5.0 (0xf35b000)
--2003-- Reading syms from /usr/lib/libpixman-1.so.0.18.2 (0xf55e000)
--2003-- Reading syms from /usr/lib/libxcb-render-util.so.0.0.0 (0xf7bf000)
--2003-- Reading syms from /usr/lib/libxcb-render.so.0.0.0 (0xf9c2000)
--2003-- Reading syms from /usr/lib/libxcb.so.1.1.0 (0xfbca000)
--2003-- Reading syms from /usr/lib/libexpat.so.1.5.2 (0xfde5000)
--2003-- Reading syms from /lib/libdl-2.12.so (0x1000d000)
--2003-- Reading syms from /lib/libpcre.so.0.0.1 (0x10211000)
--2003-- Reading syms from /lib/libresolv-2.12.so (0x10441000)
--2003-- Reading syms from /lib/libuuid.so.1.3.0 (0x10658000)
--2003-- Reading syms from /usr/lib/libXau.so.6.0.0 (0x1085c000)
--2003-- Reading syms from /usr/lib/libXdmcp.so.6.0.0 (0x10a5e000)
--2003-- REDIR: 0x4ea70c0 (rindex) redirected to 0x4c26340 (rindex)
--2003-- REDIR: 0x4ea55d0 (strlen) redirected to 0x4c26890 (strlen)
--2003-- REDIR: 0x4e9fdd0 (malloc) redirected to 0x4c25f40 (malloc)
--2003-- REDIR: 0x4ea9a10 (memcpy) redirected to 0x4c26ff0 (memcpy)
--2003-- REDIR: 0x4ea3c20 (strcmp) redirected to 0x4c26e30 (strcmp)
--2003-- REDIR: 0x4ea57b0 (strncmp) redirected to 0x4c26d50 (strncmp)
--2003-- REDIR: 0x4ea0f40 (calloc) redirected to 0x4c24600 (calloc)
--2003-- REDIR: 0xffffffffff600000 (???) redirected to 0x4a21570
(_vgnU_ifunc_wrapper)
==2003== Jump to the invalid address stated on the next line
==2003== at 0xFFFFFFFFFF600000: ???
==2003== by 0x4EBAE89: gettimeofday (in /lib/libc-2.12.so)
==2003== by 0x8EAF4E6: g_get_current_time (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECD5CC: g_slice_init_nomessage (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECE1FE: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8EA09D2: g_hash_table_new_full (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x6F19797: virtual_atom_check_init (in
/usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x6F198ED: intern_atom (in /usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x5AEB4A1: global constructors keyed to PasteboardHelper.cpp (in
/usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x607C8C5: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x54DC93A: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== Address 0xffffffffff600000 is not stack'd, malloc'd or (recently)
free'd
==2003==
==2003==
==2003== Process terminating with default action of signal 11 (SIGSEGV)
==2003== Bad permissions for mapped region at address 0xFFFFFFFFFF600000
==2003== at 0xFFFFFFFFFF600000: ???
==2003== by 0x4EBAE89: gettimeofday (in /lib/libc-2.12.so)
==2003== by 0x8EAF4E6: g_get_current_time (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECD5CC: g_slice_init_nomessage (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECE1FE: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8EA09D2: g_hash_table_new_full (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x6F19797: virtual_atom_check_init (in
/usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x6F198ED: intern_atom (in /usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x5AEB4A1: global constructors keyed to PasteboardHelper.cpp (in
/usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x607C8C5: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x54DC93A: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
--2003-- REDIR: 0x4ea02e0 (free) redirected to 0x4c250a0 (free)
==2003==
==2003== HEAP SUMMARY:
==2003== in use at exit: 1,260 bytes in 3 blocks
==2003== total heap usage: 4 allocs, 1 frees, 1,297 bytes allocated
==2003==
==2003== Searching for pointers to 3 not-freed blocks
==2003== Checked 2,576,264 bytes
==2003==
==2003== 252 bytes in 1 blocks are still reachable in loss record 1 of 3
==2003== at 0x4C24682: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2003== by 0x8EB7819: g_malloc0 (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECD651: g_slice_init_nomessage (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECE1FE: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8EA09D2: g_hash_table_new_full (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x6F19797: virtual_atom_check_init (in
/usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x6F198ED: intern_atom (in /usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x5AEB4A1: global constructors keyed to PasteboardHelper.cpp (in
/usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x607C8C5: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x54DC93A: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003==
==2003== 504 bytes in 1 blocks are still reachable in loss record 2 of 3
==2003== at 0x4C24682: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2003== by 0x8EB7819: g_malloc0 (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECD671: g_slice_init_nomessage (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECE1FE: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8EA09D2: g_hash_table_new_full (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x6F19797: virtual_atom_check_init (in
/usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x6F198ED: intern_atom (in /usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x5AEB4A1: global constructors keyed to PasteboardHelper.cpp (in
/usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x607C8C5: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x54DC93A: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003==
==2003== 504 bytes in 1 blocks are still reachable in loss record 3 of 3
==2003== at 0x4C24682: calloc (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==2003== by 0x8EB7819: g_malloc0 (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECD691: g_slice_init_nomessage (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECE1FE: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8EA09D2: g_hash_table_new_full (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x6F19797: virtual_atom_check_init (in
/usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x6F198ED: intern_atom (in /usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x5AEB4A1: global constructors keyed to PasteboardHelper.cpp (in
/usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x607C8C5: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x54DC93A: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003==
==2003== LEAK SUMMARY:
==2003== definitely lost: 0 bytes in 0 blocks
==2003== indirectly lost: 0 bytes in 0 blocks
==2003== possibly lost: 0 bytes in 0 blocks
==2003== still reachable: 1,260 bytes in 3 blocks
==2003== suppressed: 0 bytes in 0 blocks
==2003==
==2003== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 9 from 7)
==2003==
==2003== 1 errors in context 1 of 1:
==2003== Jump to the invalid address stated on the next line
==2003== at 0xFFFFFFFFFF600000: ???
==2003== by 0x4EBAE89: gettimeofday (in /lib/libc-2.12.so)
==2003== by 0x8EAF4E6: g_get_current_time (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECD5CC: g_slice_init_nomessage (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8ECE1FE: g_slice_alloc (in /usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x8EA09D2: g_hash_table_new_full (in
/usr/lib/libglib-2.0.so.0.2400.1)
==2003== by 0x6F19797: virtual_atom_check_init (in
/usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x6F198ED: intern_atom (in /usr/lib/libgdk-x11-2.0.so.0.2000.1)
==2003== by 0x5AEB4A1: global constructors keyed to PasteboardHelper.cpp (in
/usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x607C8C5: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== by 0x54DC93A: ??? (in /usr/lib/libwebkit-1.0.so.2.17.3)
==2003== Address 0xffffffffff600000 is not stack'd, malloc'd or (recently)
free'd
==2003==
--2003--
--2003-- used_suppression: 9 dl-hack3-cond-1
==2003==
==2003== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 9 from 7)