redox-os issueshttps://gitlab.redox-os.org/groups/redox-os/-/issues2023-06-03T12:38:22Zhttps://gitlab.redox-os.org/redox-os/relibc/-/issues/171Lack of error handling before TLS is initialized2023-06-03T12:38:22ZJacob Lorentzon4ldo2@protonmail.comLack of error handling before TLS is initialized`errno` is currently defined as a thread-local, and this makes all functions using `errno` completely fault-intolerant when TLS has not yet been initialized, which is the case when mapping the TLS memory itself, and in (most of) ld.so. A...`errno` is currently defined as a thread-local, and this makes all functions using `errno` completely fault-intolerant when TLS has not yet been initialized, which is the case when mapping the TLS memory itself, and in (most of) ld.so. Any failure will thus cause a SIGSEGV, and while it may not make sense to handle errors while e.g. allocating the TCB or memory for loading dynamic programs, it should at least *be possible* to handle the errors. The best solution is probably to lower the use of errno to the C-facing API, away from the platform trait which is used internally. (We could also define `errno` as a macro, like `#define errno (*errno_location())`, and use TLS only after a flag has been set, even though TLS will have been initialized before user code starts, and we don't use C macros much inside relibc.)https://gitlab.redox-os.org/redox-os/redoxer/-/issues/6redoxer test/exec hangs2023-02-25T09:58:15Zniluxvredoxer test/exec hangs`redoxer test` on newly created crate hangs on
```
o
```
Similar for `redoxer exec echo hello`.
`/tmp/.tmprQrMpL/redoxer.log` is empty.
Qemu command that is running: `qemu-system-x86_64 -cpu max -machine q35 -m 20...`redoxer test` on newly created crate hangs on
```
o
```
Similar for `redoxer exec echo hello`.
`/tmp/.tmprQrMpL/redoxer.log` is empty.
Qemu command that is running: `qemu-system-x86_64 -cpu max -machine q35 -m 2048 -smp 4 -serial mon:stdio -chardev file,id=log,path=/tmp/.tmprQrMpL/redoxer.log -device isa-debugcon,chardev=log -device isa-debug-exit -netdev user,id=net0 -device e1000,netdev=net0 -drive file=/tmp/.tmprQrMpL/redoxer.bin,format=raw -accel kvm -nographic -vga none`https://gitlab.redox-os.org/redox-os/redox-nix/-/issues/5rustc command not found with nix-shell or lorri shell2022-05-22T17:06:52Zyangantoyanganto@gmail.comrustc command not found with nix-shell or lorri shell`$ lorri shell`
```
lorri: building environment......... done
May 23 01:05:10.542 ERRO Build failed. No cached environment available.
Build error: Nix process returned exit code 1.
$ "nix-build" "--out-link" "/tmp/.tmpR74nWS/result" "--...`$ lorri shell`
```
lorri: building environment......... done
May 23 01:05:10.542 ERRO Build failed. No cached environment available.
Build error: Nix process returned exit code 1.
$ "nix-build" "--out-link" "/tmp/.tmpR74nWS/result" "--" "/tmp/.tmpjHLmOY/result"
these 2 derivations will be built:
/nix/store/7s9z8hzv3pc1d73m5sq2w8h0vihmzj1v-rust_redoxer-0.2.19.drv
/nix/store/nsik6dv7fffky1vvv52lcl59ky8xrgw6-lorri-keep-env-hack-nix-shell.drv
warning: unknown setting 'github-access-token'
building '/nix/store/7s9z8hzv3pc1d73m5sq2w8h0vihmzj1v-rust_redoxer-0.2.19.drv'...
unpacking sources
unpacking source archive /nix/store/ir060x8nwpzs1vr2my8xzp0mkq7hpbj5-redoxer
source root is redoxer
patching sources
configuring
Running cd .
building
Building src/lib.rs (redoxer)
Running rustc --crate-name redoxer src/lib.rs --out-dir target/lib -L dependency=target/deps --cap-lints allow -C opt-level=3 -C codegen-units=16 --remap-path-prefix=/build=/ --extern dirs=/nix/store/qclaags48s93amz4a4hw5y4g8ba92gwl-rust_dirs-2.0.2-lib/lib/libdirs-cf78aa0d04.rlib --extern proc_mounts=/nix/store/n9zhlrd7cqz7yljqyzdplhkhlaqw2i0z-rust_proc-mounts-0.2.4-lib/lib/libproc_mounts-b6dbca7a7a.rlib --extern redox_installer=/nix/store/qgnyb9lc0qnlizjmf0qn7zyhj4bkz5gj-rust_redox_installer-0.2.7-lib/lib/libredox_installer-7bf18725c3.rlib --extern syscall=/nix/store/624f53w2ma6zlicknv08lpn6sams1q5b-rust_redox_syscall-0.1.56-lib/lib/libsyscall-501dea38e6.rlib --extern redoxfs=/nix/store/iw46f8ag2ayw4mkgjphxqalswy7q92wi-rust_redoxfs-0.4.1-lib/lib/libredoxfs-a19c62e31f.rlib --extern tempfile=/nix/store/qdryhlxdf0bgrmprjslp1v5cx5qc1yzg-rust_tempfile-3.1.0-lib/lib/libtempfile-e30a4968b1.rlib --extern toml=/nix/store/7q1ynrk8k3wghab4czvm75qij0zx3md4-rust_toml-0.5.6-lib/lib/libtoml-4d7bb26eaf.rlib --cfg feature="default" --edition 2018 -C metadata=92df85df3c -C extra-filename=-92df85df3c --crate-type lib -L native=/nix/store/fkmawghb2w73x769pgh9zai6z76y63s3-fuse-2.9.9/lib -L native=/nix/store/zsfwzrqznmaqg1q1zm0pivra0yyf8cgw-rust_ring-0.13.5-lib/lib/ring.out -l fuse -l static=ring-core -l static=ring-test --color always
/nix/store/r4bl79l2bdjawmr2rhhqvci56qh0fkvv-stdenv-linux/setup: line 1346: rustc: command not found
error: builder for '/nix/store/7s9z8hzv3pc1d73m5sq2w8h0vihmzj1v-rust_redoxer-0.2.19.drv' failed with exit code 127;
last 10 log lines:
> unpacking sources
> unpacking source archive /nix/store/ir060x8nwpzs1vr2my8xzp0mkq7hpbj5-redoxer
> source root is redoxer
> patching sources
> configuring
> Running cd .
> building
> Building src/lib.rs (redoxer)
> Running rustc --crate-name redoxer src/lib.rs --out-dir target/lib -L dependency=target/deps --cap-lints allow -C opt-level=3 -C codegen-units=16 --remap-path-prefix=/build=/ --extern dirs=/nix/store/qclaags48s93amz4a4hw5y4g8ba92gwl-rust_dirs-2.0.2-lib/lib/libdirs-cf78aa0d04.rlib --extern proc_mounts=/nix/store/n9zhlrd7cqz7yljqyzdplhkhlaqw2i0z-rust_proc-mounts-0.2.4-lib/lib/libproc_mounts-b6dbca7a7a.rlib --extern redox_installer=/nix/store/qgnyb9lc0qnlizjmf0qn7zyhj4bkz5gj-rust_redox_installer-0.2.7-lib/lib/libredox_installer-7bf18725c3.rlib --extern syscall=/nix/store/624f53w2ma6zlicknv08lpn6sams1q5b-rust_redox_syscall-0.1.56-lib/lib/libsyscall-501dea38e6.rlib --extern redoxfs=/nix/store/iw46f8ag2ayw4mkgjphxqalswy7q92wi-rust_redoxfs-0.4.1-lib/lib/libredoxfs-a19c62e31f.rlib --extern tempfile=/nix/store/qdryhlxdf0bgrmprjslp1v5cx5qc1yzg-rust_tempfile-3.1.0-lib/lib/libtempfile-e30a4968b1.rlib --extern toml=/nix/store/7q1ynrk8k3wghab4czvm75qij0zx3md4-rust_toml-0.5.6-lib/lib/libtoml-4d7bb26eaf.rlib --cfg feature="default" --edition 2018 -C metadata=92df85df3c -C extra-filename=-92df85df3c --crate-type lib -L native=/nix/store/fkmawghb2w73x769pgh9zai6z76y63s3-fuse-2.9.9/lib -L native=/nix/store/zsfwzrqznmaqg1q1zm0pivra0yyf8cgw-rust_ring-0.13.5-lib/lib/ring.out -l fuse -l static=ring-core -l static=ring-test --color always
> /nix/store/r4bl79l2bdjawmr2rhhqvci56qh0fkvv-stdenv-linux/setup: line 1346: rustc: command not found
For full logs, run 'nix log /nix/store/7s9z8hzv3pc1d73m5sq2w8h0vihmzj1v-rust_redoxer-0.2.19.drv'.
error: 1 dependencies of derivation '/nix/store/nsik6dv7fffky1vvv52lcl59ky8xrgw6-lorri-keep-env-hack-nix-shell.drv' failed to build
```https://gitlab.redox-os.org/redox-os/redox/-/issues/1357freetype No target2023-10-27T13:31:47ZDakota James Owen Keelerfreetype No target<!-- Thank you for taking the time to submit an issue! By following these comments and filling out the sections below, you can help the developers get the necessary information to fix your issue. Please provide a single issue per report....<!-- Thank you for taking the time to submit an issue! By following these comments and filling out the sections below, you can help the developers get the necessary information to fix your issue. Please provide a single issue per report. You can also preview this report before submitting it. Feel free to modify/remove sections to fit the nature of your issue. -->
<!-- Please search to check that your issue has not been created already. By preventing duplicate issues, you can help keep the repository organized. If your current issue has already been created and is still unresolved, you can contribute by commenting there. -->
<!-- Replace the empty checkbox [ ] below with a checked one [x] if you have already searched for your issue. -->
- [x] I agree that I have searched opened and closed issues to prevent duplicates.
--------------------
## Description
<!-- Briefly summarize/describe the issue that you are experiencing below. -->
Replace me
## Environment info
Latest update to date Solus
<!-- If you have built Redox OS yourself, please provide the following information: -->
- Operating system:
'Solus'
- `uname -a`:
`Linux bearz 5.15.32-213.current #1 SMP PREEMPT Thu Apr 7 06:30:11 UTC 2022 x86_64 GNU/Linux`
- `rustc -V`:
`rustc 1.61.0-nightly (58f11791a 2022-03-17)`
- `git rev-parse HEAD`:
`0a63f024e9c824384344ede006d40805b53909db`
<!-- Depending on your issue, additional information about your environment (network config, package versions, dependencies, etc.) can also help. You can list that below. -->
- Config:
Jermey
## Steps to reproduce
<!-- If possible, please list the steps to reproduce ("trigger") your issue below. Being detailed definitely helps speed up bug fixes. -->
1. bootstrap.sh
2. make all
## Behavior
<!-- It may seem obvious to know what to expect, but isolating the behavior from everything else simplifies the development process. Remember to provide a single issue in this report. You can use the References section below to link your issues together. -->
<!-- Describe the behavior you expect your steps should yield (i.e., correct behavior). -->
- **Expected behavior**:
It should compile freetype
<!-- Describe the behavior you observed when running your steps (i.e., buggy behavior). -->
- **Actual behavior**:
Says there is no target
<!-- **Logs?** Posting a log can help developers find your particular issue more easily. Please wrap your code in code blocks using triple back-ticks ``` to increase readability. -->
cook - freetype
+ export PATH=/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/dakota/.local/bin:/home/dakota/.cargo/bin:/home/dakota/.local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/snap/bin:/usr/lib64/openjdk-11/bin
+ PATH=/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/cookbook/bin:/home/dakota/git/redox/prefix/x86_64-unknown-redox/relibc-install/bin:/home/dakota/.local/bin:/home/dakota/.cargo/bin:/home/dakota/.local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/snap/bin:/usr/lib64/openjdk-11/bin
+ export CARGO_TARGET_DIR=/home/dakota/git/redox/cookbook/recipes/freetype/build/target
+ CARGO_TARGET_DIR=/home/dakota/git/redox/cookbook/recipes/freetype/build/target
+ export CFLAGS=-I/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/include
+ CFLAGS=-I/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/include
+ export CPPFLAGS=-I/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/include
+ CPPFLAGS=-I/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/include
+ export 'LDFLAGS=-L/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/lib --static'
+ LDFLAGS='-L/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/lib --static'
+ export PKG_CONFIG_ALLOW_CROSS=1
+ PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH=
+ PKG_CONFIG_PATH=
+ export PKG_CONFIG_LIBDIR=/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/lib/pkgconfig
+ PKG_CONFIG_LIBDIR=/home/dakota/git/redox/cookbook/recipes/freetype/sysroot/lib/pkgconfig
+ export PKG_CONFIG_SYSROOT_DIR=/home/dakota/git/redox/cookbook/recipes/freetype/sysroot
+ PKG_CONFIG_SYSROOT_DIR=/home/dakota/git/redox/cookbook/recipes/freetype/sysroot
+ COOKBOOK_CARGO=/home/dakota/git/redox/cookbook/target/release/cookbook_redoxer
+ COOKBOOK_CARGO_FLAGS=(--path "${COOKBOOK_SOURCE}" --root "${COOKBOOK_STAGE}" --locked)
+ COOKBOOK_CONFIGURE=/home/dakota/git/redox/cookbook/recipes/freetype/source/configure
+ COOKBOOK_CONFIGURE_FLAGS=(--host="${TARGET}" --prefix="" --disable-shared --enable-static)
+ COOKBOOK_MAKE=make
++ nproc
+ COOKBOOK_MAKE_JOBS=12
+ cookbook_configure
+ /home/dakota/git/redox/cookbook/recipes/freetype/source/configure --host=x86_64-unknown-redox --prefix= --disable-shared --enable-static
+ make -j 12
make[1]: Entering directory '/home/dakota/git/redox/cookbook/recipes/freetype/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/dakota/git/redox/cookbook/recipes/freetype/build'
redoxer env: exit status: 2
cook - freetype - error: failed to build: failed to run "/home/dakota/git/redox/cookbook/target/release/cookbook_redoxer" "env" "bash" "-ex": exited with status exit status: 1
./repo.sh failed.make: *** [mk/filesystem.mk:20: build/filesystem.bin] Error 1
```https://gitlab.redox-os.org/redox-os/redox/-/issues/1356fatal error: nsgenbind-lexer.h No such file or directory2023-10-27T13:29:09ZVivek Pandyafatal error: nsgenbind-lexer.h No such file or directoryNot able to compile redox sources on Ubuntu Linux.
Gives following error
```
COMPILE: build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary/nsgenbind-parser.c
x86_64-unknown-redox-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_PO...Not able to compile redox sources on Ubuntu Linux.
Gives following error
```
COMPILE: build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary/nsgenbind-parser.c
x86_64-unknown-redox-gcc -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_C_SOURCE=200809L -I/home/vivek/tryredox/redox/cookbook/recipes/netsurf/build/nsgenbind/include/ -I/home/vivek/tryredox/redox/cookbook/recipes/netsurf/build/nsgenbind/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -I/home/vivek/tryredox/redox/cookbook/recipes/netsurf/sysroot/include -I/home/vivek/tryredox/redox/cookbook/recipes/netsurf/build/inst-framebuffer/include -D_ALIGNED="__attribute__((aligned))" -DNDEBUG -O2 -std=c99 -Ibuild-x86_64-linux-gnu-x86_64-unknown-redox-release-binary -Isrc/ -g -DYYENABLE_NLS=0 -o build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary/build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary_nsgenbind-parser.o -c build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary/nsgenbind-parser.c
src/nsgenbind-parser.y:23: warning: "YYLTYPE" redefined
#define YYLTYPE YYLTYPE
build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary/nsgenbind-parser.c:67: note: this is the location of the previous definition
#define YYLTYPE NSGENBIND_LTYPE
src/nsgenbind-parser.y:82:10: fatal error: nsgenbind-lexer.h: No such file or directory
#include "nsgenbind-lexer.h"
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/home/vivek/tryredox/redox/cookbook/recipes/netsurf/build/inst-framebuffer/share/netsurf-buildsystem/makefiles/Makefile.top:579: build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary/build-x86_64-linux-gnu-x86_64-unknown-redox-release-binary_nsgenbind-parser.o] Error 1
make[2]: Leaving directory '/home/vivek/tryredox/redox/cookbook/recipes/netsurf/build/nsgenbind'
make[1]: *** [Makefile:123: /home/vivek/tryredox/redox/cookbook/recipes/netsurf/build/inst-framebuffer/build-stamp] Error 2
make[1]: Leaving directory '/home/vivek/tryredox/redox/cookbook/recipes/netsurf/build'
./repo.sh failed.make: *** [mk/filesystem.mk:17: build/filesystem.bin] Error 1
```https://gitlab.redox-os.org/redox-os/dmi/-/issues/1Provide some mechanism to handle fields added in later SMBIOS specs2022-01-27T02:51:08ZIan Douglas ScottProvide some mechanism to handle fields added in later SMBIOS specshttps://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.6.0WIP50.pdf
> If a new field is added to an existing structure, that field is added at the end of the formatted area of that structure and the structure’s Length fi...https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.6.0WIP50.pdf
> If a new field is added to an existing structure, that field is added at the end of the formatted area of that structure and the structure’s Length field is increased by the new field’s size.
> ...
> Any software that interprets a structure shall use the structure’s Length field to determine the formatted area size for the structure rather than hard-coding or deriving the Length from structure field
> ...
> Starting with version 2.3, each SMBIOS structure type has a minimum length — enabling the addition of new, but optional, fields to SMBIOS structures
> ...
> Software that interprets a structure field must verify that the structure’s length is sufficient to encompass the optional field; if the length is insufficient, the optional field’s value is Unknown.
It should be possible to access fields added in newer spec versions without failing to parse older tables. That could be achieved by pushing padding bytes before converting the struct, but that wouldn't distinguish `0` values from unspecified optional fields.
Using packed `Plain` structs may not work well for addressing this...https://gitlab.redox-os.org/redox-os/seahash/-/issues/15Broken github.io links in README and documentation.2021-11-23T06:15:50ZVitaly ShukelaBroken github.io links in README and documentation.Seahash's doccomments link http://ticki.github.io/, which is "404 There isn't a GitHub Pages site here.". There is even a failed picture embedding: `[A diagram.](http://ticki.github.io/img/seahash_construction_diagram.svg)`.
It should b...Seahash's doccomments link http://ticki.github.io/, which is "404 There isn't a GitHub Pages site here.". There is even a failed picture embedding: `[A diagram.](http://ticki.github.io/img/seahash_construction_diagram.svg)`.
It should be updated to point to correct blog article location or archive.org link like [this](https://web.archive.org/web/20201108093911/http://ticki.github.io/blog/seahash-explained/).
Additionally, it sometimes uses non-secure links like `http://` instead of `https://`.https://gitlab.redox-os.org/redox-os/termion/-/issues/194ctrl + arrow?2021-11-12T23:56:34ZAndrzej J. Skalskictrl + arrow?Hi,
how can I add "ctrl + arrow" combination? Is it supported on UNIX/Redox?Hi,
how can I add "ctrl + arrow" combination? Is it supported on UNIX/Redox?https://gitlab.redox-os.org/redox-os/pkgar/-/issues/3Crypto Library2021-11-05T00:13:26ZSamwiseFilmoremggmugginsmc@gmail.comCrypto LibraryI was unpleasantly surprised to discover that [sodiumoxide](https://github.com/sodiumoxide/sodiumoxide) is now archived. Apparently the author will still be fixing security issues but I think that's an indication that pkgar should move t...I was unpleasantly surprised to discover that [sodiumoxide](https://github.com/sodiumoxide/sodiumoxide) is now archived. Apparently the author will still be fixing security issues but I think that's an indication that pkgar should move to a different library for crypto stuff. I did a little poking around and didn't find anything that looked super reliable, may have to go back to the C library bindings for libsodium.https://gitlab.redox-os.org/redox-os/termion/-/issues/193How to set terminal title?2021-10-23T16:44:55ZarkadenwHow to set terminal title?It seems that termion doesn't offer any way to set the terminal title.
For comparison, crossterm has a corresponding `SetTitle` method: https://docs.rs/crossterm/0.22.1/crossterm/terminal/struct.SetTitle.html
Has anyone considered addi...It seems that termion doesn't offer any way to set the terminal title.
For comparison, crossterm has a corresponding `SetTitle` method: https://docs.rs/crossterm/0.22.1/crossterm/terminal/struct.SetTitle.html
Has anyone considered adding such a function?https://gitlab.redox-os.org/redox-os/ion/-/issues/1013quiet option for source-sh2022-09-11T23:34:51ZSteven Peasequiet option for source-shRight now source-sh seems to echo messages like "Set PATH to". It would be nice to able to make this quiet so it doesn't get shown up whenever I open a new terminal when using it with my startup scripts.
I do appreciate the usefulness o...Right now source-sh seems to echo messages like "Set PATH to". It would be nice to able to make this quiet so it doesn't get shown up whenever I open a new terminal when using it with my startup scripts.
I do appreciate the usefulness of source-sh though in making things more backwards compatible with existing shells and third-party shell scripts needed for packages to function (in this case, nix).https://gitlab.redox-os.org/redox-os/redox/-/issues/1352Running in Qemu fails: assertion failed: (obj->parent != NULL)2023-10-27T13:30:32ZDaveRunning in Qemu fails: assertion failed: (obj->parent != NULL)I'm trying to run v0.5 harddrive image in Ubuntu but this is what I get:
```bash
$ sudo qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 1024 -s -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,...I'm trying to run v0.5 harddrive image in Ubuntu but this is what I get:
```bash
$ sudo qemu-system-x86_64 -serial mon:stdio -d cpu_reset -d guest_errors -smp 4 -m 1024 -s -machine q35 -device ich9-intel-hda -device hda-duplex -net nic,model=e1000 -net user -device nec-usb-xhci,id=xhci -device usb-tablet,bus=xhci.0 -enable-kvm -cpu host -drive file=harddrive.bin,format=raw
Home directory not accessible: Permission denied
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio driver
Home directory not accessible: Permission denied
**
ERROR:/build/qemu-z6QTYR/qemu-2.11+dfsg/qom/object.c:1631:object_get_canonical_path_component: assertion failed: (obj->parent != NULL)
“sudo qemu-system-x86_64 -serial…” terminated by signal SIGABRT (Abort)
```
Even if I fix the pulseaudio issue either by following [this](https://bbs.archlinux.org/viewtopic.php?pid=1569166#p1569166) or setting env `QEMU_AUDIO_DRV=none`, I still get the same SIGABRT issue (without the pulseaudio part).
Omitting `-d guest_errors` from arguments fixes this.
Want me to create a patch in book for this?https://gitlab.redox-os.org/redox-os/ion/-/issues/1012filename unescaping with non-ascii characters2021-09-20T10:53:50ZEnzo Cioppettinifilename unescaping with non-ascii charactersbug: can't open files with non-ascii characters and whitespace in their names
related: none
code: input
```
touch 'fïle 1.txt'
cat fïle\ 1.txt
```
expect: the file contents
result: `cat: 'fïle\ 1.txt': No such file or directory`
ver...bug: can't open files with non-ascii characters and whitespace in their names
related: none
code: input
```
touch 'fïle 1.txt'
cat fïle\ 1.txt
```
expect: the file contents
result: `cat: 'fïle\ 1.txt': No such file or directory`
version: df993477678248a62745c9c0a56c880dfd06b515
context: using ion as a interactive shell, the escaping comes from tab-completion, using single quotes instead of `\` works just fine.
behavior of bash/dash/zsh/fish/oil: open the filehttps://gitlab.redox-os.org/redox-os/redox/-/issues/1351Adding a config scheme2023-10-10T08:29:17ZhaennesAdding a config schemeHi I am quite new to redox and Rust but I think I might have found a thing that would be good to add. I was thinking of a config Scheme where Programs could save their configs to.
(It is quite a mess in Linux at least from my experience)...Hi I am quite new to redox and Rust but I think I might have found a thing that would be good to add. I was thinking of a config Scheme where Programs could save their configs to.
(It is quite a mess in Linux at least from my experience)
# Anyways here some example URLs:
- config:/ion
- config:/ion/background_color
- config:/system/timezone
# Here some Pseudo-Code:
write("config:/ion" Buffer::empty());
// could be used to create a default config
let current_config = read("config:/ion");
// used when loading the entire config
left font_config = read("config:/ion/fonts");
// used when loading the fonts config
# Short Description
Each User has an own config for each Application/Program when the handler receives the open request it opens the App-Config of the user.
Optionally a branch like system (with one main branch) could be integrated where each user could have multiple configs which each have a name. (Sth like this can be seen in the Godot Gameengine).
# More Pseudo code :)
struct ConfigScheme{
ByApp: HashMap<String, ProgramConfig>
// sorted by Program here as it should be easier to add new Programs
}
struct ProgramConfig{
ByUsers: HashMap<u32, Profiles>
}
struct Profiles{
main: Profile,
other: Option<Vec<Profiles>> // could be just a Vec too.
}
struct Profile{
profiles: HashMap<String, ConfigData> // optionally add paths like described
}
struct ConfigData{
private: bool,
Data
}
//I don't know what datatype to use here.
//I would either encode everything to a String/ bytes
//or make an Enum with every accepted Datatype (which seems pretty stupid)
I hope this might be a good idea if not just close this issue
Sorry for my bad English. I am not a native speakerhttps://gitlab.redox-os.org/redox-os/website/-/issues/191Lunduke Hour talk moved to Odysee2021-09-20T10:54:40ZChristopher BergqvistLunduke Hour talk moved to OdyseeLunduke has made the video private on Youtube since he is migrating off that platform. It is available at: https://odysee.com/@Lunduke:e/redoxos-microkernel-os-written-in-rust:d
Embed:
`<iframe id="lbry-iframe" width="560" height="315" ...Lunduke has made the video private on Youtube since he is migrating off that platform. It is available at: https://odysee.com/@Lunduke:e/redoxos-microkernel-os-written-in-rust:d
Embed:
`<iframe id="lbry-iframe" width="560" height="315" src="https://odysee.com/$/embed/redoxos-microkernel-os-written-in-rust/d5ff7e37dc3c06481c195b58aea7a83636e07ba9?r=5eCCLTszYmK3qWezY4dcCgakcN9uZsou" allowfullscreen></iframe>`https://gitlab.redox-os.org/redox-os/ion/-/issues/1011process expansions with fzf stall forever2021-09-20T10:55:43Zunmellowprocess expansions with fzf stall foreverbug: placing fzf anywhere inside process expansions results in stalling
you can ctrl+c to stop it resulting in the expansion becoming empty string
expect: process expansion launches fzf allowing me to use it to select what is out...bug: placing fzf anywhere inside process expansions results in stalling
you can ctrl+c to stop it resulting in the expansion becoming empty string
expect: process expansion launches fzf allowing me to use it to select what is outputted into
a function/executable/variable
related: none
code: input
```
myvar=$(echo "foo
bar" | fzf)
```
expect: output
```
depending on you selection an output of foo/bar/empty string
```
kernel: linux 5.10.47-1-lts
version: ion 1.0.0-alpha (x86_64-unknown-linux-gnu)
interaction: fzf
context: none
behavior of bash
same as expected outputhttps://gitlab.redox-os.org/redox-os/orbgame/-/issues/13Compile example error2021-09-20T10:56:05ZVitold S.Compile example errorDuring research I try to compile examples and receive next error:
```
|
6 | pub use orbtk::api::Application as Game;
| ^^^ could not find `api` in `orbtk`
error[E0432]: unresolved import `orbtk::api`
--> ~/.cargo/git/...During research I try to compile examples and receive next error:
```
|
6 | pub use orbtk::api::Application as Game;
| ^^^ could not find `api` in `orbtk`
error[E0432]: unresolved import `orbtk::api`
--> ~/.cargo/git/checkouts/orbgame-3084caa932166481/086c63b/crates/api/src/lib.rs:7:16
|
7 | pub use orbtk::api::*;
| ^^^ could not find `api` in `orbtk`
error[E0405]: cannot find trait `RenderObject` in this scope
--> ~/.cargo/git/checkouts/orbgame-3084caa932166481/086c63b/crates/api/src/render_object/tile_map.rs:41:19
|
41 | impl Into<Box<dyn RenderObject>> for TileMapRenderObject {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
1 | use orbtk::prelude::RenderObject;
|
...
```
Could you please provide work example?https://gitlab.redox-os.org/redox-os/ion/-/issues/1010Is it possible to return arrays from functions?2022-09-11T23:29:48Zb-fuzeIs it possible to return arrays from functions?I'm new to Ion and I was wondering if functions could return complex structures such as arrays and maps instead of just strings?I'm new to Ion and I was wondering if functions could return complex structures such as arrays and maps instead of just strings?https://gitlab.redox-os.org/redox-os/ion/-/issues/1008Alias names cannot containt semicolons2021-09-20T10:56:42ZA1ex-NAlias names cannot containt semicolonsI have aliases in bash and fish that contain semicolons. For example, ":q" for "exit". In ion, this does not work.
`ion: alias name, ':q', is invalid`I have aliases in bash and fish that contain semicolons. For example, ":q" for "exit". In ion, this does not work.
`ion: alias name, ':q', is invalid`https://gitlab.redox-os.org/redox-os/liner/-/issues/14Support for arbitrary streams for input/output2021-09-20T10:58:06ZJanez UrevcSupport for arbitrary streams for input/outputIt seems that `liner` currently only supports standard input/output. [Goose](https://github.com/tag1consulting/goose) will accept connections via telnet and expose a command line interface, which allows users to control their load tests....It seems that `liner` currently only supports standard input/output. [Goose](https://github.com/tag1consulting/goose) will accept connections via telnet and expose a command line interface, which allows users to control their load tests. We would like to use `liner` to improve the UX of the said command line, but we would need to be able to wire it into a TCP stream instead of stdin/stdout.
I would like to propose to make it possible to wire `liner` into an arbitrary input/output stream. This approach would allow us to achieve what we want while also opening a lot of other possibilities for the library.
Is this something that would be considered? Are there any plans to do that already?