Comment 10 for bug 1658617

Revision history for this message
Alberto Mardegan (mardy) wrote :

So, I've tried implementing one suggestion from Simon (morphis); I'm attaching the modified file. Have a look at the CameraCompatAvailable() method in there, and please bear with me for not just posting a patch. :-)

When I run the webbrowser-app which I have installed as a deb package, it works (but OTOH, it worked even before, as Chris stated in the previous comment). When I run the google-webapp.gmail command (you get this snap from the "edge" channel), I get this:

================
[...]
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
Camera lib found
ERROR: Failed to load hybris linker for Android SDK version 19
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
[0327/165511.979089:FATAL:oxide_browser_process_main.cc(472)] Check failed: state_ == STATE_NOT_STARTED || state_ == STATE_SHUTDOWN. BrowserProcessMain::Shutdown() should be called before process exit
#0 0x7fe9e2bd641e <unknown>
#1 0x7fe9e2bf036e <unknown>
#2 0x7fe9e41da509 <unknown>
#3 0x7fea0b537ff8 <unknown>
#4 0x7fea0b538045 exit
#5 0x7fe9dfb925fc <unknown>
#6 0x7fe9dfb9288f android_dlopen
#7 0x7fe9e4218b4c <unknown>
#8 0x7fe9e41cf02c <unknown>
#9 0x7fe9e2bd7e99 <unknown>
#10 0x7fe9e2bf9b20 <unknown>
#11 0x7fe9e2bfb4bd <unknown>
#12 0x7fe9e2bfb978 <unknown>
#13 0x7fe9e2bfc7c9 <unknown>
#14 0x7fe9e2bf8c35 <unknown>
#15 0x7fe9e2c1762a <unknown>
#16 0x7fe9e2c32ab6 <unknown>
#17 0x7fe9e2c2ec82 <unknown>
#18 0x7fea0b2e56ba start_thread
#19 0x7fea0b60482d clone

Aborted (core dumped)
================

Please note the "Camera lib found" message, which is one of those I added. As you can see, the "compat lib not found" message is not present, meaning that the app crashes while invoking the hybris_dlopen() function.