LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2017, 07:14 AM   #1
sithun
Member
 
Registered: Jul 2016
Location: mongolia, bulgan
Posts: 102

Rep: Reputation: 1
midori segmetation fault


i use midori builded from slackbuild. sometimes it is chras with otput:
Code:
bash-4.3$ midori                           

(midori4:20686): Gtk-WARNING **: Error loading theme icon 'package' for stock: Icon 'package' not present in theme Adwaita


** (WebKitWebProcess:20723): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

Error sending IPC message: Broken pipe
Segmentation fault
bash-4.3$
i tried specially repeat the crash with debug mode (i am not sure that i do it properly):
Code:
bash-4.3# midori -h
Usage:
  midori [OPTION...] [Addresses]

Help Options:
  -h, --help                         Show help options
  --help-all                         Show all help options
  --help-gtk                         Show GTK+ Options

Application Options:
  -a, --app=ADDRESS                  Run ADDRESS as a web application
  -c, --config=FOLDER                Use FOLDER as configuration folder
  -p, --private                      Private browsing, no changes are saved
  --plain                            Plain GTK+ window with WebKit, akin to GtkLauncher
  -d, --diagnostic-dialog            Show a diagnostic dialog
  -g, --debug                        Run within gdb and save a backtrace on crash
  -r, --run                          Run the specified filename as javascript
  -s, --snapshot                     Take a snapshot of the specified URI
  -e, --execute                      Execute the specified command
  --help-execute                     List available commands to execute with -e/ --execute
  -V, --version                      Display program version
  -b, --block-uris=PATTERN           Block URIs according to regular expression PATTERN
  -i, --inactivity-reset=SECONDS     Reset Midori after SECONDS seconds of inactivity
  --display=DISPLAY                  X display to use

