[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kaffeine] [Bug 351774] --no-xlib" to libvlc_new() error when watching tv
From:       Potomac <mister.freeman () laposte ! net>
Date:       2015-09-01 17:21:36
Message-ID: bug-351774-17878-PofB52DVQY () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #10 from Potomac <mister.freeman@laposte.net> ---
Created attachment 94325
  --> https://bugs.kde.org/attachment.cgi?id=94325&action=edit
adding XInitThreads(), #include <X11/Xlib.h> and a link to X11 library

I did your modifications ( adding XInitThreads(), #include <X11/Xlib.h> ), I
had to add a link to X11 library in /src/kaffeine/src/CMakeLists.txt,

I put these modification in a patch ( see the attachment ),

it solves the error message related to libvlc, but there are some problems :

- at start I can see the image for a channel,
- but it's impossible to change a channel, I get a black screen,
- randomly the CPU usage can be very high ( 56% instead of 5% )
- when I close kaffeine I get a crash, a segmentation error :

Application: Kaffeine (kaffeine), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb761d6d780 (LWP 5157))]

Thread 2 (Thread 0x7fb74c3c2700 (LWP 5160)):
#0  0x00007fb75d99518d in poll () from /usr/lib/libc.so.6
#1  0x00007fb75a00ec7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fb75a00ed8c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#3  0x00007fb75f3fb876 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#4  0x00007fb75f3c9dd1 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#5  0x00007fb75f3ca145 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x00007fb75f2b8849 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007fb75f3a9f23 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007fb75f2bb13c in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007fb75f0194a4 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fb75d99e12d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fb761d6d780 (LWP 5157)):
[KCrash Handler]
#6  0x00007fb75f01bac4 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
#7  0x00007fb7607e09e7 in XrmDestroyDatabase () from /usr/lib/libX11.so.6
#8  0x00007fb7607c80ef in _XFreeDisplayStructure () from /usr/lib/libX11.so.6
#9  0x00007fb7607b5c8f in XCloseDisplay () from /usr/lib/libX11.so.6
#10 0x00007fb75e54d58a in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007fb75e4dc46f in QApplication::~QApplication() () from
/usr/lib/libQtGui.so.4
#12 0x000000000042256e in ?? ()
#13 0x00007fb75d8d5610 in __libc_start_main () from /usr/lib/libc.so.6
#14 0x0000000000422659 in _start ()

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic