This repository was archived by the owner on Mar 4, 2024. It is now read-only.
gio::auto::file::File::new_for_path runs into nullptr on musl #351
Closed
Description
Hello,
In tracker-rs
examples gio::auto::file::File::new_for_path
crashes with a SIGSEGV because it runs into a nullpointer. The backtrace:
#0 0x0000000000000000 in ?? ()
#1 0x00007f4e19d8f9bb in gio::auto::file::File::new_for_path<std::path::PathBuf> (path=...)
at /root/.cargo/git/checkouts/gtk-rs-48ef14c1f17c79fb/295e8c1/gio/src/auto/file.rs:73
#2 0x00007f4e19d8eaf4 in tracker_resource::main () at /tracker-rs/examples/src/bin/tracker_resource.rs:16
Here's a Dockerfile for a reproducer:
FROM alpine:latest
RUN apk add tracker-dev rustup git build-base \
&& rustup-init -y \
&& source $HOME/.cargo/env \
&& git clone https://gitlab.com/dleggo/tracker-rs \
&& cd tracker-rs/examples \
&& cargo build \
&& ./target/debug/tracker_resource
Metadata
Metadata
Assignees
Labels
No labels