looking for some solutions? You are welcome.

SOLVED: gogole hangouts chat hangs in electron when Searching


I'm using Google Hangout Chat on Linux and there's no 'official' linux client. (A shame by itself, that's another story)

I've packaged an electron app for my distro, based on code found here https://github.com/robyf/google-chat-linux

Basically it only :

Been working OK for months, but since around one week, the Search (or Ctrl K shortcut) causes the app to completely hang, with a whitescreen and errors below.

More specifically : Go in "Search" area, hit a letter, boom.

I've tried several old versions of electron, same result.

The page works fine in a browser.

I have no idea what to do, to my comprehension... bugs would be in the native underlying app since it is not dependant on electron version, but then why would it not crash in a regular browser.

Any clue will be welcome, and if by chance a Google Chat dev comes by : please provide a native app :)

Here's the error, observed on ArchLinux with electron 3.1.6 (same result with 3.1.4 or 3.1.3, where it used to work)

Error: async hook stack has become corrupted (actual: 55, expected: 0)
 1: node::Environment::AsyncHooks::pop_async_id(double) [/usr/lib/electron/libnode.so]
 2: node::InternalCallbackScope::Close() [/usr/lib/electron/libnode.so]
 3: node::InternalCallbackScope::~InternalCallbackScope() [/usr/lib/electron/libnode.so]
 4: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [/usr/lib/electron/libnode.so]
 5: node::MakeCallback(v8::Isolate*, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) [/usr/lib/electron/libnode.so]
 6: node::Environment::CheckImmediate(uv_check_s*) [/usr/lib/electron/libnode.so]
 7: 0x7fcdc4628f34 [/usr/lib/electron/libnode.so]
 8: uv_run [/usr/lib/electron/libnode.so]
 9: atom::NodeBindings::UvRunOnce() [/usr/lib/electron/electron --type=renderer --no-sandbox --service-pipe-token=808E0A864A0769F47F5103C5BD2887FD --lang=en-US --app-path=/usr/share/google-chat-linux --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-threads=2 --enable-main-frame-before-activation --enable-compositor-image-animations --service-request-channel-token=808E0A864A0769F47F5103C5BD2887FD --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101]

Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots

No comments: