cross-thread access to qt widgets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kde4bindings (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Here is sample code:
#v+
using Qyoto;
class Dupa:QWidget
{
QGridLayout layout=new QGridLayout();
public Dupa()
{
{
}
}
static void Main(string[] args)
{
new QApplication(args);
new Dupa();
}
}
#v-
Compilation method: gmcs -r:/usr/
And here is the result of executing `mono dupa.exe':
#v+
ASSERT failure in QCoreApplicatio
Stacktrace:
at (wrapper managed-to-native) Qyoto.SmokeInvo
at (wrapper managed-to-native) Qyoto.SmokeInvo
at Qyoto.SmokeInvo
at Qyoto.QLabel.
at (wrapper runtime-invoke) System.
Native stacktrace:
/usr/bin/cli [0x8194ca6]
/usr/bin/cli [0x8177154]
[0xffffe440]
/lib/tls/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
[0xb7072c1c]
[0xb7071b3e]
[0xb503603e]
[0xb79890db]
/usr/bin/cli [0x8176f50]
/usr/bin/
/usr/bin/cli [0x80cacfe]
/usr/bin/cli [0x813ff70]
/usr/bin/cli [0x80ca4c1]
/usr/bin/cli [0x80caed2]
/usr/bin/cli [0x80e92fb]
/usr/bin/cli [0x81316ad]
/usr/bin/cli [0x814ab16]
/lib/tls/
/lib/tls/
ASSERT: "q->testAttribu
#v-
IMO this isn't normal behaviour and should be repaired in some way.
also happens to me - ubuntu 8.04 (probably since I installed kde4 packages, but I'm not too sure about this)...