You are not logged in.

#1 2014-04-11 20:13:39

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Surf web browser closing suddenly

Hi, i'm using surf web browser compile from original source with no modifications.
The problem is that it suddenly close. Normally is when i'm watching a video on youtube, but sometimes its happen when i'm normally browsing, like in the arch forums!

This is all outputs commands that i receive:

$ surf youtube.com

(surf:3015): Gdk-CRITICAL **: IA__gdk_gc_new: assertion 'drawable != NULL' failed

(surf:3015): Gdk-CRITICAL **: IA__gdk_gc_set_rgb_fg_color: assertion 'GDK_IS_GC (gc)' failed

(surf:3015): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(surf:3015): Gdk-CRITICAL **: IA__gdk_draw_rectangle: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(surf:3015): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

** Message: console message:  @0: Blocked a frame with origin "http://www.youtube.com" from accessing a frame with origin
"https://accounts.google.com".  The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.

** Message: console message:  @0: Blocked a frame with origin "http://www.youtube.com" from accessing a frame with origin
"https://accounts.google.com".  The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
(
surf:3015): Gdk-CRITICAL **: IA__gdk_window_get_events: assertion 'GDK_IS_WINDOW (window)' failed

(surf:3015): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed

(surf:3015): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Segmentation fault (core dumped)

The last line i receive when the browser close.
I also tried running it with root, and no problem appeared, its only with normal user.


The source code of the program is located here I repeat i didn't any modifications

If you need any other information, just tell me!

Thanks!

Last edited by henriqueleng (2014-04-11 20:19:07)


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#2 2014-04-11 22:12:52

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Surf web browser closing suddenly

Why are you not using the version in the community repository?  As far as I can tell it is the same version you are compiling.

Offline

#3 2014-04-11 22:30:35

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: Surf web browser closing suddenly

Its just a choice. Compile and install surf from the original source is easy thing, so i don't think it need a PKGBUILD or to be installed with pacman. And i preffer this method, i fell more comfortable to compile, and i think more easy if i need to change some paramether of the compile command.


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#4 2014-04-11 22:37:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Surf web browser closing suddenly

Does the ABS version segfault as well?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-04-11 22:55:55

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: Surf web browser closing suddenly

Yes, i installed here and, same error, same problem and it use the same source. It's the same thing.


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#6 2014-04-11 22:56:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Surf web browser closing suddenly

Then get a backtrace and report the bug.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2014-04-13 19:32:15

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: Surf web browser closing suddenly

Hi, today the error happened while running as root and i also noted it happen with other browsers too, like jumanji!


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#8 2014-04-13 19:46:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Surf web browser closing suddenly

Why are you running a web browser as root? Haven't you been reading the news?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-04-14 02:02:45

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: Surf web browser closing suddenly

I readed that if i run as root it don't will segfault. I tested and it's parcially true, when i run the browser as root, it gives me less errors.


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

#10 2014-04-14 05:35:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Surf web browser closing suddenly

You. Are. Doing. It. WRONG.

Whatever you read is complete bullshit...  fix the underlying issue.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2014-04-14 10:10:09

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Surf web browser closing suddenly

henriqueleng wrote:

Hi, today the error happened while running as root and i also noted it happen with other browsers too, like jumanji!

Then it may be a problem with webkit. Can you give firefox a try and see if the problem occurs with it as well?

Offline

#12 2014-04-15 00:43:29

henriqueleng
Member
Registered: 2014-02-18
Posts: 77

Re: Surf web browser closing suddenly

Then it may be a problem with webkit. Can you give firefox a try and see if the problem occurs with it as well?

I tried firefox and any error happened, it's probaly problem with webkit. I will see wath i can do!


Emacs - tmux - Cmus - Mutt - Lynx/w3m - ....

Offline

Board footer

Powered by FluxBB