[Qt-interest] QT Application plugin crashing ...
Bruno Seabra Lima
bslima at telemidia.puc-rio.br
Sun Jan 23 07:25:26 CET 2011
I've tried this ... but it doesnt help
threds are in the same fork process ..
i think the only away to achieve this is
by placing the plugin in separate Process.
I started read the QProcess class, but is going to need to remodel a lot of
things.
Maybe in the future the QtPlugin mechanism should be process spawed ...
thanks anyway :D
Bruno Seabra Mendonça Lima
--------------
Bacharel em Ciência da Computação - UFMA
Mestrando da PUC-Rio
Pesquisador Laboratório Telemidia (PUC-Rio)
Pesquisador Colaborador LAWS (UFMA)
Pesquisador/Desenvolvedor Intacto Software
-------------
www.bslima.com
On Sun, Jan 23, 2011 at 2:00 AM, Mandeep Sandhu <mandeepsandhu.chd at gmail.com
> wrote:
> > My main question is:
> > - If a loaded plugin crashes, it consequently crashes the application
> that
> > loaded it ?
>
> Yes.
>
> > * If yes, is it possible to work around that problem without using
> separate
> > process ?
>
> Since plugins are shared libraries, any crash in the plugin will cause
> the application using it, to crash as well (since they are in a single
> process address space).
>
> I haven't tried this but maybe running your plugin in a separate
> thread might help?
>
> -mandeep
>
> > Thanks in advance for the help
> >
> > Bruno Seabra Mendonça Lima
> > --------------
> > Bacharel em Ciência da Computação - UFMA
> > Mestrando da PUC-Rio
> > Pesquisador Laboratório Telemidia (PUC-Rio)
> > Pesquisador Colaborador LAWS (UFMA)
> > Pesquisador/Desenvolvedor Intacto Software
> > -------------
> > www.bslima.com
> >
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at qt.nokia.com
> > http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110123/37d54541/attachment.html
More information about the Qt-interest-old
mailing list