You are not logged in.

#1 2023-12-07 19:34:41

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

[RESOLVED] - Hyprland on archlinux

I have two machine with archlinux and randomly Hyprland stop working.

I noticed that the folder /tmp/hypr Is delete and recreated, only with logs.
Hyprland so crash because does not found sockets.
I don t understans why.
The only things i can say Is that i use Eclipse ide in each machine for Java developments.

Thanks

Last edited by acetofilippo (2023-12-20 16:46:00)

Offline

#2 2023-12-07 20:11:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

I don t understans why.

Neither can anybody else.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
https://wiki.archlinux.org/title/Core_d … _core_dump
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Online

#3 2023-12-07 20:33:18

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

seth wrote:

I don t understans why.

Neither can anybody else.

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
https://wiki.archlinux.org/title/Core_d … _core_dump
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

http://0x0.st/H3NS.txt

thanks

Offline

#4 2023-12-07 20:52:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

There's no indication of any hyprland failure in that journal nor a second login, so you'll have drawn the journal from a running hyprland session?
If hyprland only crashed in the past, you'll have to post an older journal and/or inspect the coredumps.

Online

#5 2023-12-07 22:00:13

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

This journal Is from a Hyprland session, but Whit no crash. I see After some time that hyprctl not work anymore because loose the socket. I try ti get a new journal when i have the crash.
Thanks

Offline

#6 2023-12-11 08:53:20

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

seth wrote:

There's no indication of any hyprland failure in that journal nor a second login, so you'll have drawn the journal from a running hyprland session?
If hyprland only crashed in the past, you'll have to post an older journal and/or inspect the coredumps.

Today i catch the error in logs.

seems to be from waybar

http://0x0.st/H3tV.txt

Offline

#7 2023-12-11 09:08:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

dic 11 09:50:12 ARCH-FILIPPO systemd-coredump[11604]: Process 1839 (waybar) of user 1000 dumped core.
                                                      
                                                      Stack trace of thread 2013:
                                                      #0  0x00007fa87f3bf83c n/a (libc.so.6 + 0x8e83c)
                                                      #1  0x00007fa87f36f668 raise (libc.so.6 + 0x3e668)
                                                      #2  0x00007fa87f3574b8 abort (libc.so.6 + 0x264b8)
                                                      #3  0x00007fa87f3573dc n/a (libc.so.6 + 0x263dc)
                                                      #4  0x00007fa87f367d26 __assert_fail (libc.so.6 + 0x36d26)
                                                      #5  0x000055d8ccab8fdf n/a (waybar + 0x13efdf)
                                                      #6  0x000055d8ccab9893 n/a (waybar + 0x13f893)
                                                      #7  0x000055d8ccabb484 n/a (waybar + 0x141484)
                                                      #8  0x000055d8ccab48ad n/a (waybar + 0x13a8ad)
                                                      #9  0x000055d8ccab6341 n/a (waybar + 0x13c341)
                                                      #10 0x00007fa87f6e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                      #11 0x00007fa87f3bd9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #12 0x00007fa87f4417cc n/a (libc.so.6 + 0x1107cc)

It actually aborts w/ a failed assertion, so there's a chance it's gonna yell an error (to stderr), but that's not

Hyprland so crash because does not found sockets.

?
Also there're no waybar messages in the journal, how do you start it?

Online

#8 2023-12-11 10:18:16

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

seth wrote:
dic 11 09:50:12 ARCH-FILIPPO systemd-coredump[11604]: Process 1839 (waybar) of user 1000 dumped core.
                                                      
                                                      Stack trace of thread 2013:
                                                      #0  0x00007fa87f3bf83c n/a (libc.so.6 + 0x8e83c)
                                                      #1  0x00007fa87f36f668 raise (libc.so.6 + 0x3e668)
                                                      #2  0x00007fa87f3574b8 abort (libc.so.6 + 0x264b8)
                                                      #3  0x00007fa87f3573dc n/a (libc.so.6 + 0x263dc)
                                                      #4  0x00007fa87f367d26 __assert_fail (libc.so.6 + 0x36d26)
                                                      #5  0x000055d8ccab8fdf n/a (waybar + 0x13efdf)
                                                      #6  0x000055d8ccab9893 n/a (waybar + 0x13f893)
                                                      #7  0x000055d8ccabb484 n/a (waybar + 0x141484)
                                                      #8  0x000055d8ccab48ad n/a (waybar + 0x13a8ad)
                                                      #9  0x000055d8ccab6341 n/a (waybar + 0x13c341)
                                                      #10 0x00007fa87f6e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
                                                      #11 0x00007fa87f3bd9eb n/a (libc.so.6 + 0x8c9eb)
                                                      #12 0x00007fa87f4417cc n/a (libc.so.6 + 0x1107cc)

