Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Bitbucket.com #203

Closed
Dickby opened this issue Apr 23, 2015 · 17 comments
Closed

Crash on Bitbucket.com #203

Dickby opened this issue Apr 23, 2015 · 17 comments
Labels

Comments

@Dickby
Copy link

Dickby commented Apr 23, 2015

Hi,
I use this browser on arch-linux 86_64.
It crashes every time I open a site of bitbucket.com.
I tested this on two laptops. I hope it can be fixed.
I really love this browser, Thanks.

@semarie
Copy link
Contributor

semarie commented Apr 23, 2015

I couldn't reproduce this issue on https://bitbucket.org/ . Which URL crashs the browser (exactly) ?

Also, could you provide a stacktrace via gdb ? in order to help us to locate the problem ?

@Dickby
Copy link
Author

Dickby commented Apr 23, 2015

It happens at every bitbucket site, for example https://bitbucket.org/emacsway , it just loads to 89% and freezes.
how should I do that stacktrace, are there any debug flags for vimb or do i have to recompile with -g flag?
I compiled vimb with gtk3 support, could that be the reason?

@semarie
Copy link
Contributor

semarie commented Apr 24, 2015

I use gtk2. So It may be the reason (but normally vimb works well with gtk3 too). I couldn't check with gtk3 now, but I will try soon.

For the stacktrace, just adding -g to CFLAGS in config.mk should be enough (and recompile). If you aren't familiar with gdb, I could provide a step-by-step procedure.

You could also try to disable plugins (set plugins=false) and/or javascript (set scripts=false) before opening the page, in order to check if the crash if related to one of them.

@The-Compiler
Copy link

I've never heard of a crash there - but hanging on bitbucket pages is a WebKit1GTK bug which is present in all browsers using that (e.g. dwb or luakit too).

@Dickby
Copy link
Author

Dickby commented Apr 25, 2015

With set scripts=false it works fine.
Is that enough information?
If you still need a stacktrace for tracking down the bug, let me know.

@semarie
Copy link
Contributor

semarie commented Apr 25, 2015

a stacktrace would permit to locate the bug (I hope).
Knowing that with set scripts=false it don't crash just permit to known the bug should be related to javascript.

@fanglingsu
Copy link
Owner

I can't reproduce this issue. I use arch-linux 86_64 too, vimb does not crash neighter with GTK2 nor with GTK3. But with enabled JavaScript this hangs the browser on hight cpu usage.

@kdart
Copy link

kdart commented May 2, 2015

Just a "me too" here. I'm pretty sure it's bad javascript on the site.

@shioyama
Copy link
Contributor

Crashes for me too -- actually doesn't crash but freezes up and swallos 100% of cpu, which is pretty bad...

@fanglingsu
Copy link
Owner

@shioyama The hang on bitbucket is a knwon webkit issue and affects all Webkit browsers like mention by The-Compiler.

@fanglingsu fanglingsu added the bug label Nov 1, 2015
@fanglingsu
Copy link
Owner

According to the hang on bitbucket, and some other sites. It's possible to disable the JavaScript JIT Compiler in Webkit by setting environment variable JavaScriptCoreUseJIT to 0. When I start vimb by JavaScriptCoreUseJIT=0 vimb bitbucket is fast also with enabled javascript. Maybe this helps also against the reported crash, but I can't say, because it never crashed on my systems.

@TieDyedDevil
Copy link

This is interesting. For some reason, vimb no longer crashes on
bitbucket.com. It used to, and also on other Atlassian sites. I've had to
use icecat, a Firefox derivative) to access those sites.

I'm currently compiling vimb against webkitgtk (GTK2, not 3) version 2.4.9.

@fanglingsu
Copy link
Owner

Is there some one else where vimb still crashes on bitbucket?

@Dickby
Copy link
Author

Dickby commented Feb 19, 2016

It still crashes on my Computer.

@fanglingsu
Copy link
Owner

@Dickby Does vim also crash if you run it like this JavaScriptCoreUseJIT=0 vimb https://bitbucket.org/?

@Dickby
Copy link
Author

Dickby commented Feb 22, 2016

@fanglingsu It doesn't crash!!
Is there an option for my vimb config file that sets this as default?

@fanglingsu
Copy link
Owner

@Dickby This is a normal environment variable that is used by webkit. So you can set/export it from your shell configuration for example /etc/profile, ~/.bashrc, ~/.zshrc or ~/.zshenv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants