[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyQt] Sql Model Segfault
From: Linos <info () linos ! es>
Date: 2007-10-26 15:49:35
Message-ID: 47220C8F.6060101 () linos ! es
[Download RAW message or body]
Hello all,
i have a segmentation fault when i close the dialog i am using to test my sql model \
(using qdialog.accept in a button or exiting with escape i have the same error), i \
have compiled pyqt and qt with debug support and i have this with gdb:
----------------------------------------------------------------------------------------
This GDB was configured as "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run
Starting program: /usr/bin/python /home/skuda/Desktop/trunk/listviewtablemodel.py
[Thread debugging using libthread_db enabled]
[New Thread 0xb7cf36c0 (LWP 11172)]
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
0 255
QSqlDatabasePrivate::removeDatabase: connection 'maxdb' is still in use, all queries \
will cease to work.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7cf36c0 (LWP 11172)]
0xb6111c0f in QODBCPrivate::isStmtHandleValid (this=0x81da880,
driver=0x81b91c0) at ../../../sql/drivers/odbc/qsql_odbc.cpp:146
146 bool QODBCPrivate::isStmtHandleValid(const QSqlDriver *driver)
Current language: auto; currently c++
----------------------------------------------------------------------------------------
the only operation i am doing is a select in the model, i load the data in a list of \
python objects, i can view all the data in the table without problem but when i close \
the dialog i get this error, what can be the problem?
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic