[webkit-qt] Benjamin Poulain <benjamin at webkit.org>
Murali M
murali248641 at gmail.com
Tue Aug 12 23:04:07 PDT 2014
Any body tried qt application under jailing circumstance.
Need suggestions for below issue(I am using qt4.8 for TV platforms).
We are launching the qtApplication in a process. Now process is
jailed(using chroot).
Memory corruption occurred in the time of dlopen(platform.so) after jailing.
Example:
process main()
{
mount "proc, sys, dev in /var/tt(chroot directory)"
chroot("/var/tt");
qtthread_create();
}
qtthread_create()
{
create_thread_for_qt_app using pthread apis(qtMainThread);
stack size is 256K;
}
qtMainThread()
{
Printing stack size for qtMainThread(current thread) its displayed
currently(256K).
QApplication class creation(QApplication app).
Printing stack size for qtMainThread(current thread) its displayed
wrongly(junk value).
app.exec();
}
QApplication call trying load the platform.so using dlopen inside qt
library. In that case stack size displayed wrongly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-qt/attachments/20140813/e02025b8/attachment-0001.html>
More information about the webkit-qt
mailing list