[Qt-interest] QByteArray problem while debugging application with static library under linux ubuntu

Yuvaraj R yuvaraj at ongobiz.com
Wed Nov 4 08:42:04 CET 2009


Hi List

I have created my application with sip

I have used  static libraries

When i am debugging my application ,it is going to crash

It showing error at QByteArray file and QBasicAtomincInt

*In qbytearrat.h file at line 3*

inline QByteArray::~QByteArray() { if (!d->ref.deref()) qFree(d); }inline
bool--


*in qbasicAtomicInt.h at line 130*

QBasicAtomicInt::deref()
{
        unsigned char ret;
    asm volatile("lock\n"
                 "decl %0\n"
                 "setne %1"
                 : "=m" (_q_value), "=qm" (ret)
                 : "m" (_q_value)
                 : "memory");
    return ret != 0;
}

If i don't use the static libs in my application it is working fine .Please
help to solve this issue .

Thanks


Yuvaraj R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091104/72326e12/attachment.html 


More information about the Qt-interest-old mailing list