[webkit-qt] Need suggestion for Memory corruption in dlopen(platform.so) after jailing
Murali M
murali248641 at gmail.com
Wed Aug 13 01:44:05 PDT 2014
On Wed, Aug 13, 2014 at 11:34 AM, Murali M <murali248641 at gmail.com> wrote:
>
> 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/8aec2a67/attachment.html>
More information about the webkit-qt
mailing list