Open HannesGitH opened 5 months ago
after installing the dependencies the app runs but receives SIGSEGV
pkgs.mkShell
{
packages = with pkgs; [
git
flutter
# ...
# linux
clang
cmake
ninja
pkg-config
gtk3
glib
libepoxy.dev
# needed for linux video player (FVP) --doenst work yet
libdrm
libGL
alsa-lib
pulseaudio
mesa
xorg.libX11
# ...
];
LD_LIBRARY_PATH= "${pkgs.alsa-lib}/lib:${pkgs.libdrm}/lib:${pkgs.libGL}/lib:${pkgs.libepoxy}/lib:${pkgs.pulseaudio}/lib:${pkgs.mesa}/lib:${pkgs.xorg.libX11}/lib:$LD_LIBRARY_PATH";
}
;}
it runs fine until a video shall be played, then it crashes:
New Thread 0x7ffef0ff96c0 (LWP 148982)]
[Detaching after fork from child process 148983]
Thread 70 "mdk.demux@14073" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffef0ff96c0 (LWP 148982)]
0x0000000000000000 in ?? ()
show me the complete log
i dont have the log rn but as i went through it again i saw a previous error saying gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed
which might be resolved in a more recent flutter version (the one in nixpkgs is fixed to 3.13.8)
as mentioned in the following comment:
https://github.com/flutter/flutter/issues/135547#issuecomment-1738463171
I havent tried that yet though, but feel free to close this issue as resolved. still wanted to document in case anybody stumbles upon the same problem
Describe the bug Using the package will result in build errors on NixOS, because many shared objects libs are not installed
Expected behavior
flutter run
without errors (as does without using this package, although then playing videos wont work)Log