[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351930: marked as done (libqt4-sql: program segfaults on connection to MySQL)



Your message dated Fri, 10 Feb 2006 18:11:39 +0100
with message-id <43ECC94B.6090603@debian.org>
and subject line Bug#351930: bug solved in Qt4.1.1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libqt4-sql
Version: 4.1.0-3
Severity: important







-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libqt4-sql depends on:
ii  libc6                         2.3.5-12.1 GNU C Library: Shared libraries an
ii  libfontconfig1                2.3.2-1.1  generic font configuration library
ii  libgcc1                       1:4.0.2-8  GCC support library
ii  libmysqlclient15              5.0.18-7   mysql database client library
ii  libpq4                        8.1.2-1    PostgreSQL C client library
ii  libqt4-core                   4.1.0-3    Qt 4 core non-GUI functionality ru
ii  libsqlite0                    2.8.16-1   SQLite shared library
ii  libstdc++6                    4.0.2-8    The GNU Standard C++ Library v3
ii  zlib1g                        1:1.2.3-9  compression library - runtime

libqt4-sql recommends no packages.

Hello all, my qt4 program segfaults since I upgraded libmysql on sid, it displays some mysql data in a qtableview, I had some doubt weather it was my code or the lib so i did a test program that display mysql users in a qtableview and it does segfault all the time. here it is  http://p80.free.fr/basicmysql.tar.bz2
 Here is the gdb backtrace:
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread -1226066240 (LWP 4654)]
 0xb741869c in mysql_stmt_fetch () from /usr/lib/libmysqlclient.so.15
 (gdb) bt
 #0  0xb741869c in mysql_stmt_fetch () from
 /usr/lib/libmysqlclient.so.15
 #1  0xb7e64a4e in QMYSQLDriver::QMYSQLDriver () from
 /usr/lib/libQtSql.so.4
 #2  0xb7e4a43b in QSqlQuery::seek () from /usr/lib/libQtSql.so.4
 #3  0xb7eaf55b in QSqlQueryModel::data () from /usr/lib/libQtSql.so.4
 #4  0xb7d16f6a in QItemDelegate::paint () from /usr/lib/libQtGui.so.4
 #5  0xb7d045cb in QTableView::paintEvent () from /usr/lib/libQtGui.so.4
 #6  0xb7a14c19 in QWidget::event () from /usr/lib/libQtGui.so.4
 #7  0xb7c177c4 in QFrame::event () from /usr/lib/libQtGui.so.4
 #8  0xb7c8fa6e in QAbstractScrollArea::viewportEvent () from
 /usr/lib/libQtGui.so.4
 #9  0xb7ce59c2 in QAbstractItemView::viewportEvent () from
 /usr/lib/libQtGui.so.4
 #10 0xb7c8e5b1 in QAbstractScrollArea::horizontalScrollBar () from
 /usr/lib/libQtGui.so.4
 #11 0xb79d18a4 in QApplicationPrivate::notify_helper () from
 /usr/lib/libQtGui.so.4
 #12 0xb79d2858 in QApplication::notify () from /usr/lib/libQtGui.so.4
 #13 0xb7a1ddee in QApplicationPrivate::openPopup () from
 /usr/lib/libQtGui.so.4
 #14 0xb7af3b13 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #15 0xb7af438e in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #16 0xb7af4245 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #17 0xb7af4245 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #18 0xb7af3850 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #19 0xb7af438e in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #20 0xb7af3850 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #21 0xb7af438e in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #22 0xb7af3850 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #23 0xb7af438e in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #24 0xb7af3850 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #25 0xb7af438e in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #26 0xb7af3850 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #27 0xb7af438e in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #28 0xb7af3850 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #29 0xb7af47d6 in QWidgetPrivate::drawWidget () from
 /usr/lib/libQtGui.so.4
 #30 0xb7af4d74 in QWidget::repaint () from /usr/lib/libQtGui.so.4
 #31 0xb7a1445c in QWidget::event () from /usr/lib/libQtGui.so.4
 #32 0xb7c8fa52 in QAbstractScrollArea::viewportEvent () from
 /usr/lib/libQtGui.so.4
 #33 0xb7ce59c2 in QAbstractItemView::viewportEvent () from
 /usr/lib/libQtGui.so.4
 #34 0xb7c8e5b1 in QAbstractScrollArea::horizontalScrollBar () from
 /usr/lib/libQtGui.so.4
 #35 0xb79d18a4 in QApplicationPrivate::notify_helper () from
 /usr/lib/libQtGui.so.4
 #36 0xb79d2858 in QApplication::notify () from /usr/lib/libQtGui.so.4
 #37 0xb788143d in QCoreApplication::sendPostedEvents () from
 /usr/lib/libQtCore.so.4
 #38 0xb7a39701 in non-virtual thunk to
 QDesktopWidget::~QDesktopWidget() () from /usr/lib/libQtGui.so.4
 #39 0xb787ea14 in QEventLoop::processEvents () from
 /usr/lib/libQtCore.so.4
 #40 0xb787ec66 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
 #41 0xb7881601 in QCoreApplication::exec () from
 /usr/lib/libQtCore.so.4
 #42 0xb79d15c7 in QApplication::exec () from /usr/lib/libQtGui.so.4
 #43 0x0804dc76 in main ()
(sorry about my previous report, I think I messed up with reportbug, hope it's ok this time)

-- no debconf information


--- End Message ---
--- Begin Message ---
Patrick Aljord wrote:
> Hey all,
> I asked on qtcentre.org and after some investigation 
> http://www.qtcentre.org/forum/showthread.php?p=3569 we figured it was
> a Qt bug. So I compiled Qt4.1.1 snapshot and it solved my problem, no
> more segfault now. So I guess this bug can be closed as it's been
> solved and as it wasn't a Debian bug in the first place :)
> 

So, closing the bug...

Cheers

Luk

-- 
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint:   D5AF 25FB 316B 53BB 08E7   F999 E544 DE07 9B7C 328D

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply to: