View Single Post
Posts: 306 | Thanked: 603 times | Joined on Jan 2012 @ Belgium
#31
Originally Posted by freemangordon View Post
@DavyP - can't believe how fast is opera, thanks a lot man. There is a little problem though - JVM segfaults on exit.

EDIT:
segfault happens only when started under root account.
I can explain the segfaults. phoneME was never meant to be
compiled as a library. I did so anyway to simplify the compilation
process, and created a frontend application in Qt4 that:
1) dynamically loads this library through dlopen()
2) uses dlsym() to find cvm's original main() method
3) starts a new thread and
4) calls the original cvm's main() method

The thing is that the either the Qt4 frontend or the cvm's thread
can clean up and call exit() while the other part is still busy,
causing a segfault. This should not happen while the application
is running, only when you end the application.

Not sure though why this only happens under root.

Davy
 

The Following 4 Users Say Thank You to DavyP For This Useful Post: