[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Workaround / fix for "could not create shader" issue with QtQuick on linux (causes all Qt
From: Russell Warren <russ () perspexis ! com>
Date: 2014-01-28 18:39:54
Message-ID: CAD91c17Tgn41COgGtMrQWc-VpHg9yQ1TmVXMO3H0wtJUx7-EXQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
>
> Given the C++ version does load libdbus (not necessarily linked against
> it) is it possible to find out where the dependency happens?
The dependency is the very first system call made inside app.exec(). I
can't go any deeper at the moment.
I added some bogus file access attempts as markers and ran an strace. The
relevant code marker:
fp = fopen("/bogus9", "rb");
return app.exec();
The relevant (unfiltered) strace output which shows the very first access
to libdbus:
open("/bogus9", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/home/russ/Qt/5.2.0/gcc_64/lib/libdbus-1.so.3", O_RDONLY) = -1 ENOENT
(No such file or directory)
Russ
>
[Attachment #5 (text/html)]
<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Given \
the C++ version does load libdbus (not necessarily linked against it) is it possible \
to find out where the dependency happens?</blockquote>
<div><br></div><div>The dependency is the very first system call made inside \
app.exec(). I can't go any deeper at the moment.</div><div><br></div><div><div>I \
added some bogus file access attempts as markers and ran an strace. The relevant \
code marker:</div>
<div><br></div><div><div><font face="courier new, monospace"> fp = \
fopen("/bogus9", "rb");</font></div><div><font face="courier new, \
monospace"> return app.exec();</font></div></div><div><br></div>
</div><div>The relevant (unfiltered) strace output which shows the very first access \
to libdbus:<br></div><div><br></div><div><div><div>open("/bogus9", \
O_RDONLY) = -1 ENOENT (No such file or directory)</div>
<div>open("/home/russ/Qt/5.2.0/gcc_64/lib/libdbus-1.so.3", O_RDONLY) = -1 \
ENOENT (No such file or \
directory)</div></div><div><br></div></div><div>Russ</div><div><br></div><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
</blockquote></div>
</div>
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic