glava icon indicating copy to clipboard operation
glava copied to clipboard

Immediate segfault upon launching.

Open netrunnernobody opened this issue 3 years ago • 5 comments

KDE 5 / Debian user on a 4K display, having issues getting Glava to work on this machine. Installed with seemingly no issues, but creates a segfault every time when run.

glava --verbose
Using backend: 'glx'
Loading module: 'bars'
found GLSL stage: '1.frag'
found GLSL stage: '2.frag'
compiling: '1.frag'
WARNING: using "window" transform explicitly is deprecated (no-op); implied from "fft" transform.
WARNING: using "gravity" transform explicitly is deprecated (no-op); implied from "fft" transform.
WARNING: using "avg" transform explicitly is deprecated (no-op); implied from "fft" transform.
compiling: '2.frag'
disabled: '2.frag'
Using audio source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
FPS: 365.64, UPS: 0.00
Segmentation fault

Segfault looks something like this.

[56865.567964] nouveau 0000:01:00.0: disp: chid 73 stat 90001080 reason 1 [PUSHBUFFER_ERR] mthd 0200
[56967.883592] glava[65481]: segfault at 0 ip 0000000000000000 sp 00007ffe831279f8 error 14 in glava[5608ddccc000+1000]
[56967.883597] Code: Bad RIP value.
[56980.995971] glava[65521]: segfault at 0 ip 0000000000000000 sp 00007ffddd597d28 error 14 in glava[55f2a4ab3000+1000]

netrunnernobody avatar Aug 17 '20 16:08 netrunnernobody

Same issue here, only it doesn't look like it made it as far as yours, since this is all the output:

$ glava --verbose
Using backend: 'glx'
Segmentation fault (core dumped)

Paul-Houser avatar Jan 07 '21 20:01 Paul-Houser

Same issue here:

$ glava --verbose
Using backend: 'glx'
zsh: segmentation fault (core dumped)  glava --verbose

$ glava --version
GLava (glava) v1.6.3 (stable, unix/fhs)

Oddly, glava was working yesterday and all that's changed between then and now is a reboot (no package upgrades). Using strace doesn't result in anything too obvious, but I can share the output if requested.

bdebyl avatar Jan 19 '21 18:01 bdebyl

Same on Xubuntu 20.04, no output with verbose option:

$ glava --desktop --verbose
Segmentation fault (core dumped)

benjamin4453 avatar Feb 06 '21 19:02 benjamin4453

OK I made a mistake, I was connected remotely to my machine so I think it is not supposed to work like this.

Back on this machine I tried to launch glava in a terminal emulator and it worked without issue.

benjamin4453 avatar Feb 16 '21 21:02 benjamin4453

Getting the same issue on an Arch VM:

The same package works on the manjaro host

same error when building from git

Using backend: 'glx'
Segmentation fault (core dumped)

Mysgym avatar Mar 22 '21 13:03 Mysgym