Control: severity -1 normal

Quoting Jan Niehusmann (2025-11-15 23:59:12)
> As this is a SIGSEGV inside rustc, it looks more like a bug in rustc
> than in hx.
> 
> I looked around if there is a similar bug reported against rustc, and
> https://github.com/rust-lang/rust/issues/147026 has some similarity.
> Especially the stack trace in the comment at 
> https://github.com/rust-lang/rust/issues/147026#issuecomment-3345971356,
> which also mentions /lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) close to
> the top of the stack.

The reason it has gone unnoticed upstream in Helix (i.e. src:hx) is
probably, that it is triggered only in two doctests, and only when
those are compiled with optimizations enabled, which is not done by
default with cargo (Debian build helper dh-rust enables optimizations
by default).

I have now commented out those two tests, and hereby lowering this
bugreport as it should no longer affect src:hx although the underlying
issue isn't really solved.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to