QT build of mozilla-central pass on Ubuntu 8.04 with QT4.5.0 Mozembed-QT build pass, too.
BUT ./testqmozembed has a seg fault. Any suggestions/hints will be of great appreciation. ================================= //GDB outputs showing the seg fault: Breakpoint 3, InitEmbedding (aProfilePath=0x0, aComps=0x0, aNumComps=0) at ../common/EmbeddingSetup.cpp:273 273 if (sProfileDir && !sProfileLock) { (gdb) l 268 if (!dirExists) { 269 sProfileDir->Create(nsIFile::DIRECTORY_TYPE, 0700); 270 } 271 272 // Lock profile directory 273 if (sProfileDir && !sProfileLock) { 274 rv = XRE_LockProfileDirectory(sProfileDir, &sProfileLock); 275 NS_ENSURE_SUCCESS(rv, rv); 276 } 277 (gdb) bt #0 InitEmbedding (aProfilePath=0x0, aComps=0x0, aNumComps=0) at ../ common/EmbeddingSetup.cpp:273 #1 0x08050fce in MozView (this=0x80c00d8) at ../common/embed.cpp:264 #2 0x0804ec22 in Private (this=0x80c00d8, aQMozView=0x80c3b50) at QMozView.cpp:68 #3 0x0804e696 in QMozView (this=0x80c3b50, parent=0xbfce2f70, flags=0) at QMozView.cpp:128 #4 0x0804cb49 in MyQMozView (this=0x80c3b50, parent=0xbfce2f70, flags=0) at test.cpp:50 #5 0x0804cc99 in MyBrowser (this=0xbfce2f70, parent=0x0, flags=0) at test.cpp:70 #6 0x0804d026 in main (argc=1, argv=0xbfce3044) at test.cpp:131 (gdb) n 274 rv = XRE_LockProfileDirectory(sProfileDir, &sProfileLock); (gdb) s nsCOMPtr<nsILocalFile>::operator nsILocalFile* (this=0x8069e04) at /home/myname/fun/gecko/qtxul/dist/bin//../include/nsCOMPtr.h: 790 790 return get(); (gdb) bt #0 nsCOMPtr<nsILocalFile>::operator nsILocalFile* (this=0x8069e04) at /home/myname/fun/gecko/qtxul/dist/bin//../include/nsCOMPtr.h: 790 #1 0x080546a8 in InitEmbedding (aProfilePath=0x0, aComps=0x0, aNumComps=0) at ../common/EmbeddingSetup.cpp:274 #2 0x08050fce in MozView (this=0x80c00d8) at ../common/embed.cpp:264 #3 0x0804ec22 in Private (this=0x80c00d8, aQMozView=0x80c3b50) at QMozView.cpp:68 #4 0x0804e696 in QMozView (this=0x80c3b50, parent=0xbfce2f70, flags=0) at QMozView.cpp:128 #5 0x0804cb49 in MyQMozView (this=0x80c3b50, parent=0xbfce2f70, flags=0) at test.cpp:50 #6 0x0804cc99 in MyBrowser (this=0xbfce2f70, parent=0x0, flags=0) at test.cpp:70 #7 0x0804d026 in main (argc=1, argv=0xbfce3044) at test.cpp:131 (gdb) n Program received signal SIGSEGV, Segmentation fault. 0x090ea4a6 in ?? () ====================================== _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding