Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260485 - net-irc/quassel: random quasselcore crashes with with sqlite[-threadsafe]
Summary: net-irc/quassel: random quasselcore crashes with with sqlite[-threadsafe]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-27 10:01 UTC by Martin Berkemeier
Modified: 2009-02-28 23:20 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Berkemeier 2009-02-27 10:01:22 UTC
When compiled net-irc/quassel with server-flag it depends on qt-sql with sqlite use-flag.
When compiled sqlite without threadsafe use-flag the quasselcore crashed randomly after a while.



Reproducible: Sometimes




The Quassel-Crash-*.log states:
Quassel IRC: 0.4.0
#  0 quasselcore          0x00000760eef5975f Quassel::logBacktrace(QString const&)
#  1 quasselcore          0x00000760eef32ff4 Quassel::handleSignal(int)
#  2 libc.so.6            0x000076a2f92612c0 0x0000000000000000
#  3 libsqlite3.so.0      0x000076a2f6822f62 0x0000000000000000
#  4 libsqlite3.so.0      0x000076a2f6823250 0x0000000000000000
#  5 libsqlite3.so.0      0x000076a2f6823528 0x0000000000000000
#  6 libsqlite3.so.0      0x000076a2f6822d02 0x0000000000000000
#  7 libsqlite3.so.0      0x000076a2f6823a2e 0x0000000000000000
#  8 libsqlite3.so.0      0x000076a2f6825996 0x0000000000000000
#  9 libsqlite3.so.0      0x000076a2f6826f27 0x0000000000000000
# 10 libsqlite3.so.0      0x000076a2f6842a4e 0x0000000000000000
# 11 libsqlite3.so.0      0x000076a2f686ab03 0x0000000000000000
# 12 libsqlite3.so.0      0x000076a2f685d258 sqlite3_step
# 13 libqsqlite.so        0x000076a2f6a92e01 QSQLiteResultPrivate::fetchNext(QVector<QVariant>&, int, bool)
# 14 libqsqlite.so        0x000076a2f6a9373b QSQLiteResult::exec()
# 15 libQtSql.so.4        0x000076a2f9d86bad QSqlQuery::exec()
# 16 quasselcore          0x00000760eee92a50 SqliteStorage::safeExec(QSqlQuery&, int)
# 17 quasselcore          0x00000760eee92af0 SqliteStorage::safeExec(QSqlQuery&, int)
# 18 quasselcore          0x00000760eee99e5c SqliteStorage::logMessage(Message)
# 19 quasselcore          0x00000760eeeb735a CoreSession::recvMessageFromServer(Message::Type, BufferInfo::Type, QString, QString, QString, QFlags<Message::Flag>)
# 20 quasselcore          0x00000760eeecf61e CoreSession::qt_metacall(QMetaObject::Call, int, void**)
# 21 libQtCore.so.4       0x000076a2fa746c86 QMetaObject::activate(QObject*, int, int, void**)
# 22 quasselcore          0x00000760eeecdd12 CoreNetwork::displayMsg(Message::Type, BufferInfo::Type, QString, QString, QString, QFlags<Message::Flag>)
# 23 quasselcore          0x00000760eeece5c8 CoreNetwork::qt_metacall(QMetaObject::Call, int, void**)
# 24 libQtCore.so.4       0x000076a2fa746c86 QMetaObject::activate(QObject*, int, int, void**)
# 25 quasselcore          0x00000760eeeccc80 BasicHandler::displayMsg(Message::Type, BufferInfo::Type, QString, QString, QString, QFlags<Message::Flag>)
# 26 quasselcore          0x00000760eeed03be BasicHandler::displayMsg(Message::Type, QString, QString, QString, QFlags<Message::Flag>)
# 27 quasselcore          0x00000760eeee8aa6 CtcpHandler::parse(Message::Type, QString const&, QString const&, QByteArray const&)
# 28 quasselcore          0x00000760eeeefed8 IrcServerHandler::handlePrivmsg(QString const&, QList<QByteArray> const&)
# 29 quasselcore          0x00000760eef03013 IrcServerHandler::qt_metacall(QMetaObject::Call, int, void**)
# 30 quasselcore          0x00000760eeed1dc3 BasicHandler::handle(QString const&, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument)
# 31 quasselcore          0x00000760eeeffb5d IrcServerHandler::handleServerMsg(QByteArray)
# 32 quasselcore          0x00000760eeedd65b CoreNetwork::socketHasData()
# 33 quasselcore          0x00000760eeecdf90 CoreNetwork::qt_metacall(QMetaObject::Call, int, void**)
# 34 libQtCore.so.4       0x000076a2fa746c86 QMetaObject::activate(QObject*, int, int, void**)
# 35 libQtNetwork.so.4    0x000076a2fa3a2fd7 QSslSocket::qt_metacall(QMetaObject::Call, int, void**)
# 36 libQtCore.so.4       0x000076a2fa746c86 QMetaObject::activate(QObject*, int, int, void**)
# 37 libQtNetwork.so.4    0x000076a2fa38f177 QAbstractSocketPrivate::canReadNotification()
# 38 libQtNetwork.so.4    0x000076a2fa382911 QReadNotifier::event(QEvent*)
# 39 libQtCore.so.4       0x000076a2fa738f34 QCoreApplicationPrivate::notify_helper(QObject*, QEvent*)
# 40 libQtCore.so.4       0x000076a2fa738f76 QCoreApplication::notify(QObject*, QEvent*)
# 41 libQtCore.so.4       0x000076a2fa7389a7 QCoreApplication::notifyInternal(QObject*, QEvent*)
# 42 libQtCore.so.4       0x000076a2fa75c278 QEventDispatcherUNIX::activateSocketNotifiers()
# 43 libQtCore.so.4       0x000076a2fa75dd2c QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*)
# 44 libQtCore.so.4       0x000076a2fa75dfed QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
# 45 libQtCore.so.4       0x000076a2fa738110 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
# 46 libQtCore.so.4       0x000076a2fa73829f QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
# 47 libQtCore.so.4       0x000076a2fa668c7e QThread::exec()
# 48 quasselcore          0x00000760eee90d18 SessionThread::run()
# 49 libQtCore.so.4       0x000076a2fa66a9f6 QThreadPrivate::start(void*)
# 50 libpthread.so.0      0x000076a2f8c0d73c 0x0000000000000000
# 51 libc.so.6            0x000076a2f93029ed clone
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-02-27 12:06:19 UTC
Please provide "emerge --info" as well as the output of 
  emerge -pv quassel qt-sql sqlite