bash-4.3# midori -g
Launching command: '/usr/bin/gdb' --batch -ex 'set print thread-events off' -ex run -ex 'set logging on /tmp/midori-root/gdb.bt' -ex 'bt' --return-child-result --args midori 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Thread 1 "midori" received signal SIGSEGV, Segmentation fault.
0x00007ffff664a6e0 in g_type_check_instance_cast () from /usr/lib64/libgobject-2.0.so.0
#0  0x00007ffff664a6e0 in g_type_check_instance_cast () at /usr/lib64/libgobject-2.0.so.0
#1  0x00007ffff7b710dc in midori_view_new_from_view (related=related@entry=0x7fffffffd280, item=item@entry=0x1157e30, settings=settings@entry=0x0) at /tmp/SBo/midori-0.5.11/midori/midori-view.c:3329
#2  0x00007ffff7b711f0 in webkit_web_view_create_web_view_cb (web_view=<optimized out>, view=0x7fffffffd280) at /tmp/SBo/midori-0.5.11/midori/midori-view.c:2715
#3  0x00007fffecb32d2c in ffi_call_unix64 () at /usr/lib64/../lib64/libffi.so.6
#4  0x00007fffecb32835 in ffi_call () at /usr/lib64/../lib64/libffi.so.6
#5  0x00007ffff66271d3 in g_cclosure_marshal_generic () at /usr/lib64/libgobject-2.0.so.0
#6  0x00007ffff66269d5 in g_closure_invoke () at /usr/lib64/libgobject-2.0.so.0
#7  0x00007ffff66381e1 in  () at /usr/lib64/libgobject-2.0.so.0
#8  0x00007ffff66408b3 in g_signal_emit_valist () at /usr/lib64/libgobject-2.0.so.0
#9  0x00007ffff6641132 in g_signal_emit () at /usr/lib64/libgobject-2.0.so.0
#10 0x00007ffff17d65df in webkitWebViewCreateNewPage(_WebKitWebView*, WebCore::WindowFeatures const&, _WebKitNavigationAction*) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#11 0x00007ffff17c88ff in UIClient::createNewPage(WebKit::WebPageProxy*, API::FrameInfo&, WebCore::ResourceRequest&&, WebCore::WindowFeatures const&, WebKit::NavigationActionData&&) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#12 0x00007ffff15e9993 in WebKit::WebPageProxy::createNewPage(WebKit::FrameInfoData const&, unsigned long, WebCore::ResourceRequest&&, WebCore::WindowFeatures const&, WebKit::NavigationActionData&&, WTF::Ref<Messages::WebPageProxy::CreateNewPage::DelayedReply>&&) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#13 0x00007ffff1905e8f in void IPC::handleMessageDelayed<Messages::WebPageProxy::CreateNewPage, WebKit::WebPageProxy, void (WebKit::WebPageProxy::*)(WebKit::FrameInfoData const&, unsigned long, WebCore::ResourceRequest&&, WebCore::WindowFeatures const&, WebKit::NavigationActionData&&, WTF::Ref<Messages::WebPageProxy::CreateNewPage::DelayedReply>&&)>(IPC::Connection&, IPC::Decoder&, std::unique_ptr<IPC::Encoder, std::default_delete<IPC::Encoder> >&, WebKit::WebPageProxy*, void (WebKit::WebPageProxy::*)(WebKit::FrameInfoData const&, unsigned long, WebCore::ResourceRequest&&, WebCore::WindowFeatures const&, WebKit::NavigationActionData&&, WTF::Ref<Messages::WebPageProxy::CreateNewPage::DelayedReply>&&)) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#14 0x00007ffff190058b in WebKit::WebPageProxy::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, std::unique_ptr<IPC::Encoder, std::default_delete<IPC::Encoder> >&) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#15 0x00007ffff152d029 in IPC::MessageReceiverMap::dispatchSyncMessage(IPC::Connection&, IPC::Decoder&, std::unique_ptr<IPC::Encoder, std::default_delete<IPC::Encoder> >&) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#16 0x00007ffff16090cb in WebKit::WebProcessProxy::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, std::unique_ptr<IPC::Encoder, std::default_delete<IPC::Encoder> >&) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#17 0x00007ffff1528cbb in IPC::Connection::dispatchSyncMessage(IPC::Decoder&) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#18 0x00007ffff1528d8d in IPC::Connection::dispatchMessage(std::unique_ptr<IPC::Decoder, std::default_delete<IPC::Decoder> >) () at /usr/lib64/libwebkit2gtk-4.0.so.37
#19 0x00007ffff1529a58 in IPC::Connection::dispatchOneMessage() () at /usr/lib64/libwebkit2gtk-4.0.so.37
#20 0x00007ffff0cc6a2c in WTF::RunLoop::performWork() () at /usr/lib64/libjavascriptcoregtk-4.0.so.18
#21 0x00007ffff0cfb889 in WTF::RunLoop::RunLoop()::{lambda(void*)#1}::_FUN(void*) () at /usr/lib64/libjavascriptcoregtk-4.0.so.18
#22 0x00007ffff632963a in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#23 0x00007ffff63299b8 in  () at /usr/lib64/libglib-2.0.so.0
#24 0x00007ffff6329cd2 in g_main_loop_run () at /usr/lib64/libglib-2.0.so.0
#25 0x00007ffff5418985 in gtk_main () at /usr/lib64/libgtk-3.so.0
#26 0x00000000004032bf in main (argc=1, argv=0x7fffffffe1b8) at /tmp/SBo/midori-0.5.11/midori/main.c:392
bash-4.3#
is there a way to fix this crash?
 
Old 10-18-2017, 11:58 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I've used here for some time and it doesn't seem to crash: I'm using the latest midori (0.5.11) and webkit2gtk (2.18.0) from SBo.

on which page does the browser crash?

try to launch it following these hints
Code:
MIDORI_DEBUG=help midori -g
also, midori got an IRC channel for help.

Last edited by ponce; 10-18-2017 at 12:04 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Midori: Is there a password manager? (Using Midori to Replace Opera). cwizardone Linux - Software 24 07-16-2013 06:23 PM
Segmetation Fault? Benyi Linux From Scratch 8 02-26-2012 07:02 PM
LXer: Quick Midori Review And How to Install Latest Midori 0.2.6 in Ubuntu 10.04 'Lucid Lynx' LXer Syndicated Linux News 0 07-02-2010 04:41 PM
midori webos Polanski Linux - Mobile 1 02-15-2010 10:53 PM
Segmetation fault ankurcse Programming 9 09-27-2006 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration