Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git Version info could not be read #326

Open
MaexPow opened this issue Jun 25, 2023 · 3 comments
Open

Git Version info could not be read #326

MaexPow opened this issue Jun 25, 2023 · 3 comments

Comments

@MaexPow
Copy link

MaexPow commented Jun 25, 2023

I went trough the installation and installed all the necessary packages including ninja and the ntk replacement that was posted in this forum.
meson build is set up.
I went to cd build
After I type ninja i get the following:
_[1/3] Generating src/version.hxx with a custom command
_

After I type ./luppp i get the following:
[Luppp] main:78: Git: Version info could not be read.
[Luppp] main:94: Built with BUILD_TESTS enabled
[Luppp] Gui:460: Loaded preferences
Speicherzugriffsfehler (Speicherabzug geschrieben)

I checked and installed git
when I use the command git --version my terminal shows me:
git version 2.34.1

How to get Lupp running

@harryhaaren
Copy link
Member

Hi,

The "Segfault" error (Speicherabzug) is not due to the git version info not being read. I'm not sure why Luppp is segfaulting (aka, accessing a bad/NULL pointer in the C language..) Would you describe the system that you're running? (What version of JACK, do other apps work as expected?)

Are you familiar with C debugging at all, or would you be willing to learn? With a few commands, we might be able to root-cause why this segfault is happening... Luppp works fine here - so right now I cannot reproduce the issue to help/fix it..

Regards, -Harry

@MaexPow
Copy link
Author

MaexPow commented Jun 26, 2023

I reinstalled Jack and get the following:
Gui:460: Loaded preferences
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
jackd 0.125.0rc1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK is running in realtime mode, but you are not allowed to use realtime scheduling.
Please check your /etc/security/limits.conf for the following line
and correct/add it if necessary:

@Audio - rtprio 99

After applying these changes, please re-login in order for them to take effect.

You don't appear to have a sane system configuration. It is very likely that you
encounter xruns. Please apply all the above mentioned changes and start jack again!
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Speicherzugriffsfehler (Speicherabzug geschrieben)

@MaexPow
Copy link
Author

MaexPow commented Jun 27, 2023

Okay I am using Ubuntu 22.04, when i check my Jack Version by using command: jackd -V i get the following output:
jackd version 0.125.0rc1 tmpdir /dev/shm protocol 25

I followed the instructions from the previous output (adding the line to limits.conf) and afterwards adding myself to audio group.
Now the output on trying to start Luppp is like that:

[Luppp] main:78: Git: Version info could not be read.
[Luppp] main:94: Built with BUILD_TESTS enabled
[Luppp] Gui:460: Loaded preferences
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
jackd 0.125.0rc1
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

no message buffer overruns
JACK compiled with System V SHM support.
loading driver ..
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
cannot load driver module alsa
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
connect(2) call to /dev/shm/jack-1000/default/jack_0 failed (err=No such file or directory)
attempt to connect to server failed
Speicherzugriffsfehler (Speicherabzug geschrieben)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants