Bug #627
Mono client segfaults on startup
100%
Description
[seezer@deskb0b build]$ cmake DCMAKE_BUILD_TYPE=Debug -DWITH_KDE=ON -DWANT_MONO=ON -DWANT_CORE=ON ../ The C compiler identification is GNU
-
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found execinfo (built-in)
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.0 (using /usr/bin/qmake)
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found OpenSSL: /usr/lib/libssl.so
-- Found OpenSSL support in Qt
-- Found QtDBus, enabling D-Bus support
-- Found QtWebKit, enabling WebKit support
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Phonon Version: 4.3.0
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Enabling KDE4 integration
-- Including languages: fr;sl;tr;de;cs;ru;hu;da;nb
-- Configuring done
-- Generating done
-- Build files have been written to: /home/seezer/dev/qt/quassel/build
./quassel
[putsomesslerrorshere]
Core is currently not configured! Please connect with a Quassel Client for basic setup.
Unable to open database "PostgreSQL" for thread QThread(0x27d4280)
- "could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.0"?
QPSQL: Unable to connect"
QSqlDatabasePrivate::database: unable to open database: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.0"?
QPSQL: Unable to connect
Selected storage backend is not available: "PostgreSQL"
Quassel IRC: "0.4.0" "b6cbb1efdda4031c7de5526d9cd92689bb6992b8"
- 0 quassel 0x0000000000597216 0x0000000000000000
- 1 quassel 0x000000000058600d 0x0000000000000000
- 2 libc.so.6 0x00007f809e1f4150 0x0000000000000000
- 3 quassel 0x000000000051d9a7 0x0000000000000000
- 4 quassel 0x0000000000543bb7 0x0000000000000000
- 5 libQtCore.so.4 0x00007f80a2753c1d QMetaObject::activate(QObject*, int, int, void**)
- 6 quassel 0x0000000000514e90 0x0000000000000000
- 7 quassel 0x00000000004fd3aa 0x0000000000000000
- 8 quassel 0x0000000000446bc8 0x0000000000000000
- 9 quassel 0x000000000043753b 0x0000000000000000
- 10 quassel 0x0000000000436a82 0x0000000000000000
- 11 quassel 0x000000000043627c 0x0000000000000000
- 12 libc.so.6 0x00007f809e1e0546 __libc_start_main
- 13 quassel 0x0000000000435909 0x0000000000000000
-------
With --select-backend SQLite i have to add a core user on the commandline.
Afterwards ./quassel works like expected
History
#1 Updated by seezer almost 16 years ago
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f3f9ffb7750 (LWP 9754)] Core::setupInternalClientSession (this=0xa701d0, proxy=0x9e4650) at /home/seezer/dev/qt/quassel/src/core/core.cpp:671 671 UserId uid = _storage->internalUser(); (gdb) bt #0 Core::setupInternalClientSession (this=0xa701d0, proxy=0x9e4650) at /home/seezer/dev/qt/quassel/src/core/core.cpp:671 #1 0x0000000000543bb7 in Core::qt_metacall (this=0xa701d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa80f3d90) at /home/seezer/dev/qt/quassel/build/src/core/moc_core.cxx:98 #2 0x00007f3f9fc15c1d in QMetaObject::activate () from /usr/lib/libQtCore.so.4 #3 0x0000000000514e90 in ClientSyncer::connectToInternalCore (this=0x0, _t1=0x9e4650) at /home/seezer/dev/qt/quassel/build/src/client/moc_clientsyncer.cxx:307 #4 0x00000000004fd3aa in ClientSyncer::useInternalCore (this=0xa7cc50) at /home/seezer/dev/qt/quassel/src/client/clientsyncer.cpp:182 #5 0x0000000000446bc8 in MainWin::init (this=0xa11240) at /home/seezer/dev/qt/quassel/src/qtui/mainwin.cpp:191 #6 0x000000000043753b in QtUiApplication::init (this=0x7fffa80f4320) at /home/seezer/dev/qt/quassel/src/qtui/qtuiapplication.cpp:117 #7 0x0000000000436a82 in MonolithicApplication::init (this=0x7fffa80f4320) at /home/seezer/dev/qt/quassel/src/qtui/monoapplication.cpp:46 #8 0x000000000043627c in main (argc=1, argv=0x7fffa80f47f8) at /home/seezer/dev/qt/quassel/src/common/main.cpp:132
[edited by EgS - putting the bt into pre-tags]
#2 Updated by EgS almost 16 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 678ca9d489f9c90a88d51dad0cd532e387abf16f.
fixes #627