It actually aborts w/ a failed assertion, so there's a chance it's gonna yell an error (to stderr), but that's not

Hyprland so crash because does not found sockets.

?
Also there're no waybar messages in the journal, how do you start it?


i start waybar with a script that inside have

waybar -c


but i know that this error  occour even if i use eww for example

Offline

#9 2023-12-11 10:20:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

Please don't full-quote, you're bloating the thread for no reason.
There's no way that you get a waybar abort if you're not running waybar and I suspect that's also not the original hyprland crash of the OP

i start waybar with a script

And what runs that script? …

Online

#10 2023-12-11 10:33:31

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

# ----------------------------------------------------- 
# Quit all running waybar instances
# ----------------------------------------------------- 
killall waybar
sleep 0.2
# ----------------------------------------------------- 
# Default theme: /THEMEFOLDER;/VARIATION
# ----------------------------------------------------- 
themestyle="/ml4w;/ml4w/light"


# ----------------------------------------------------- 
# Get current theme information from .cache/.themestyle.sh
# ----------------------------------------------------- 
if [ -f ~/.cache/.themestyle.sh ]; then
    themestyle=$(cat ~/.cache/.themestyle.sh)
else
    touch ~/.cache/.themestyle.sh
    echo "$themestyle" > ~/.cache/.themestyle.sh
fi

IFS=';' read -ra arrThemes <<< "$themestyle"
echo ${arrThemes[0]}

