Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#76941 - [ncdu][zig] panic: reached unreachable code

Attached to Project: Community Packages
Opened by Jianwei (xiejw) - Monday, 26 December 2022, 18:01 GMT
Last edited by Daurnimator (daurnimator) - Tuesday, 24 January 2023, 03:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Andreas Schleifer (Segaja)
Daurnimator (daurnimator)
Levente Polyak (anthraxx)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have two machines (both x86_64).

- One of the machine crashed with ncdu with `thread 10309 panic: reached unreachable code`; another is fine.
- Also note that I downloaded the binary from ncdu upstream directly and ran it on the problematic machine. Seems OK.

Pack info

```
$ pacman -Q --info ncdu
Name : ncdu
Version : 2.2.1-1
Description : Disk usage analyzer with an ncurses interface
Architecture : x86_64
URL : https://dev.yorhel.nl/ncdu
Licenses : MIT
Groups : None
Provides : None
Depends On : ncurses
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 393.94 KiB
Packager : Levente Polyak <anthraxx@archlinux.org>
Build Date : Tue 25 Oct 2022 03:37:26 PM PDT
Install Date : Wed 07 Dec 2022 11:07:40 AM PST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
```


This task depends upon

Closed by  Daurnimator (daurnimator)
Tuesday, 24 January 2023, 03:07 GMT
Reason for closing:  Fixed
Comment by Toolybird (Toolybird) - Monday, 26 December 2022, 23:23 GMT
This issue is documented [1] on the project's home page. It appears zig 0.9.1 needs a patch [2] to fix it (or a bump to the latest 0.10.0).

[1] https://code.blicky.net/yorhel/ncdu/issues/192
[2] https://github.com/ziglang/zig/pull/11295

Loading...