Gregor Mückl wrote:
> reproducable. A VM crash log is attached. The code for my derived class can 
> be 
> found here:
>   

I can tell from your crash log that you are running KDE 4, and you are 
mixing your own Qt libraries with the ones from KDE in the same 
application. I would expect this to cause a crash at some point. Could 
you try running against a clean environment to check if that fixes the 
crash? Search the log file for "libQt" and see if any of them reside in 
the KDE distribution to verify.

> A second, maybe related issue that appeared during my upgrade of Jambi is 
> that 
> the items in the QGraphicsView are no longer visible. However, I get these 
> messages with the old and new version:
>
> QtJambiTypeManager::convertInternalToExternal: Cannot convert to type 
> 'com/trolltech/qt/gui/QGraphicsItem$ConcreteWrapper' from 'QGraphicsItem*'
>   

I'm not sure if this is related, but it might be. Mixing different 
versions of the libraries can have very random effects due to e.g. 
memory corruption. If you have code that reproduces the problem, I can 
try it out here.

> My guess is that my code does not use the graphics view correctly, but I 
> don't 
> know in what way. Any ideas?
>   


It's not your problem in this case, but I just wanted to mention, in 
case you weren't aware of it, that if the garbage collector collects 
your graphics view object, you will get an exception because disposed() 
is called from the gc thread, and setScene() can only be called from the 
GUI thread. As long as you explicitly dispose your view in the correct 
thread (which I assume you are doing) this problem will not occur.

-- Eskil

_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to