Open LinuxOnTheDesktop opened 1 month ago
Source of segmentation fault is some snprintf
called by generate_text_internal
. As that's the last location in stack trace before snprintf
, and the function doesn't contain any, that means the compiler inlined some other called function (spaced_print
, called by percent_print
seem like good candidates?)
Can you send us your conky binary? I've never done it before, but I'm guessing it can be used to narrow down which snprintf is bad (the ones I linked above are just guesses).
Thanks, I deleted your reply because I saw the binary contained paths you redacted in your config file as parts of debug statements.
The binary doesn't have spaced_print
inlined, and the address from the dump points to the line after (*obj->callbacks.print)(obj, p, p_max_size);
call, so I'm assuming that's it.
After eliminating variables by hand, I took another look at the stack trace - the cause is text produced by lua_parse
, that is this snprintf
crashes. This is called from several places in extract_variable_text_internal
.
P.S. if_pa_sink_muted
likely doesn't work if you're using PipeWire
.
What happened?
Conky crashed. I am unsure what I was doing; I might have been editing a Cinnamon panel. I had another crash some days ago and I am afraid I am unsure what I was doing then. I do though have a stack trace for the most recent crash - see below. I found that trace within the system log.
My system
OS: Linux Mint wilma 22 x86_64 Host: Laptop 13 (AMD Ryzen 7040Series) (A5) Display (NE135A1M-NY1): 2880x1920 @ 120 Hz in 13″ DE: Cinnamon 6.2.9 WM: Muffin (X11) WM Theme: Mint-Y-Dark-Aqua (Mint-Y) Theme: gtk2 [Qt], Mint-L-Dark-Teal [GTK2/3/4] Icons: Paper [Qt], Paper [GTK2/3/4] Font: qt5ct [Qt], Noto Sans (11pt) [GTK2/3/4] Cursor: DMZ-Black (38px) Terminal: GNOME Terminal 3.52.0 Terminal Font: Liberation Mono (14pt) CPU: AMD Ryzen 5 7640U w/ Radeon 760M Graphics (1z GPU: AMD Phoenix1 [Integrated] Memory: 5.46 GiB / 14.93 GiB (37%) Swap: 1.50 MiB / 46.57 GiB (0%) Disk (/): 11.53 GiB / 147.39 GiB (8%) - ext4 Disk (/home): 33.24 GiB / 384.42 GiB (9%) - ext4 Disk (/timeshift): 41.67 GiB / 293.11 GiB (14%) -4 Local IP (wlp1s0): 192.168.1.142/24 Battery (FRANGWA): 100% [AC Connected] Locale: en_GB.UTF-8
Version
1.27.1.pre
Which OS/distro are you seeing the problem on?
Linux (other)
Conky config
Stack trace
Relevant log output
No response