Φόρτωση…
Αναφορά σε νέο ζήτημα
Δεν υπάρχει ακόμα περιεχόμενο.
Διαγραφή του Κλάδου '%!s(<nil>)'
Η διαγραφή του κλάδου είναι μόνιμη. ΔΕΝ ΜΠΟΡΕΙ να αναιρεθεί. Συνέχεια;
Η διαγραφή του κλάδου είναι μόνιμη. ΔΕΝ ΜΠΟΡΕΙ να αναιρεθεί. Συνέχεια;
Basic information
Description
The arts audio server crashes with a SIGSEGV. Here is the backtrace:
Steps to reproduce
Hi there, could you install the missing symbols and upload a new backtrace? You can see some of the entries in the backtrace don't have enough information (only quesiton marks instead of th eactual location).
Thanks.
I have the same issue. @MicheleC, could you exaplain how to install the missing symbols?
depending on your distro, but you need to install the debug symbol packages related to arts and other libraries (for example libasound)
You can see here that frame 3 to 5 are missing the debug symbols (?? in the message).
Depending on the distro, the name of those packages may vary, but they usually have some sort of dbg/dbgsym in the name.
OK. How is this?
Backtrace
@nmrugg
It is good, same backtrace I have seen also from another user. Could you tell me the exact version of alsa/libalsa installed on your system?
I just upgraded to Ubuntu 22.04.
Thanks for the info. I will see if I can look into this as some point before the next release.
Same problem with 22.04 and 14.10b.
@mrmazda Felix, is this the same issue you mentioned on TDE/tde#128 at this comment?
I'm currently unable to ascertain what 14.10b in my previous comment means, so can only guess it must be. I've clicked TDE's crash send button many times it occurred. I have a collection of inxi logs containing string "crash" involving audio, all but one of which are from 2023, because these logs hadn't been including audio until March 14. Hosts represented since then by those that run TDE include ab250 (KabyLake;ub22.04), ab560 (RocketLake;f37,f38,ub22.04), ara88 (Kaveri;f37), big41 (EagleLake;ub22.04), gb250 (KabyLake;ub22.04), gb970 (Phenom II; f36,f37), gx62b (ICH7;f38), k8mmv (VIA;suse15.5).
If you can give me a basic setup to reproduce the issue in a new virtual machine, I am willing to take a look at try to fix this issue. What I need is something like:
abcqwe,asd, ...123,456, ...thisandthatSoved by PR #11.
Hello,
I just upgraded yestarday to Ubuntu 22.04 (trough Linux Mint 21), and upgraded to trinity-r14.1.x, but this problem still persist.
Arts crash on startup, with the same backtrace, also referencing libasound.
Just for test, after an
apt-get build-dep arts-trinityI downloaded the arts sources and applied the fixes committed in the issue #11.I Installed all the files and libraries under /opt/trinity/ and restarted the session, the arts daemon doesn't crash anymore but it can't play .ogg files as unrecognized format.
The libogg-dev is installed too.
The description is a bit confusing. This is my understanding:
Is that understanding correct?
Hi Michele,
I upgraded my whole system from Ubuntu 20.04 to 22.04, and TDE from trinity-r14.0.x to trinity-r14.1.x (current).
After upgrading, arts daemon fails on startup (the backtrace is the same as in the first comment).
As per point 2, I applied the fixes from PR #11 to the tarball provided from this link (https://www.trinitydesktop.org/releases/R14.1.0/ - Download Source Tarballs), compiled and installed under /opt/trinity/.
As a result, artsd doesn't crash, but it's unable to play .ogg files, provided by TDE under
/opt/trinity/share/sounds, so, as per point 3, yes, I think it's related.Ciao Davide,
this is what I am confused about.
R14.1.x usually refers (at least among devs) to the latest version of the r14.1.x branch, so the fix in PR #11 would have already been there since approx Jun 15. So if you initially updated to that, point 2 should not have made any difference.
Otherwise if you mean that you initially updated to R14.1.0 packages, then point 2. would make perfect sense.
As per point 3., do you have tde multimedia pacakges installed? I can play .ogg files from
/opt/trinity/share/soundsinnoatun, so it may be a matter of missing packages perhaps (I am on debian trixie, fyi).Hi Michele,
I'm sorry, I omitted some information, thinking was clear what I was talking about.
Sorry :)
Anyway, with
trinity-r14.1.xI'm referring to this repository as the latest in use on my system (fresh install with root partition formatted, preserving only the home):Previously I used the
trinity-r14.0.xrepository.Installed the package
libarts1c2a-trinity::4:14.1.0-0ubuntu22.04.0+0, that contain/opt/trinity/bin/artsd, I experienced a crash on startup.I made a little check with debugging symbols (arts-trinity-dbg package) in gdb and noticed a segfault in libasound (as referenced in issue #11)
So, the package
libarts1c2a-trinity::4:14.1.0-0ubuntu22.04.0+0seems to be not up to date with the #11 fixes maybe.Later I tried to update the
artspackage from source, applying manually the patches from issue #11.The result is that
artsddoesn't crash anymore, but it doesn't recognizeoggfiles, trough Kcontrol -> sound system test or any TDE audio app, also noatun.Pulseaudio based app seems to works correctly instead, if can be of any interest.
Here the first backtrace:
Backtrace
Hope this can be more clearer :)
Best regards.
Ciao Davide,
Ok, now it makes perfect sense.
libarts1c2a-trinity::4:14.1.0-0ubuntu22.04.0+0is the latest stable release (R14.1.0) and so it still has the problem. The fix of PR #11 will be part of the next R14.1.1 release.For the .ogg issue, not sure what is the best way to troubleshoot this. When you try to play an .ogg file (say in noatun or other applications), does it play (you can see the play time changing) but there is no sound? or does it not start playing at all?
I usually don't use pulseaudio, so as a comparison test to gather info, it may we worth to see if it works fine without pulseaudio, although I don't expect that to be the issue if you can play other formats.
Ciao Michele,
I mentioned
pulseaudiobefore, just for clarify that the sound system works correctly for any other apps that don't use artsd.Anyway, just for correctness, I reinstalled all the necessary arts and tdemultimedia packages before trying anything:
Later, using
noatunto play an ogg, with the packagelibarts1c2a-trinity::4:14.1.0-0ubuntu22.04.0+0installed, is going to crash:Backtrace
Running from cli has a different message, but still crash:
Compiling artsd from source, with the fixes from #11,
noatunstill crash the same way, same messages in cli and backtrace gui.Some debugging messages are outputted from the deamon in console also:
Accessing
Kcontrol->Sound system->test sounddoesn't play anything but outputs those messages:Hope these more information can be usefull.
Thanks for your interest!
Ciao Davide,
I edited your post making the backtrace collapsible for easy of navigation.
To help troubleshooting, could you find out why the crash happens? In
tdemultimedia/noatun/library/player.cppline 301 there are a couple of pointers that get dereferenced without being checked for nullptr. If you can figure out where the crash is generated, we can then start to work backward to understand why noatun crashes on your system.File
tdemultimedia/noatun/library/app.cppline 478 may give a good clue:Maybe we fail to load some library and
mLibraryLoaderis null?Ciao Michele,
I tryied both git sources and tarball from the site, but the generated makefile doesn't work...
Build
Sorry, but I don't have too much time to follow up this too at the moment...
My interest is mainly about
arts, notnoatunsince I don't use it.What I can say, is the package
libarts1c2a-trinity::4:14.1.0-0ubuntu22.04.0+0is broken, it crash on startup and the backtrace still popping up if you disable it fromKcontrol->sounds.The fixes from issue #11 partially resolve the issue, making
artsdnot crashing, and making the system a little bit more usable, but desktop notifications still not plays...I also tested by purging and reinstalling all the TDE packages, also removing the old configurations (~/.trinity), the soundserver still crash (as you can see, screen attached).
All the tests were conducted on a clean installation of a Linux Mint 21.2 / Ubuntu 22.04 on a Dell latitude 5520.
Ciao Davide,
I will try to install a clean linux Mint on a VM after I am back from my holiday and see if I can reproduce the same behavior. Will let you know how it goes.
We usually use ninja for building in debian/ubuntu and all the required files are in the tde-packaging repository. There is also a set of scripts available to create your own TDE builds if you wish. Let me know if you want me to point you to those scripts, otherwise you will need to wait till I have the chance to install a limux Mint VM
Ciao Davide,
I downloaded Linux Mint 21.2 Cinnamon edition, did a fresh installation on a new VirtualBox VM (only option I ticked was to installed media drivers). After rebooting, I installed TDE PSB as per instructions on the wiki, only exception I used
aptitudeinstead ofapt-getto installed the required packages (kubuntu-default-settings-trinityandkubuntu-desktop-trinity). Switched to tdm, rebooted and started a TDE session. No other configurations or changes have been done (other than the display size). I opened/opt/trinity/share/sounds/KDE_Startup_1.oggand it played nicely either with TDE or Gnoem applications.I don't have a Dell Latitude, I am on a Lenovo Thinkpad.
If you have the time to test, it may be good if you could do a similar test on a VM as well, to see if the problem is somehow related to your hardware of to something else.
I can confirm this problem on three different Linux desktops, all having been upgraded from Ubuntu 20.04 to 22.04, specs of all cases below.
Audio hardware:
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k6.2.0-31-generic.
libasound2:
libasound2/jammy,now 1.2.6.1-1ubuntu1 amd64 [installed]
Trinity desktop R14.1.0
00:1f.3 Audio device [0403]: Intel Corporation Cannon Point-LP High Definition Audio Controller [8086:9dc8] (rev 11)
Identical installed software
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 04)
Identical installed software.
In all cases, artsd crashes right after desktop startup and keeps being restarted and crashing. Since I don't urgently need arts for work, chmod -x or renaming and linking to /bin/true fixes that.
If helpful, I can install a fresh Ubuntu 22.04 or Mint 21.2 on a USB stick and try it on available hardware instead of in VMs.
Hi @arth_,
thanks for the feedback. Since you are using Ubuntu, are you able to check if using PSB packages the problem does not happen anymore? The fix is part of the upcoming R14.1.1 release.
Hi MicheleC,
I installed a fresh Ubuntu 22.04.3 server (to keep possible dependencies minimal), gdm3 and the suggested PSB packages. artsd doesn't crash in this scenario anymore.
I upgraded to PSB packages on PC #3 (the HP G800 G1) from my previous post, and artsd does no longer crash there, either. I currently use the other two desktops, so I'll upgrade them later and post results, but from the tests above, this seems to have fixed the problem.
Ciao Michele, sorry for the absence.
I hope to find the time to test PSB in those days and give you a feedback soon.
Thanks for your reply!
Thanks to @arth_ too for the tests 👍
Ciao Davide,
no worries, just write back here after you have done a test and let's see is PSB works better for you :-)
Ciao Michele,
I finally tested the PSB, and artsd now works right!
I will waiting for PSB to be merged in the official repo :)
Many thanks for your interest and support!
Good to hear that, Davide.
Next official release should be Oct 29, so you won't have to wait too long.
I just did a first boot and login post-upgrade to 14.1.1 on a Mageia 9, and up popped the artsmessage error window with "Sound server fatal error: cpu overload, aborting."
inxi -ASaz
System:
Kernel: 6.4.16-desktop-3.mga9 arch: x86_64 bits: 64 compiler: gcc v: 12.3.0
clocksource: tsc available: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz
root=LABEL=zd8p21mga9 noresume ipv6.disable=1 net.ifnames=0
radeon.cik_support=0 amdgpu.cik_support=1 consoleblank=0 preempt=full
mitigations=off
Desktop: Trinity info: kicker wm: Twin dm: 1: TDM 2: XDM Distro: Mageia 9
Audio:
Device-1: AMD Kaveri HDMI/DP Audio vendor: ASRock driver: snd_hda_intel
v: kernel bus-ID: 00:01.1 chip-ID: 1002:1308 class-ID: 0403
API: ALSA v: k6.4.16-desktop-3.mga9 status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
status: off 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
I rebooted, and it came right back. :(
I logged out, removed .xsession-errors, logged back in, and:
cat .xsession-errors | wc -l
261
FTR, more rpm distro installations (on real hardware) still arts crashing on login:
# pinxi -ASaz --vs --zl --hostname
pinxi 3.3.31-08 (2023-11-07)
System:
Host: gb970 Kernel: 5.14.21-150500.55.36-default arch: x86_64 bits: 64
compiler: gcc v: 7.5.0 clocksource: tsc available: hpet,acpi_pm
parameters: root=LABEL= ipv6.disable=1 net.ifnames=0 noresume
consoleblank=0 mitigations=off
Desktop: Trinity v: R14.1.1 tk: Qt v: 3.5.0 info: kicker wm: Twin v: 3.0
vt: 7 dm: 1: TDM 2: XDM Distro: openSUSE Leap 15.5
Audio:
Device-1: NVIDIA GF108 High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:0bea class-ID: 0403
API: ALSA v: k5.14.21-150500.55.36-default status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: aRts v: 1.5.10 status: off with: artswrapper status: off
tools: artsbuilder,artsdsp
Server-2: PipeWire v: 0.3.64 status: active with: 1: wireplumber
status: active 2: pipewire-alsa type: plugin tools: pw-cat,pw-cli,wpctl
rpm -qa | egrep 'alsa|arts|audio|demul|gstr|jack|libde2|libx26|mix|mpv|pavu|puls|sof-f|sound|vlc|wire|xdg' | sort
alsa-1.2.8-150500.1.1.x86_64
alsa-firmware-1.2.4-1.41.noarch
alsa-plugins-1.2.7.1-150500.1.1.x86_64
alsa-plugins-speexrate-1.2.7.1-150500.1.1.x86_64
alsa-plugins-upmix-1.2.7.1-150500.1.1.x86_64
alsa-ucm-conf-1.2.8-150500.1.1.noarch
alsa-utils-1.2.8-150500.1.2.x86_64
audiofile-0.3.6-3.7.10.x86_64
gstreamer-1.22.0-150500.3.2.3.x86_64
gstreamer-plugins-base-1.22.0-150500.3.3.1.x86_64
kernel-firmware-sound-20230724-150500.3.6.1.noarch
kpipewire-imports-5.27.4-bp155.1.7.x86_64
kquickcharts-5.102.0-bp155.1.7.x86_64
libasound2-1.2.8-150500.1.1.x86_64
libaudiofile1-0.3.6-3.7.10.x86_64
libde265-0-1.0.12-150500.1.pm.1.x86_64
libgstaudio-1_0-0-1.22.0-150500.3.3.1.x86_64
libgstreamer-1_0-0-1.22.0-150500.3.2.3.x86_64
libgstriff-1_0-0-1.22.0-150500.3.3.1.x86_64
libjack0-1.9.12-150000.3.3.1.x86_64
libKF5Parts5-5.102.0-bp155.1.6.x86_64
libpipewire-0_3-0-0.3.64-150500.3.3.1.x86_64
libportaudio2-190600_20161030-2.39.x86_64
libpulse-mainloop-glib0-15.0-150400.4.2.2.x86_64
libpulse0-15.0-150400.4.2.2.x86_64
libvlc5-3.0.18-bp155.1.12.x86_64
libvlccore9-3.0.18-bp155.1.12.x86_64
libwebrtc_audio_processing1-0.3-1.35.x86_64
libwireplumber-0_4-0-0.4.13-150500.1.2.x86_64
libx264-164-0.164+git20220602.baee400f-150500.1.pm.3.x86_64
libx265-199-3.5-150500.2.pm.5.x86_64
mpv-0.36.0+git20231003.7b8a30fc-lp155.353.6.x86_64
PackageKit-gstreamer-plugin-1.2.4-150400.3.6.1.x86_64
pipewire-0.3.64-150500.3.3.1.x86_64
pipewire-alsa-0.3.64-150500.3.3.1.x86_64
pipewire-modules-0_3-0.3.64-150500.3.3.1.x86_64
pipewire-spa-plugins-0_2-0.3.64-150500.3.3.1.x86_64
pipewire-spa-tools-0.3.64-150500.3.3.1.x86_64
pipewire-tools-0.3.64-150500.3.3.1.x86_64
sof-firmware-2.2.4-150500.1.1.noarch
sound-theme-freedesktop-0.8-150400.12.7.noarch
trinity-arts-1.5.10-14.1.1_1.oss155.x86_64
trinity-artsbuilder-14.1.1-1.oss155.x86_64
trinity-kaudiocreator-14.1.1-1.oss155.x86_64
trinity-kmix-14.1.1-1.oss155.x86_64
trinity-libarts-akode-14.1.1-1.oss155.x86_64
trinity-libarts-audiofile-14.1.1-1.oss155.x86_64
trinity-libarts-mpeglib-14.1.1-1.oss155.x86_64
trinity-libarts-xine-14.1.1-1.oss155.x86_64
trinity-tdemultimedia-14.1.1-1.oss155.x86_64
trinity-tdemultimedia-kappfinder-data-14.1.1-1.oss155.x86_64
trinity-tdemultimedia-kfile-plugins-14.1.1-1.oss155.x86_64
trinity-tdemultimedia-tdeio-plugins-14.1.1-1.oss155.x86_64
vlc-3.0.18-bp155.1.12.x86_64
vlc-noX-3.0.18-bp155.1.12.x86_64
vlc-opencv-3.0.18-bp155.1.12.x86_64
vlc-qt-3.0.18-bp155.1.12.x86_64
wireplumber-0.4.13-150500.1.2.x86_64
wireplumber-audio-0.4.13-150500.1.2.noarch
xdg-menu-0.2-1.23.noarch
xdg-user-dirs-0.18-150500.1.1.x86_64
xdg-utils-1.1.3+20210805-150500.1.1.noarch
yast2-sound-4.5.0-150500.1.5.x86_64
pinxi -ASaz --vs --zl --hostname
pinxi 3.3.31-09 (2023-11-08)
System:
Host: ab560 Kernel: 6.4.16-desktop-1.mga9 arch: x86_64 bits: 64
compiler: gcc v: 12.3.0 clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/boot/vmlinuz root=LABEL= noresume audit=0
ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off
video=1440x900@60 3
Desktop: Trinity info: kicker wm: Twin vt: 7 dm: 1: TDM 2: XDM
Distro: Mageia 9
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel alternate: snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:43c8 class-ID: 0403
API: ALSA v: k6.4.16-desktop-1.mga9 status: kernel-api with: aoss
type: oss-emulator tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.21 status: off tools: jack_control
Server-2: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
status: off 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
rpm -qa | egrep 'alsa|arts|audio|demul|gstr|jack|lib64de2|lib64x26|mix|mpv|pavu|puls|sof-|sound|vlc|wire|xdg'|sort
alsa-firmware-1.2.4-1.mga9
alsa-plugins-config-1.2.7.1-2.mga9
alsa-sof-firmware-2.2.5-1.mga9.nonfree
alsa-tools-1.2.5-2.mga9
alsa-tools-firmware-1.2.5-2.mga9
alsa-utils-1.2.9-1.mga9
alsaconf-1.2.9-1.mga9
audiofile-0.3.6-12.mga9
aumix-text-2.9.1-13.mga9
esound-libs-0.2.41-1.mga6
gstreamer1.0-tools-1.22.3-1.mga9
jackit-1.9.21-3.mga9
kparts-5.105.0-1.mga9
lib64alsa-oss0-1.1.8-3.mga9
lib64alsa-plugins-1.2.7.1-2.mga9
lib64alsa2-1.2.9-1.mga9
lib64audiofile1-0.3.6-12.mga9
lib64de265_0-1.0.11-1.mga9.tainted
lib64gstreamer-plugins-base1.0_0-1.22.3-1.mga9
lib64gstreamer1.0_0-1.22.3-1.mga9
lib64jack0-1.9.21-3.mga9
lib64kf5parts5-5.105.0-1.mga9
lib64pipewire0.3_0-0.3.71-1.mga9
lib64pulseaudio0-16.1-14.mga9
lib64pulsecommon16.1-16.1-14.mga9
lib64pulseglib20-16.1-14.mga9
lib64webrtc-audio-processing1-0.3.1-4.mga9
lib64wireplumber0-0.4.14-1.mga9
lib64x264_157-0.157-0.20191217.stable.3.mga9.tainted
lib64x264_164-0.164-0.20220222.2.mga9.tainted
lib64x265_192-3.4-3.mga9.tainted
lib64zita-alsa-pcmi0-0.6.1-1.mga9
libalsa-data-1.2.9-1.mga9
pavucontrol-qt-1.3.0-1.mga9
pipewire-0.3.71-1.mga9
pipewire-alsa-0.3.71-1.mga9
pipewire-module-x11-0.3.71-1.mga9
pipewire-plugin-jack-0.3.71-1.mga9
pipewire-pulseaudio-0.3.71-1.mga9
pipewire-utils-0.3.71-1.mga9
pipewire-v4l2-0.3.71-1.mga9
pulseaudio-client-config-16.1-14.mga9
pulseaudio-utils-16.1-14.mga9
run-parts-4.8.4-4.mga9
sound-scripts-0.62-23.mga9
sound-theme-freedesktop-0.8-9.mga9
task-pipewire-9-2.mga9
trinity-arts-1.5.10-14.1.1_1.mga9
trinity-kmix-14.1.1-1.mga9
wireless-regdb-20230503-1.mga9
wireplumber-0.4.14-1.mga9
xdg-compliance-1.3.1-4.mga9
xdg-compliance-autostart-1.3.1-4.mga9
xdg-compliance-menu-1.3.1-4.mga9
xdg-user-dirs-0.18-1.mga9
xdg-user-dirs-gtk-0.11-1.mga9
xdg-utils-1.1.3-10.mga9
Switching this one in TDE Control Module to ALSA froze the module, and blocked logging out until the crash window for tdecmshell popped up with signal 6. On next login, popup gave option to disable arts. I chose yes, which had no apparent effect - artsmessage sound server fatal error cpu overload aborting still pops up.
How do I isolate what's different between these and those that don't have the problem?
Are the machine the same in terms of hardware and configuration? If not, I would compare and look for differences between the two setup.