[Bug 1922711] Re: libgccjit randomly segfaults

2021-04-06 Thread Ubuntu Foundations Team Bug Bot
The attachment "Fixed version of pr87808.diff that initializes the path structure." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message p

[Bug 1922711] Re: libgccjit randomly segfaults

2021-04-06 Thread Christian Henz
This was fixed in Debian already 11 months ago. https://salsa.debian.org/toolchain- team/gcc/-/commit/6e463cee022ffb5544fe6833fe1ad4e40d2adeb5 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1922711 Ti

[Bug 1922711] Re: libgccjit randomly segfaults

2021-04-06 Thread Christian Henz
** Patch added: "Fixed version of pr87808.diff that initializes the path structure." https://bugs.launchpad.net/ubuntu/+source/gcc-8/+bug/1922711/+attachment/5484746/+files/pr87808.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubun

[Bug 1922711] Re: libgccjit randomly segfaults

2021-04-06 Thread Christian Henz
This crash is introduced by patch pr87808.diff: [...] +#ifdef FALLBACK_GCC_EXEC_PREFIX + if (gcc_driver_file == NULL && ::getenv ("GCC_EXEC_PREFIX") == NULL) +{ + struct path_prefix path; + + prefix_from_env ("PATH", &path); [...] "path" is used uninitialized. -- You received thi