Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 561506 - www-client/midori-0.5.11 crash with 100% one of 4 core CPU on url about:version
Summary: www-client/midori-0.5.11 crash with 100% one of 4 core CPU on url about:version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-26 00:13 UTC by Yuriy Dmitriev
Modified: 2016-03-06 22:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Dmitriev 2015-09-26 00:13:30 UTC
Hi folks! I have problem with midori.
First of all, it crash when navigate to URL about:version
But show about:paths, about:search, about:widgets pages.
Bug on page about:widgets. When I press link on bottom page *show dialog* - browser crashes. 

CSS styles incorrect rendered. No bg images.

When I press R mouse button to see source html - it not display.

In console I see like
(midori4:29890): GLib-GObject-WARNING **: The property GtkSettings:gtk-toolbar-style is deprecated and shouldn't be used anymore. It will be removed in a future version.

Crash message - seg fault.




dmesg is
[11349.441639] midori[29091]: segfault at 5 ip 00007f0a9e14f900 sp 00007ffdae51dde0 error 4 in libgobject-2.0.so.0.4400.1[7f0a9e11e000+4f000]

emerge -vp midori
[ebuild   R    ] www-client/midori-0.5.11::gentoo  USE="jit webkit2 -deprecated -doc -granite -introspection -zeitgeist" 0 KiB

em. --vp libsoup
[ebuild   R    ] net-libs/libsoup-2.50.0:2.4::gentoo  USE="introspection ssl -debug -samba {-test}" 0 KiB

for webkit
[ebuild   R    ] net-libs/webkit-gtk-2.8.5:4/37::gentoo  USE="(X) gstreamer introspection jit opengl webgl -coverage -doc -egl -geoloc -gles2 -libsecret -spell {-test} (-wayland)" 0 KiB


my package.use
app-emulation/spice client
app-emulation/qemu xfs spice
dev-lang/python sqlite
dev-util/cmake internal-jsoncpp
media-libs/libpng apng
app-admin/conky wifi
sys-apps/smartmontools minimal
net-misc/openvswitch -modules
media-gfx/gimp png
#app-crypt/pinentry gtk
net-libs/webkit-gtk -egl -gles2
media-libs/harfbuzz icu
app-crypt/gcr gtk
media-libs/libsdl2 sound

from make.conf
USE="-geoloc -sound -gnome -qt4 -fortran vim-syntax thinkpad mmx sse sse2 X truetype sdl opengl alsa infinality aio gles2 webkit2"


all others settings is DEFAULT.
Comment 1 Yuriy Dmitriev 2015-09-27 19:33:59 UTC
Hi again! I make some investigation)))

_MAY_BE_ I know, how to fix.

What I do: I combine gtk versions ant webkit2 or not webkit2. Result same. Midori not normal work.
_finally

I download source sha1sum  64c86935028feb5f89d799c2acacaad67764da6f  midori_0.5.11_all_.tar.bz2 from sevelopers site.

tar xvf midori_0.5.11_all_.tar.bz2
cd  $ cd midori-0.5.11/
./configure --prefix=`pwd`/binout --enable-gtk3 --disable-zeitgeist
result = err valla.
export VALAC=valac-0.28
./configure --prefix=`pwd`/binout --enable-gtk3 --disable-zeitgeist
result = ok
make
...at 21% process error compile at link stage.

vim ./midori/midori-locationaction.c
goto line 1920 and remove block
------
    #if GTK_CHECK_VERSION (3, 0, 0)
    GtkWidget* details;
    details = (GtkWidget*)gcr_certificate_details_widget_new (gcr_cert);
    gtk_widget_show (details);
    gtk_container_add (GTK_CONTAINER (box), details);
    #endif
---------
after do make with result=ok


_LOCAL_BUILD_ of midori seems working. I YESSS!!! see page about:version

But if I do menu *show html source* - midori crash. Now I try recompile with debug sym. and load it to gdb.


midori installed from portage - not working.
After some play with gdb I post results.
Comment 2 Yuriy Dmitriev 2016-03-06 22:17:11 UTC
Fixed by remove midori.