After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783091 - Builder crashes with ide_langserv_client_call_cb: assertion failed: (G_IS_TASK (task))
Builder crashes with ide_langserv_client_call_cb: assertion failed: (G_IS_TAS...
Status: RESOLVED OBSOLETE
Product: gnome-builder
Classification: Other
Component: general
Flatpak Nightly Channel
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-05-25 13:22 UTC by manuel.schoelling
Modified: 2018-01-11 10:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
console output (60.31 KB, text/plain)
2017-05-25 13:22 UTC, manuel.schoelling
Details
G_MESSAGES_DEBUG=all flatpak run org.gnome.Builder stdout (15.51 KB, text/plain)
2017-05-25 15:28 UTC, manuel.schoelling
Details
G_MESSAGES_DEBUG=all flatpak run org.gnome.Builder stderr (234 bytes, text/x-emacs-lisp)
2017-05-25 15:28 UTC, manuel.schoelling
Details

Description manuel.schoelling 2017-05-25 13:22:56 UTC
Created attachment 352573 [details]
console output

The Gnome-Builder crashes randomly when working on a Rust project.

The last output lines read

15:15:53.0368                       ide-langserv-client[    3]:  WARNING: Failed to initialize language server: Error writing to file descriptor: Broken pipe
**
ide-langserv-client:ERROR:langserv/ide-langserv-client.c:1039:ide_langserv_client_call_cb: assertion failed: (G_IS_TASK (task))
Comment 1 manuel.schoelling 2017-05-25 15:28:13 UTC
Created attachment 352582 [details]
G_MESSAGES_DEBUG=all flatpak run org.gnome.Builder stdout
Comment 2 manuel.schoelling 2017-05-25 15:28:33 UTC
Created attachment 352583 [details]
G_MESSAGES_DEBUG=all flatpak run org.gnome.Builder stderr
Comment 3 Christian Hergert 2017-05-26 19:43:56 UTC
I think the main problem here is how we are handling panic of our input/output streams (which happens if rls crashes, especially during startup).

Lots of things can cause rls to crash. Especially missing or miss-configured LD_LIBRARY_PATH to rust libraries, improper sysroot, etc.

What I think we need to focus on in a fix is changing our internal input/output stream handling code to deal with closing the GIOStream, and not the individual child streams (which seems to get us into some weird ref-count ordering issue).
Comment 4 deri herdianto 2017-11-23 02:46:49 UTC
:)
https://imgur.com/CbDozzi
Comment 5 GNOME Infrastructure Team 2018-01-11 10:31:16 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-builder/issues/241.