Re: [Vimprobable-users] [Patches] Two new hint modes
Vimprobable is a lean web browser optimised for full keyboard control
Brought to you by:
hanness
|
From: Daniel C. <dan...@gm...> - 2011-09-20 20:30:34
|
Hi!
I switched from libwebkitgtk1.3.13 to libwebkitgtk1.4.0 but vimprobable also
crashes if I download hints by only typing the Name.
Hope somebody has any idea to fix or find the problem.
Following outputs are generated by strace.
======= Working (used Tab Return to fire hint)
open("/home/daniel/git.html", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = -1 EEXIST (File exists)
open("/home/daniel/git.html", O_RDWR|O_CREAT|O_LARGEFILE|O_NOFOLLOW, 0666) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=2655, ...}) = 0
gettimeofday({1316546913, 161085}, NULL) = 0
open("/home/daniel/.goutputstream-2AU61V", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 9
fchown32(9, 1000, 1000) = 0
fchmod(9, 0100644) = 0
close(8) = 0
poll([{fd=6, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout)
futex(0x8cf4cac, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x8cf4ca8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x8cef550, FUTEX_WAKE_PRIVATE, 1) = 1
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
writev(3, [{"<\0\2\0\275\0\300\1<\1\2\0\276\0\300\1<\4\2\0\277\0\300\1<%\2\0\300\0\300\1"..., 384}, {NULL, 0}, {"", 0}], 3) = 384
read(3, 0x8927c10, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout)
write(9, "<?xml version=\"1.0\" encoding=\"UT"..., 2655) = 2655
clock_gettime(CLOCK_MONOTONIC, {3220, 811570769}) = 0
futex(0x8cf4cac, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0x8cf4ca8, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1
futex(0x8cef550, FUTEX_WAKE_PRIVATE, 1) = 1
read(3, 0x8927c10, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}], 2, 0) = 0 (Timeout)
fsync(9) = 0
unlink("/home/daniel/git.html~") = -1 ENOENT (No such file or directory)
link("/home/daniel/git.html", "/home/daniel/git.html~") = 0
rename("/home/daniel/.goutputstream-2AU61V", "/home/daniel/git.html") = 0
fstat64(9, {st_mode=S_IFREG|0644, st_size=2655, ...}) = 0
close(9) = 0
clock_gettime(CLOCK_MONOTONIC, {3220, 874091005}) = 0
======= Broken (Types the name of the hint)
open("/home/daniel/git.html", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = -1 EEXIST (File exists)
open("/home/daniel/git.html", O_RDWR|O_CREAT|O_LARGEFILE|O_NOFOLLOW, 0666) = 8
fstat64(8, {st_mode=S_IFREG|0644, st_size=2655, ...}) = 0
gettimeofday({1316547088, 405277}, NULL) = 0
open("/home/daniel/.goutputstream-8LOC2V", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 10
fchown32(10, 1000, 1000) = 0
fchmod(10, 0100644) = 0
close(8) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Speicherzugriffsfehler
Following outputs where made with valgrind.
======= Working (used Tab Return to fire hint)
==6292== Memcheck, a memory error detector
==6292== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==6292== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==6292== Command: ./vimprobable2
==6292==
(vimprobable2:6292): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion `GDK_IS_WINDOW (window)' failed
(vimprobable2:6292): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(vimprobable2:6292): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
==6292== Conditional jump or move depends on uninitialised value(s)
==6292== at 0x5AFE3AC: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AECC1A: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x804F5FD: script (in /home/daniel/code/c/vimprobable/vimprobable2)
==6292== by 0x804C716: inputbox_keypress_cb (in /home/daniel/code/c/vimprobable/vimprobable2)
==6292== by 0x53F5A03: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6292== by 0x5AD1371: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AE4047: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AEC8D6: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AECCC1: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x552A835: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6292== by 0x5542C4E: gtk_window_propagate_key_event (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6292==
==6292== Use of uninitialised value of size 4
==6292== at 0x5AFE3B1: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AECC1A: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x804F5FD: script (in /home/daniel/code/c/vimprobable/vimprobable2)
==6292== by 0x804C716: inputbox_keypress_cb (in /home/daniel/code/c/vimprobable/vimprobable2)
==6292== by 0x53F5A03: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6292== by 0x5AD1371: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AE4047: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AEC8D6: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x5AECCC1: g_signal_emit (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6292== by 0x552A835: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6292== by 0x5542C4E: gtk_window_propagate_key_event (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6292==
==6292==
==6292== HEAP SUMMARY:
==6292== in use at exit: 3,412,313 bytes in 126,609 blocks
==6292== total heap usage: 164,500 allocs, 37,891 frees, 8,792,594 bytes allocated
==6292==
==6292== LEAK SUMMARY:
==6292== definitely lost: 8,979 bytes in 77 blocks
==6292== indirectly lost: 18,860 bytes in 933 blocks
==6292== possibly lost: 227,148 bytes in 1,479 blocks
==6292== still reachable: 3,157,326 bytes in 124,120 blocks
==6292== suppressed: 0 bytes in 0 blocks
==6292== Rerun with --leak-check=full to see details of leaked memory
======= Broken (Types the name of the hint)
==6094== Memcheck, a memory error detector
==6094== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==6094== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==6094== Command: ./vimprobable2
==6094==
==6094== Conditional jump or move depends on uninitialised value(s)
==6094== at 0x5AFE3AC: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECC1A: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x804F5FD: script (in /home/daniel/code/c/vimprobable/vimprobable2)
==6094== by 0x804CCE6: inputbox_changed_cb (in /home/daniel/code/c/vimprobable/vimprobable2)
==6094== by 0x5AED48B: g_cclosure_marshal_VOID__VOID (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AD1371: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AE4047: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECB28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5373319: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6094== by 0x5AEDE47: g_cclosure_marshal_VOID__PARAM (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094==
==6094== Use of uninitialised value of size 4
==6094== at 0x5AFE3B1: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECC1A: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x804F5FD: script (in /home/daniel/code/c/vimprobable/vimprobable2)
==6094== by 0x804CCE6: inputbox_changed_cb (in /home/daniel/code/c/vimprobable/vimprobable2)
==6094== by 0x5AED48B: g_cclosure_marshal_VOID__VOID (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AD1371: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AE4047: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECB28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5373319: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6094== by 0x5AEDE47: g_cclosure_marshal_VOID__PARAM (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094==
==6094==
==6094== Process terminating with default action of signal 11 (SIGSEGV)
==6094== Bad permissions for mapped region at address 0x5B80A2C
==6094== at 0x5AFE3B1: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECC1A: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x804F5FD: script (in /home/daniel/code/c/vimprobable/vimprobable2)
==6094== by 0x804CCE6: inputbox_changed_cb (in /home/daniel/code/c/vimprobable/vimprobable2)
==6094== by 0x5AED48B: g_cclosure_marshal_VOID__VOID (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AD1371: g_closure_invoke (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AE4047: ??? (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECB28: g_signal_emit_valist (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5AECE3C: g_signal_emit_by_name (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094== by 0x5373319: ??? (in /usr/lib/libgtk-x11-2.0.so.0.2400.4)
==6094== by 0x5AEDE47: g_cclosure_marshal_VOID__PARAM (in /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.2800.6)
==6094==
==6094== HEAP SUMMARY:
==6094== in use at exit: 3,508,075 bytes in 127,041 blocks
==6094== total heap usage: 165,317 allocs, 38,276 frees, 8,523,068 bytes allocated
==6094==
==6094== LEAK SUMMARY:
==6094== definitely lost: 8,106 bytes in 67 blocks
==6094== indirectly lost: 18,840 bytes in 932 blocks
==6094== possibly lost: 343,389 bytes in 2,091 blocks
==6094== still reachable: 3,137,740 bytes in 123,951 blocks
==6094== suppressed: 0 bytes in 0 blocks
==6094== Rerun with --leak-check=full to see details of leaked memory
==6094==
==6094== For counts of detected and suppressed errors, rerun with: -v
==6094== Use --track-origins=yes to see where uninitialised values come from
==6094== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 206 from 13)
Getötet
During debugging webview_download_cb() was run sucessfully after that the
segmentation fault occured.
Daniel
|