Bug 498977 - Kasts crashes on startup in OpenSUSE Tumbleweed
Summary: Kasts crashes on startup in OpenSUSE Tumbleweed
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kasts
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.12.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-21 20:34 UTC by ally76
Modified: 2025-02-09 20:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
backtrace (65.09 KB, text/plain)
2025-01-21 20:34 UTC, ally76
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ally76 2025-01-21 20:34:39 UTC
Created attachment 177571 [details]
backtrace

***
I installed Kasts on OpenSUSE Tumbleweed 20250119 from its standard repository. Since the first start attempt, Kasts crashes on startup. When I start it from konsole, it throws:

Database version 10
KCrash: Application 'kasts' crashing... crashRecursionCounter = 2
Illegal access to memory (SIGSEGV) (core dumped ...)

When running with gdp:

gdb /usr/bin/kasts
GNU gdb (GDB; openSUSE Tumbleweed) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/kasts...
Reading symbols from /usr/lib/debug/usr/bin/kasts.debug...
(gdb) run
Starting program: /usr/bin/kasts 

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
[Thread debugging using libthread_db enabled]                                                                                       
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff1bff6c0 (LWP 60915)]
[New Thread 0x7fffeabff6c0 (LWP 60916)]
[New Thread 0x7fffe21ff6c0 (LWP 60917)]
[New Thread 0x7fffea3fe6c0 (LWP 60924)]
[New Thread 0x7fffe9bfd6c0 (LWP 60925)]
[New Thread 0x7fffe93fc6c0 (LWP 60926)]
[New Thread 0x7fffe8ba66c0 (LWP 60927)]
[New Thread 0x7fffe3fff6c0 (LWP 60928)]
[New Thread 0x7fffe37fe6c0 (LWP 60929)]
[Thread 0x7fffe37fe6c0 (LWP 60929) exited]
[Thread 0x7fffe3fff6c0 (LWP 60928) exited]
[Thread 0x7fffe8ba66c0 (LWP 60927) exited]
[Thread 0x7fffe93fc6c0 (LWP 60926) exited]
[New Thread 0x7fffe93fc6c0 (LWP 60930)]
[New Thread 0x7fffe8ba66c0 (LWP 60931)]
[New Thread 0x7fffe3fff6c0 (LWP 60932)]
[New Thread 0x7fffe37fe6c0 (LWP 60933)]
[New Thread 0x7fffe19fe6c0 (LWP 60934)]
[Thread 0x7fffe19fe6c0 (LWP 60934) exited]
[Thread 0x7fffe37fe6c0 (LWP 60933) exited]
[Thread 0x7fffe3fff6c0 (LWP 60932) exited]
[Thread 0x7fffe8ba66c0 (LWP 60931) exited]
Database version 10

Thread 1 "kasts" received signal SIGSEGV, Segmentation fault.
0x00007ffff71faa90 in libvlc_set_user_agent (p_i=0x0, name=0x5555557ffc78 <QByteArray::_empty> "", 
    http=0x5555557ffc78 <QByteArray::_empty> "") at /usr/src/debug/vlc-3.0.21/lib/core.c:140
140         var_SetString (p_libvlc, "user-agent", name);

***

SUMMARY
Kasts crashes on startup

STEPS TO REPRODUCE
1. Install kasts in OpenSUSE Tumbleweed
2. Start Kasts

OBSERVED RESULT
Segmentation fault

EXPECTED RESULT
Application starts

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: OpenSUSE Tumbleweed 20250119
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
backtrace attached, it is too long to paste here
Comment 1 bart 2025-01-26 09:39:42 UTC
I don't know what's going on here.  The backtrace shows that it's crashing on the startup of the VLC backend.  It doesn't seem to be able to find the user-agent string to be used for streaming.  This is very weird because that string is a constant string that's being passed here.  I don't see how this could ever lead to a segmentation fault.
That version of Kasts and that version of VLC seem to work for all other distros, so maybe it's good to report this downstream to suse tumbleweed.  The distro maintainers might be better aware of e.g. breaking changes.  Could you report it downstream instead?
Comment 2 ally76 2025-02-09 10:51:33 UTC
Ok, I've reported it here: https://bugzilla.opensuse.org/show_bug.cgi?id=1236935
I believe you can close the bug here.
Comment 3 bart 2025-02-09 20:51:43 UTC
Ok, thanks.
Feel free to reopen if it turns out not to be distro-related.