if [ ! -f ~/configurazioni-hyprland/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
    themestyle="/ml4w;/ml4w/light"
fi

# ----------------------------------------------------- 
# Loading the configuration
# ----------------------------------------------------- 
waybar -c ~/configurazioni-hyprland/dotfiles/waybar/themes${arrThemes[0]}/config -s ~/configurazioni-hyprland/dotfiles/waybar/themes${arrThemes[1]}/style.css &

Last edited by acetofilippo (2023-12-11 14:58:44)

Offline

#11 2023-12-11 14:09:51

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

Jesus…

seth wrote:

Please don't full-quote, you're bloating the thread for no reason.

You even quoted that for not reason :rolleys:

Then please use [code][/code] tags. Edit your post in this regard.

You posted the script, but didn't explain what calls it.

I assume there's a massive language barrier, see https://deepl.com

Online

#12 2023-12-11 16:58:41

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

i fix some db errors

http://0x0.st/H3x0.txt

Offline

#13 2023-12-11 17:18:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

There're only xdg-portal crashes and the waybar aborts, you do understand that deepl.com will help you to commuincate since you clearly don't speak english?

Online

#14 2023-12-12 13:03:56

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

Yes, I saw that xdg-portal crashes and I think that is the problem. Because even if I use eww, it doesn`t work after a while.
The socket inside /tmp/hypr gets deleted and only the hyprland.log file remains.
And then the hyprctl commands no longer work.

Offline

#15 2023-12-12 14:03:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

Hyprland so crash because does not found sockets.

Where is the error message hinting at that?
I've not seen hyprland crashing at all.

Online

#16 2023-12-12 14:08:25

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

when I try to run a hyprctl command, for example hyprctl monitors, I get

Couldn't connect to /tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930/.socket.sock. (3)

because in the folder /tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930
there`s nothing.

I`ve noticed that the /tmp/hypr folder is recreated when there`s a crash but I don`t know where the error is

Offline

#17 2023-12-12 14:51:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

Do you have hyprland coredumps in https://wiki.archlinux.org/title/Core_d … _core_dump ?

there`s nothing.

ls -la /tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930 # .socket.sock is a hidden file 

When hyprctrl errors out, do you still have a hyprland process?

ps aux | grep -i hyprland

I`ve noticed that the /tmp/hypr folder is recreated

You'd than also get a different tmpdir (instead of a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930) yesno?

Online

#18 2023-12-12 15:29:44

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

if I type

ls -la /tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930

there is only
hyprland.log

the process hyprland exists

i have the same tmpdir but with only hyprland.log present.

Offline

#19 2023-12-20 13:30:48

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

i try to audit the .socket.sock file.

type=SYSCALL msg=audit(1702918207.138:27442): arch=c000003e syscall=87 success=no exit=-21 a0=7fcd70005b50 a1=7fcdb8000fd8 a2=7fce67609238 a3=7fce51052800 items=2 ppid=102395 pid=108813 auid=1000 uid=1000 gid=984 euid=1000 suid=1000 fsuid=1000 egid=984 sgid=984 fsgid=984 tty=tty7 ses=5 comm="FoliumDaemons_W" exe="/usr/lib/jvm/java-8-openjdk/jre/bin/java" key=".socket.sock"ARCH=x86_64 SYSCALL=unlink AUID="filippo" UID="filippo" GID="users" EUID="filippo" SUID="filippo" FSUID="filippo" EGID="users" SGID="users" FSGID="users"
type=CWD msg=audit(1702918207.138:27442): cwd="/home/filippo"
type=PATH msg=audit(1702918207.138:27442): item=0 name="/tmp/hypr/" inode=35 dev=00:22 mode=040777 ouid=1000 ogid=984 rdev=00:00 nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="filippo" OGID="users"
type=PATH msg=audit(1702918207.138:27442): item=1 name="/tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702907407" inode=36 dev=00:22 mode=040770 ouid=1000 ogid=984 rdev=00:00 nametype=DELETE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="filippo" OGID="users"
type=PROCTITLE msg=audit(1702918207.138:27442): proctitle=2F7573722F6C69622F6A766D2F6A6176612D382D6F70656E6A646B2F62696E2F6A617661002D6167656E746C69623A6A6477703D7472616E73706F72743D64745F736F636B65742C73757370656E643D792C616464726573733D6C6F63616C686F73743A3432323333002D6A6176616167656E743A2F6F70742F65636C697073
type=CONFIG_CHANGE msg=audit(1702918207.138:27443): op=remove_rule dir="/tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702907407" key=".socket.sock" list=4 res=1
type=SYSCALL msg=audit(1702918207.138:27443): arch=c000003e syscall=84 success=yes exit=0 a0=7fcd70005b50 a1=7fcdb8000fd8 a2=ffffffffffffff88 a3=7fce51052800 items=2 ppid=102395 pid=108813 auid=1000 uid=1000 gid=984 euid=1000 suid=1000 fsuid=1000 egid=984 sgid=984 fsgid=984 tty=tty7 ses=5 comm="FoliumDaemons_W" exe="/usr/lib/jvm/java-8-openjdk/jre/bin/java" key=(null)ARCH=x86_64 SYSCALL=rmdir AUID="filippo" UID="filippo" GID="users" EUID="filippo" SUID="filippo" FSUID="filippo" EGID="users" SGID="users" FSGID="users"
type=CWD msg=audit(1702918207.138:27443): cwd="/home/filippo"
type=PATH msg=audit(1702918207.138:27443): item=0 name="/tmp/hypr/" inode=35 dev=00:22 mode=040777 ouid=1000 ogid=984 rdev=00:00 nametype=PARENT cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="filippo" OGID="users"
type=PATH msg=audit(1702918207.138:27443): item=1 name="/tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702907407" inode=36 dev=00:22 mode=040770 ouid=1000 ogid=984 rdev=00:00 nametype=DELETE cap_fp=0 cap_fi=0 cap_fe=0 cap_fver=0 cap_frootid=0OUID="filippo" OGID="users"

I don't understand much about it but it looks like a java process has problems

Offline

#20 2023-12-20 16:01:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

What is "FoliumDaemons_W" ?

Online

#21 2023-12-20 16:20:11

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

Is a java class. I have a  webapplication that has many Job quartz starting in background .
There are many "daemons."
I have stopped all the daemons in my application and Hyprland doesn't seem to crash anymore

Offline

#22 2023-12-20 16:24:48

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,628

Re: [RESOLVED] - Hyprland on archlinux

It's probably on a wild "cleanup" spree.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#23 2023-12-20 16:45:00

acetofilippo
Member
Registered: 2022-12-28
Posts: 21

Re: [RESOLVED] - Hyprland on archlinux

yes, there was a daemon that was just doing a wild deletion, I tried restarting it and after a while the bug showed up

Offline

Board footer

Powered by FluxBB