[Kde-bindings] smoke generator: a bug in abstract methods

Petr Vanek petr at scribus.info
Wed Oct 14 14:45:47 UTC 2009


hi all,

can you confirm/reject my observations, please?

We have some serious crashes in our bindings since we are using new  
smoke generator. After days of debugging of insane-unrelated-like code  
and traceback we discovered something strange:

- look into smoke/qt build directory (where are x_*.cpp files located)
- grep "callMethod(0," *cpp
- lots of lines are found

I think it's a bug, just because 0, the index to methods, in this case  
always points to QAbstractButton::metaObject() method - see static  
Smoke::Method methods array.

Note: we discovered it in our example for x_QImage::paintEngine smoke  
implementation

looking for quick reaction,
petr




More information about the Kde-bindings mailing list