You are not logged in.
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
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.stOffline
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
thanks
Offline
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.
Offline
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
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
Offline
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?
Offline
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
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? …
Offline
# -----------------------------------------------------
# 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
Jesus…
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
Offline
i fix some db errors
Offline
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?
Offline
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
Hyprland so crash because does not found sockets.
Where is the error message hinting at that?
I've not seen hyprland crashing at all.
Offline
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
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 hyprlandI`ve noticed that the /tmp/hypr folder is recreated
You'd than also get a different tmpdir (instead of a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930) yesno?
Offline
if I type
ls -la /tmp/hypr/a0b675ec9e57af8bc631fc8cc54d062b58669a9f_1702385930there is only
hyprland.log
the process hyprland exists
i have the same tmpdir but with only hyprland.log present.
Offline
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
What is "FoliumDaemons_W" ?
Offline
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
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.
Offline
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