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 795920 - segfault in gnome-latex on application startup if compiled with latest valac
segfault in gnome-latex on application startup if compiled with latest valac
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: general
0.41.x
Other Linux
: Normal critical
: 0.42
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-08 11:15 UTC by Sébastien Wilmet
Modified: 2018-05-09 10:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
vala: Transfer floating-reference attribute while casting (1.32 KB, patch)
2018-05-08 16:41 UTC, Rico Tzschichholz
none Details | Review
vala: Transfer floating-reference attribute while casting (829 bytes, patch)
2018-05-09 06:44 UTC, Rico Tzschichholz
committed Details | Review

Description Sébastien Wilmet 2018-05-08 11:15:12 UTC
For the backtrace, see:
https://gitlab.gnome.org/GNOME/gnome-latex/issues/58

I've done a git bisect in vala, the result is:
```
6f1d0947bed9260436e7d2da18977b3925cdb0bd is the first bad commit
commit 6f1d0947bed9260436e7d2da18977b3925cdb0bd
Author: Rico Tzschichholz <ricotz@ubuntu.com>
Date:   Sun Apr 15 13:08:23 2018 +0200

    codegen: Don't apply ref_sink_function if target_type is floating_reference
```
Comment 1 Rico Tzschichholz 2018-05-08 16:41:45 UTC
Created attachment 371808 [details] [review]
vala: Transfer floating-reference attribute while casting

Report an error if the target type can not hold floating references.
Comment 2 Rico Tzschichholz 2018-05-09 06:44:02 UTC
Created attachment 371829 [details] [review]
vala: Transfer floating-reference attribute while casting
Comment 3 Rico Tzschichholz 2018-05-09 10:45:22 UTC
Comment on attachment 371829 [details] [review]
vala: Transfer floating-reference attribute while casting

commit 711cbc475f7075682d4e257be081c9b59c33069e (HEAD -> staging)
Author: Rico Tzschichholz <ricotz@ubuntu.com>
Date:   Tue May 8 18:37:12 2018 +0200

    vala: Transfer floating-reference attribute while casting