FS#11306 - midori 0.0.20-1 segfaults on startup
Attached to Project:
Arch Linux
Opened by Skottish (skottish) - Tuesday, 26 August 2008, 02:05 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 02 September 2008, 19:59 GMT
Opened by Skottish (skottish) - Tuesday, 26 August 2008, 02:05 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 02 September 2008, 19:59 GMT
|
Details
Description:
midori 0.0.20-1 segfaults on startup Additional info: There's a bit of information in the stack trace. It's easier for you to run than for me to post. Steps to reproduce: Start it |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 02 September 2008, 19:59 GMT
Reason for closing: Fixed
Additional comments about closing: new upstream release ixes this
Tuesday, 02 September 2008, 19:59 GMT
Reason for closing: Fixed
Additional comments about closing: new upstream release ixes this
(gdb) run
Starting program: /usr/bin/midori
warning: Lowest section in /usr/lib/libicudata.so.40 is .hash at 0000000000000120
[Thread debugging using libthread_db enabled]
[New Thread 0x7fa2439b8760 (LWP 18741)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa2439b8760 (LWP 18741)]
0x000000000042d12d in ?? ()
(gdb) (gdb) where
Undefined command: "". Try "help".
(gdb) #0 0x000000000042d12d in ?? ()
(gdb) #1 0x00000000004201d5 in ?? ()
(gdb) #2 0x00007fa243450a14 in g_type_create_instance ()
(gdb) from /usr/lib/libgobject-2.0.so.0
Undefined command: "from". Try "help".
(gdb) #3 0x00007fa2434363eb in g_object_constructor ()
(gdb) from /usr/lib/libgobject-2.0.so.0
Undefined command: "from". Try "help".
(gdb) #4 0x00007fa243436a33 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
(gdb) #5 0x00007fa24343747b in g_object_new_valist ()
(gdb) from /usr/lib/libgobject-2.0.so.0
Undefined command: "from". Try "help".
(gdb) #6 0x00007fa2434376cc in g_object_new () from /usr/lib/libgobject-2.0.so.0
(gdb) #7 0x00000000004159e1 in ?? ()
(gdb) #8 0x00007fa2404053f6 in __libc_start_main () from /lib/libc.so.6
(gdb) #9 0x00000000004102f9 in ?? ()
(gdb) #10 0x00007fff4baf21d8 in ?? ()
(gdb) #11 0x000000000000001c in ?? ()
(gdb) #12 0x0000000000000001 in ?? ()
(gdb) #13 0x00007fff4baf29cf in ?? ()
(gdb) #14 0x0000000000000000 in ?? ()
I've tried to rebuilding libwebkit and midori based on the PKGBUILDs from arch-extra, but I still get segmentation fault immediately after starting midori.
I'm using libwebkit 1.0.1-1 from extra.
It doesn't seem like an arch only issue.
I can't reproduce this and I really can't think of anything that I could do to fake that error.
Can one of you make a backtrace with full debugging symbols? It looks like it is somewhere in Glib.
Might be also worth checking out what optional libraries you have, specially GIO and/ or GVfs since that used to cause weird bugs in the past already.
I for one have Gtk/ Glib from svn trunk, it works - obviously - perfectly here, disabling any optional libraries doesn't change anything for me, related to that crash anyway.
warning: Lowest section in /usr/lib/libicudata.so.40 is .hash at 0000000000000120
[Thread debugging using libthread_db enabled]
[New Thread 0x7f3aeb722760 (LWP 1517)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f3aeb722760 (LWP 1517)]
0x000000000042cffd in sokoke_gio_supports_http ()
Current language: auto; currently asm
(gdb) bt
#0 0x000000000042cffd in sokoke_gio_supports_http ()
#1 0x00000000004200a5 in midori_browser_init ()
#2 0x00007f3aeb1b6a14 in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0
#3 0x00007f3aeb19c3eb in g_object_constructor () from /usr/lib/libgobject-2.0.so.0
#4 0x00007f3aeb19ca33 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#5 0x00007f3aeb19d47b in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#6 0x00007f3aeb19d6cc in g_object_new () from /usr/lib/libgobject-2.0.so.0
#7 0x00000000004158b9 in main ()
Anyone affected update Midori from git.xfce.org/kalikiana/midori please. The crash according to the backtrace won't happen anymore.
kalikiana's git repository given above, and of course removed the ${pkgver} from the cd command, I've attached the resulting PKGBUILD
> pkgname=midori
> pkgver=20080828
> pkgrel=1
> pkgdesc="A lightweight web browser based on Gtk WebKit"
> arch=('i686' 'x86_64')
> url="http://www.twotoasts.de/index.php?/pages/midori_summary.html"
> license=('GPL')
Midori is licensed under the LGPL.
> install=midori.install
> depends=('e2fsprogs' 'gtksourceview2' 'hicolor-icon-theme' 'libwebkit')
> _optdepends=('gvfs: support for source viewing')
You might mention favicons, too, since that's half of what GIO is good for.
> makedepends=('pkgconfig' 'libxml2' 'intltool')
And a 'python' here, it's a build dependency.
> source=()
> md5sums=()
Good to know about LGPL and python. Even better to know about 'favicon' - unfortunately my local midori doesn't support favicons yet, and there is no package called favicon in archlinux. Where can I find more information about it?
Chris: looking at the git please tell me what commit I should apply to fix our 0.0.20 pkg or will see very soon 0.0.21?
http://www.twotoasts.de/index.php?/archives/8-Fast-and-fervent-follow-up.html
One step closer to losing the other browsers. Hurray!