PDA

View Full Version : QByteArray problem while debugging application with static library under linux ubuntu



addu
4th November 2009, 08:45
Hi

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