https://bugs.kde.org/show_bug.cgi?id=473648

--- Comment #10 from Marco Mattiolo <marco.matti...@hotmail.it> ---
(In reply to bart from comment #8)
> About your original issue: I'm afraid that this is a qt5-multimedia bug that
> I can't do anything about myself.  Since the transition to qt6 is very
> close, I'm not going to chase this upstream for now.  If the same bug is
> still there in qt6, I might do so in due time.

Yeah, that's agreed and understood, that's why I'm trying to build kasts with
libvlc support. Sadly, I'm getting a segmentation fault (both on the Pinephone
and in x86_64 virtual machine on my PC): could you please take a look at the
backtrace hereunder?
I guess the problem lies in libvlc.so.5 but before going down the rabbit hole,
I will wait for your check that there's nothing wrong in how Kasts is handling
this...


mobian@mobian:~/Downloads$ gdb /usr/bin/kasts 
GNU gdb (Debian 13.2-1) 13.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-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/d--Type <RET> for more, q to quit, c to
continue without paging--
ocumentation/>.

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/.build-id/d5/8fb2d0992506026b1c6ca7a52cf18c75d85106.debug...
(gdb) run
Starting program: /usr/bin/kasts 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff16b36c0 (LWP 20852)]
[New Thread 0x7fffe8eb26c0 (LWP 20853)]
[New Thread 0x7ffff0eb26c0 (LWP 20854)]
Activating WAL mode on database: ok
Database version 0
Migrating database to version 1
Migrating database to version 2
Migrating database to version 3
Migrating database to version 4
Migrating database to version 5
Migrating database to version 6
Migrating database to version 7
Migrating database to version 8; this can take a while
[New Thread 0x7fffeba056c0 (LWP 20855)]
[New Thread 0x7fffeb2046c0 (LWP 20856)]

Thread 1 "kasts" received signal SIGSEGV, Segmentation fault.
0x00007ffff6cf50e8 in libvlc_set_user_agent ()
   from /lib/x86_64-linux-gnu/libvlc.so.5
(gdb) bt
#0  0x00007ffff6cf50e8 in libvlc_set_user_agent
    () from /lib/x86_64-linux-gnu/libvlc.so.5
#1  0x00007ffff7d8e2aa in VlcMediaBackend::VlcMediaBackend
(this=this@entry=0x555555741470, 
    parent=parent@entry=0x55555573cd10)
    at ./src/kmediasession/mediabackends/vlcmediabackend.cpp:100
#2  0x00007ffff7d7726a in KMediaSession::setCurrentBackend
(this=0x55555573cd10, 
    backend=KMediaSession::Vlc)
    at ./src/kmediasession/kmediasession.cpp:305
#3  0x00007ffff7d77eb8 in KMediaSession::KMediaSession
(this=this@entry=0x55555573cd10, 
    playerName=..., desktopEntryName=..., 
    parent=parent@entry=0x0)
    at ./src/kmediasession/kmediasession.cpp:66
#4  0x00005555555c1d16 in AudioManagerPrivate::AudioManagerPrivate
(this=0x55555573cd10)
    at ./src/audiomanager.cpp:25
#5  std::make_unique<AudioManagerPrivate> ()
    at /usr/include/c++/12/bits/unique_ptr.h:1065
#6  AudioManager::AudioManager (
    this=this@entry=0x55555567f3e0 <AudioManager::instance()::_instance>, 
    parent=parent@entry=0x0)
    at ./src/audiomanager.cpp:56
#7  0x0000555555580156 in AudioManager::instance
    () at ./src/audiomanager.h:56
--Type <RET> for more, q to quit, c to continue without paging--
#8  main (argc=<optimized out>, 
    argv=<optimized out>) at ./src/main.cpp:162
(gdb)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to