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

Core dumped when testing #746

Open
nkh opened this issue Jul 3, 2023 · 2 comments
Open

Core dumped when testing #746

nkh opened this issue Jul 3, 2023 · 2 comments

Comments

@nkh
Copy link

nkh commented Jul 3, 2023

Version: 3.7.0
WebKit compile: 2.38.6
WebKit run: 2.38.6
GTK compile: 3.24.33
GTK run: 3.24.33
libsoup compile: 3.0.7
libsoup run: 3.0.7
Extension dir: /usr/local/lib/vimb

Steps to reproduce

clone, build, no config change

Expected behaviour

open browser

Actual behaviour

browser flashes the core dumps.

web_ext freshly installed with npm.

16 ~/.../vimb master 3u make runsandbox
make[1]: Entering directory '/home/nadim/nadim/devel/repositories/vimb'
make[2]: Entering directory '/home/nadim/nadim/devel/repositories/vimb/src'
make[3]: Entering directory '/home/nadim/nadim/devel/repositories/vimb/src/webextension'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nadim/nadim/devel/repositories/vimb/src/webextension'
make[2]: Leaving directory '/home/nadim/nadim/devel/repositories/vimb/src'
install -d ./sandbox/usr/bin
install -m 755 src/vimb ./sandbox/usr/bin/vimb
install -d ./sandbox/usr/lib/vimb
install -m 644 src/webextension/webext_main.so ./sandbox/usr/lib/vimb/webext_main.so
install -d ./sandbox/usr/share/man/man1
install -d ./sandbox/usr/share/applications
install -m 644 vimb.desktop ./sandbox/usr/share/applications/vimb.desktop
install -d ./sandbox/usr/share/metainfo
install -m 644 vimb.metainfo.xml ./sandbox/usr/share/metainfo/vimb.metainfo.xml
make[1]: Leaving directory '/home/nadim/nadim/devel/repositories/vimb'
sandbox/usr/bin/vimb
** Message: 15:39:19.666: Could not read style file: /home/nadim/.config/vimb/style.css

** (vimb:547963): ERROR **: 15:39:19.702: Cannot access web extension /usr/local/lib/vimb/webext_main.so
make: *** [Makefile:51: runsandbox] Trace/breakpoint trap (core dumped)

@night0721
Copy link

Same issue here

@machinedgod
Copy link

No idea if this is still relevant, but - your PREFIX is set to /usr/local by default in config.mk.
For some reason or another, -PREFIX isn't respected by sandbox, but, if you just modify config.mk and set it to /usr/ and then run sandbox - it'll work.

Tried this last night.

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

No branches or pull requests

3 participants