Reassigning to/CCing maintainers, CCing net-irc herd as well.
Comment 2 Martin Berkemeier 2009-02-27 12:20:32 UTC
(In reply to comment #1)
> Please provide "emerge --info" as well as the output of 
>   emerge -pv quassel qt-sql sqlite
> 
> 
> Reassigning to/CCing maintainers, CCing net-irc herd as well.
> 

[ebuild   R   ] dev-db/sqlite-3.6.6.2  USE="debug -doc -soundex -tcl -threadsafe" 0 kB
[ebuild   R   ] x11-libs/qt-sql-4.4.2  USE="sqlite -custom-cxxflags -debug (-firebird) -mysql -odbc (-pch) -postgres -qt3support" 0 kB
[ebuild   R   ] net-irc/quassel-0.4.0-r1  USE="server ssl -X -dbus -debug -kde -monolithic -oxygen -phonon -webkit" LINGUAS="de -cs -da -fr -hu -nb_NO -ru -sl -tr" 0 kB

-----------------------------------------

disturbed linux # emerge --info
Portage 2.1.6.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.26-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.26-hardened-r9-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.3.2
Timestamp of tree: Fri, 27 Feb 2009 10:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/linux/gentoo rsync://ftp.snt.utwente.nl/gentoo http://ftp.heanet.ie/pub/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/centerim /usr/portage/local/layman/jokey /usr/portage-disturbed /usr/portage-snix"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi amd64 apache2 bash-completion berkdb bzip2 cdb crypt curl encode gd gmp gpm hardened idn imagemagick jpeg jpeg2k kerberos krb4 logrotate mbox multilib ncurses nls nptl nptlonly offensive pam pcre perl pic png python readline sasl session skey spell ssl tcpd threads tiff truetype ucs2 unicode vhosts xml zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x        ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3     trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest authz_host alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so unique_id filter" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 intel mach64        mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis       sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Patrick Lauer gentoo-dev 2009-02-28 23:20:29 UTC
+  28 Feb 2009; Patrick Lauer <patrick@gentoo.org> quassel-0.4.0-r1.ebuild,
+  quassel-9999.ebuild:
+  Fixing 0.4 and 9999 ebuild deps with dev-db/sqlite[threadsafe] to fix
+  #260485