webapps crashing - oxide being compiled with wrong libs?
Bug #1658617 reported by
Alberto Mardegan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu App Platform |
New
|
Undecided
|
Unassigned | ||
libhybris |
New
|
Undecided
|
Unassigned |
Bug Description
I published "google-webapp" in the "beta" channel. The "google-
Santosh believes that it's because oxide is buing built with the wrong build flags:
09:53 < santoshmahto> mardy : all works, I saw the oxide crash in G+, surprisingly crash is happenig because it try to load hybris libs for camera access
09:54 < santoshmahto> mardy, So I doubt, you have wrong version of oxide
09:56 < santoshmahto> mardy : The codepath in oxide is under flag ENABLE_
To post a comment you must log in.
The callstack with few symbols is as :
ead FATAL:oxide_ browser_ process_ main.cc( 474)] Check failed: state_ == STATE_NOT_STARTED || state_ == STATE_SHUTDOWN. BrowserProcessM ain::Shutdown( ) should be called before process exit camera_ initialize
[0123/131602:
#0 0x7fcd60d899be <unknown>
#1 0x7fcd60da363e <unknown>
#2 0x7fcd622ad979 <unknown>
#3 0x7fcd82500ff8 <unknown>
#4 0x7fcd82501045 exit
#5 0x7fcd5d1055fc <unknown>
#6 0x7fcd5d10588f android_dlopen
#7 0x7fcd5de497a5 hybris_
#8 0x7fcd622ee1ff <unknown>
#9 0x7fcd622a292c <unknown>
#10 0x7fcd60d8b421 <unknown>
#11 0x7fcd60dac0a9 <unknown>
#12 0x7fcd60dad54d <unknown>
#13 0x7fcd60dada08 <unknown>
#14 0x7fcd60dae649 <unknown>
#15 0x7fcd60dc79fa <unknown>
#16 0x7fcd60de2906 <unknown>
#17 0x7fcd60ddebf2 <unknown>
#18 0x7fcd822b16ba start_thread
#19 0x7fcd825cd82d clone
It is clear that hybris function hybris_ camera_ initialize is called in desktop version.
hybris libs are only available in android based mobile platform.
Oxide builds with flags ENABLE_ HYBRIS/ ENABLE_ HYBRIS_ CAMERA only in case of mobile , HYBRIS/ ENABLE_ HYBRIS_ CAMERA should should be used while building oxide. /wiki.ubuntu. com/Oxide/ BuildInstructio ns
FOr desktop ENABLE_
https:/
In nutshell, I suspect those two options are enabled while building oxide for desktop which is wrong.