[dev] surf 0.4 tries to free an invalid pointer

From: Pierre Chapuis <catwell_AT_archlinux.us>
Date: Tue, 01 Jun 2010 22:56:34 +0200

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.

====

*** glibc detected *** surf: free(): invalid pointer: 0x0000000002004d70
***
======= Backtrace: =========
/lib/libc.so.6(+0x71656)[0x7fac394c1656]
/lib/libc.so.6(cfree+0x6c)[0x7fac394c634c]
/usr/lib/libglib-2.0.so.0(g_strfreev+0x25)[0x7fac354e1b05]
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so(NP_Initialize+0x78b)[0x7fac24b05a8b]
/usr/lib/libwebkit-1.0.so.2(+0x946446)[0x7fac388eb446]
/usr/lib/libwebkit-1.0.so.2(+0x94651b)[0x7fac388eb51b]
/usr/lib/libwebkit-1.0.so.2(+0x721694)[0x7fac386c6694]
/usr/lib/libwebkit-1.0.so.2(+0x71b6d7)[0x7fac386c06d7]
/usr/lib/libwebkit-1.0.so.2(+0x71c2de)[0x7fac386c12de]
/usr/lib/libwebkit-1.0.so.2(+0x993102)[0x7fac38938102]
/usr/lib/libwebkit-1.0.so.2(webkit_web_view_can_show_mime_type+0xad)[0x7fac3895520d]
surf[0x403edb]
/usr/lib/libwebkit-1.0.so.2(+0x9d5534)[0x7fac3897a534]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7fac35d7d51e]
/usr/lib/libgobject-2.0.so.0(+0x19fa6)[0x7fac35d8bfa6]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x625)[0x7fac35d95195]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x1b2)[0x7fac35d95782]
/usr/lib/libwebkit-1.0.so.2(+0x994a2c)[0x7fac38939a2c]
/usr/lib/libwebkit-1.0.so.2(+0x648018)[0x7fac385ed018]
/usr/lib/libwebkit-1.0.so.2(+0x97d664)[0x7fac38922664]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7fac35d7d51e]
/usr/lib/libgobject-2.0.so.0(+0x19fa6)[0x7fac35d8bfa6]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x884)[0x7fac35d953f4]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fac35d955c3]
/usr/lib/libsoup-2.4.so.1(+0x2e8ea)[0x7fac3774d8ea]
/usr/lib/libsoup-2.4.so.1(+0x2f558)[0x7fac3774e558]
/usr/lib/libsoup-2.4.so.1(+0x2ffd0)[0x7fac3774efd0]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7fac35d7d51e]
/usr/lib/libgobject-2.0.so.0(+0x19fa6)[0x7fac35d8bfa6]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x884)[0x7fac35d953f4]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fac35d955c3]
/usr/lib/libsoup-2.4.so.1(+0x3b9f1)[0x7fac3775a9f1]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f3)[0x7fac354c0b33]
/usr/lib/libglib-2.0.so.0(+0x3e310)[0x7fac354c1310]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x182)[0x7fac354c1982]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7fac37aa8907]
surf[0x404f29]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fac3946ec4d]
surf[0x4037a9]
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:06 4682
/usr/bin/surf
00606000-00607000 rw-p 00006000 08:06 4682
/usr/bin/surf
00607000-00609000 rw-p 00000000 00:00 0
01da9000-0208a000 rw-p 00000000 00:00 0
[heap]
7fac18000000-7fac18027000 rw-p 00000000 00:00 0
7fac18027000-7fac1c000000 ---p 00000000 00:00 0
7fac1e4d5000-7fac1e4d6000 ---p 00000000 00:00 0
7fac1e4d6000-7fac1ecd6000 rw-p 00000000 00:00 0
7fac1ecd6000-7fac1ecd7000 ---p 00000000 00:00 0
7fac1ecd7000-7fac1f4d7000 rw-p 00000000 00:00 0
7fac1f8d0000-7fac1f8d3000 r-xp 00000000 08:06 21505
/usr/lib/libxcb-atom.so.1.0.0
7fac1f8d3000-7fac1fad3000 ---p 00003000 08:06 21505
/usr/lib/libxcb-atom.so.1.0.0
7fac1fad3000-7fac1fad4000 rw-p 00003000 08:06 21505
/usr/lib/libxcb-atom.so.1.0.0
7fac1fad4000-7fac1fad7000 r-xp 00000000 08:06 21511
/usr/lib/libxcb-event.so.1.0.0
7fac1fad7000-7fac1fcd7000 ---p 00003000 08:06 21511
/usr/lib/libxcb-event.so.1.0.0
7fac1fcd7000-7fac1fcd8000 rw-p 00003000 08:06 21511
/usr/lib/libxcb-event.so.1.0.0
7fac1fcd8000-7fac1fcd9000 ---p 00000000 00:00 0
7fac1fcd9000-7fac205d9000 rw-p 00000000 00:00 0
7fac206e3000-7fac206e5000 r-xp 00000000 08:06 21508
/usr/lib/libxcb-aux.so.0.0.0
7fac206e5000-7fac208e5000 ---p 00002000 08:06 21508
/usr/lib/libxcb-aux.so.0.0.0
7fac208e5000-7fac208e6000 rw-p 00002000 08:06 21508
/usr/lib/libxcb-aux.so.0.0.0
7fac208e6000-7fac209ca000 r-xp 00000000 08:06 4155
/usr/lib/libasound.so.2.0.0
7fac209ca000-7fac20bc9000 ---p 000e4000 08:06 4155
/usr/lib/libasound.so.2.0.0
7fac20bc9000-7fac20bd1000 rw-p 000e3000 08:06 4155
/usr/lib/libasound.so.2.0.0
7fac20bd1000-7fac20bda000 r-xp 00000000 08:06 22634
/usr/lib/libstartup-notification-1.so.0.0.0
7fac20bda000-7fac20dd9000 ---p 00009000 08:06 22634
/usr/lib/libstartup-notification-1.so.0.0.0
7fac20dd9000-7fac20dda000 rw-p 00008000 08:06 22634
/usr/lib/libstartup-notification-1.so.0.0.0
7fac20dda000-7fac20ddb000 ---p 00000000 00:00 0
7fac20ddb000-7fac215db000 rw-p 00000000 00:00 0
7fac216d6000-7fac21714000 r-xp 00000000 08:06 48656
/usr/lib/libdbus-1.so.3.4.0
7fac21714000-7fac21913000 ---p 0003e000 08:06 48656
/usr/lib/libdbus-1.so.3.4.0
7fac21913000-7fac21914000 r--p 0003d000 08:06 48656
/usr/lib/libdbus-1.so.3.4.0
7fac21914000-7fac21915000 rw-p 0003e000 08:06 48656
/usr/lib/libdbus-1.so.3.4.0
7fac21915000-7fac2192f000 r-xp 00000000 08:06 52845
/usr/lib/libnssutil3.so
7fac2192f000-7fac21b2e000 ---p 0001a000 08:06 52845
/usr/lib/libnssutil3.so
7fac21b2e000-7fac21b34000 rw-p 00019000 08:06 52845
/usr/lib/libnssutil3.so
7fac21b34000-7fac21c69000 r-xp 00000000 08:06 52848
/usr/lib/libnss3.so
7fac21c69000-7fac21e68000 ---p 00135000 08:06 52848
/usr/lib/libnss3.so
7fac21e68000-7fac21e6f000 rw-p 00134000 08:06 52848
/usr/lib/libnss3.so
7fac21e6f000-7fac21e70000 rw-p 00000000 00:00 0
7fac21e70000-7fac21e98000 r-xp 00000000 08:06 52843
/usr/lib/libsmime3.so
7fac21e98000-7fac22098000 ---p 00028000 08:06 52843
/usr/lib/libsmime3.so
7fac22098000-7fac2209c000 rw-p 00028000 08:06 52843
/usr/lib/libsmime3.so
7fac2209c000-7fac220ce000 r-xp 00000000 08:06 52844
/usr/lib/libssl3.so
7fac220ce000-7fac222cd000 ---p 00032000 08:06 52844
/usr/lib/libssl3.so
7fac222cd000-7fac222d0000 rw-p 00031000 08:06 52844
/usr/lib/libssl3.so
7fac222d0000-7fac22434000 r-xp 00000000 08:06 1110685
/usr/lib/xulrunner-1.9.2/libmozjs.so
7fac22434000-7fac22634000 ---p 00164000 08:06 1110685
/usr/lib/xulrunner-1.9.2/libmozjs.so
7fac22634000-7fac22641000 rw-p 00164000 08:06 1110685
/usr/lib/xulrunner-1.9.2/libmozjs.so
7fac22641000-7fac226c0000 r-xp 00000000 08:06 1110665
/usr/lib/xulrunner-1.9.2/libsqlite3.so
7fac226c0000-7fac228bf000 ---p 0007f000 08:06 1110665
/usr/lib/xulrunner-1.9.2/libsqlite3.sojava version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (ArchLinux-6.b18_1.8-1-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
zsh: abort surf

-- 
catwell
Received on Tue Jun 01 2010 - 20:56:34 UTC

This archive was generated by hypermail 2.2.0 : Tue Jun 01 2010 - 21:12:02 UTC