[Bug 400122] [NEW] quassel URL preview causes segfault

Launchpad Bug Tracker 400122 at bugs.launchpad.net
Wed Aug 26 14:09:40 UTC 2009


You have been subscribed to a public bug:

Description:    Ubuntu 9.04
Release:        9.04

quassel:
  Installed: 0.4.1-0ubuntu3
  Candidate: 0.4.1-0ubuntu3
  Version table:
 *** 0.4.1-0ubuntu3 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

When hovering over a URL for a preview of the link, Quassel suddenly
(and repeatably) segfaulted. This has never happened before, and I am
not sure if it is specific to the URL. The message from the command line
is:

Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
*** NSPlugin Wrapper *** ERROR: failed to initialize brower-side RPC events listener
Quassel IRC:  "0.4.1"   "b5798a1041d83a7118b7e9b7cffd4d5307a72d0e"
Segmentation fault

Until yesterday or the day before I have never had libcanberra-gtk-
module installed. I installed it as a prerequisite for some software not
in the Ubuntu repositories. Wondering if maybe its presence on the
system is causing this problem.

The URL crashed on is
http://www.freep.com/article/20090715/NEWS03/90715083/ and the crash
does not occur until the preview is almost completely loaded.

Just tried another URL http://weierophinney.net/matthew/archives/134
-exuberant-ctags-with-PHP-in-Vim.html and it did not crash, and no
messages output to the command line.

Tried the offending URL again, and it crashed again with a slightly
different output:

Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
*** NSPlugin Wrapper *** ERROR: failed to initialize brower-side RPC events listener
Quassel IRC:  "0.4.1"   "b5798a1041d83a7118b7e9b7cffd4d5307a72d0e"
#  0 quassel              0x0000000000577e36 0x0000000000000000
#  1 quassel              0x00000000005666c1 0x0000000000000000
#  2 libc.so.6            0x00007f551eb7a040 0x0000000000000000
#  3 libQtWebKit.so.4     0x00007f5521000023 0x0000000000000000
#  4 libQtWebKit.so.4     0x0000000003f1e6a0 0x0000000000000000

Uninstalled libcanberra-gtk-module and now the crash triggers the KDE
Crash Handler (which it did not before), but the crash handler reports
it is unable to create a valid backtrace. The command line now reports:

Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
*** NSPlugin Wrapper *** ERROR: failed to initialize brower-side RPC events listener
KCrash: Application 'quassel' crashing...
sock_file=/home/wolfger/.kde/socket-BunnyHutch/kdeinit4__0
QSocketNotifier: Invalid socket 14 and type 'Read', disabling...
QSocketNotifier: Invalid socket 14 and type 'Write', disabling...
QSocketNotifier: Invalid socket 14 and type 'Write', disabling...
QSocketNotifier: Invalid socket 14 and type 'Write', disabling...
QSocketNotifier: Invalid socket 14 and type 'Write', disabling...
unhandled Error in QSqlQuery!                                                                                                                                                                
                  last Query:                                                                                                                                                                
 "UPDATE network                                                                                                                                                                             
SET awaymessage = :awaymsg                                                                                                                                                                   
WHERE userid = :userid AND networkid = :networkid"                                                                                                                                           
              executed Query:                                                                                                                                                                
 "UPDATE network                                                                                                                                                                             
SET awaymessage = ?                                                                                                                                                                          
WHERE userid = ? AND networkid = ?"                                                                                                                                                          
                bound Values:                                                                                                                                                                
0 :                                                                                                                                                                                          
1 :  1                                                                                                                                                                                       
2 :  1                                                                                                                                                                                       
                Error Number: 10                                                                                                                                                             
               Error Message: "disk I/O error Unable to fetch row"                                                                                                                           
              Driver Message: "Unable to fetch row"                                                                                                                                          
                  DB Message: "disk I/O error"                                                                                                                                               
unhandled Error in QSqlQuery!                                                                                                                                                                
                  last Query:                                                                                                                                                                
 "UPDATE network                                                                                                                                                                             
SET usermode = :usermode                                                                                                                                                                     
WHERE userid = :userid AND networkid = :networkid"                                                                                                                                           
              executed Query:                                                                                                                                                                
 "UPDATE network                                                                                                                                                                             
SET usermode = ?                                                                                                                                                                             
WHERE userid = ? AND networkid = ?"                                                                                                                                                          
                bound Values:                                                                                                                                                                
0 :  1                                                                                                                                                                                       
1 :  1                                                                                                                                                                                       
2 :  e                                                                                                                                                                                       
                Error Number: 10                                                                                                                                                             
               Error Message: "disk I/O error Unable to fetch row"                                                                                                                           
              Driver Message: "Unable to fetch row"                                                                                                                                          
                  DB Message: "disk I/O error"                                                                                                                                               
unhandled Error in QSqlQuery!                                                                                                                                                                
                  last Query:                                                                                                                                                                
 "INSERT INTO buffer (userid, networkid, buffername, buffercname, buffertype)                                                                                                                
VALUES (:userid, :networkid, :buffername, :buffercname, :buffertype)"                                                                                                                        
              executed Query:                                                                                                                                                                
 "INSERT INTO buffer (userid, networkid, buffername, buffercname, buffertype)                                                                                                                
VALUES (?, ?, ?, ?, ?)"                                                                                                                                                                      
                bound Values:                                                                                                                                                                
0 :                                                                                                                                                                                          
1 :                                                                                                                                                                                          
2 :  1                                                                                                                                                                                       
3 :  1                                                                                                                                                                                       
4 :  1                                                                                                                                                                                       
                Error Number: 10                                                                                                                                                             
               Error Message: "disk I/O error Unable to fetch row"                                                                                                                           
              Driver Message: "Unable to fetch row"                                                                                                                                          
                  DB Message: "disk I/O error"                                                                                                                                               
unhandled Error in QSqlQuery!                                                                                                                                                                
                  last Query:                                                                                                                                                                
 "SELECT bufferid, buffertype, groupid                                                                                                                                                       
FROM buffer                                                                                                                                                                                  
WHERE buffer.networkid = :networkid AND buffer.userid = :userid AND buffer.buffercname = :buffercname"                                                                                       
              executed Query:                                                                                                                                                                
 "SELECT bufferid, buffertype, groupid                                                                                                                                                       
FROM buffer                                                                                                                                                                                  
WHERE buffer.networkid = ? AND buffer.userid = ? AND buffer.buffercname = ?"                                                                                                                 
                bound Values:                                                                                                                                                                
0 :                                                                                                                                                                                          
1 :  1                                                                                                                                                                                       
2 :  1                                                                                                                                                                                       
                Error Number: 10                                                                                                                                                             
               Error Message: "disk I/O error Unable to fetch row"                                                                                                                           
              Driver Message: "Unable to fetch row"                                                                                                                                          
                  DB Message: "disk I/O error"                                                                                                                                               
unable to create BufferInfo for:  1  1 ""                                                                                                                                                    
unhandled Error in QSqlQuery!                                                                                                                                                                
                  last Query:                                                                                                                                                                
 "INSERT INTO backlog (time, bufferid, type, flags, senderid, message)                                                                                                                       
VALUES (:time, :bufferid, :type, :flags, (SELECT senderid FROM sender WHERE sender = :sender), :message)"                                                                                    
              executed Query:                                                                                                                                                                
 "INSERT INTO backlog (time, bufferid, type, flags, senderid, message)                                                                                                                       
VALUES (?, ?, ?, ?, (SELECT senderid FROM sender WHERE sender = ?), ?)"                                                                                                                      
                bound Values:                                                                                                                                                                
0 :  0                                                                                                                                                                                       
1 :  0                                                                                                                                                                                       
2 :  Disconnecting. (No Ping reply in 90 seconds.)                                                                                                                                           
3 :                                                                                                                                                                                          
4 :  1247730792
5 :  1024
                Error Number: 10
               Error Message: "disk I/O error Unable to fetch row"
              Driver Message: "Unable to fetch row"
                  DB Message: "disk I/O error"
ASSERT: "msgId.isValid()" in file /build/buildd/quassel-0.4.1/src/core/sqlitestorage.cpp, line 964
Quassel IRC:  "0.4.1"   "b5798a1041d83a7118b7e9b7cffd4d5307a72d0e"
#  0 quassel              0x0000000000577e36 0x0000000000000000
#  1 quassel              0x00000000005666c1 0x0000000000000000
#  2 libc.so.6            0x00007f40b8b02040 0x0000000000000000
#  3 libc.so.6            0x00007f40b8b01fb5 gsignal
#  4 libc.so.6            0x00007f40b8b03bc3 abort
#  5 libQtCore.so.4       0x00007f40bd13e885 qt_message_output(QtMsgType, char const*)
#  6 libQtCore.so.4       0x00007f40bd13e9cb qFatal(char const*, ...)
#  7 quassel              0x000000000051f394 0x0000000000000000
#  8 quassel              0x0000000000533d33 0x0000000000000000
#  9 quassel              0x00000000005309bd 0x0000000000000000
# 10 quassel              0x000000000053b698 0x0000000000000000
# 11 libQtCore.so.4       0x00007f40bd2451f2 QMetaObject::activate(QObject*, int, int, void**)
# 12 quassel              0x000000000053aa78 0x0000000000000000
# 13 quassel              0x0000000000544114 0x0000000000000000
# 14 quassel              0x00000000005443d7 0x0000000000000000
# 15 quassel              0x000000000053abc1 0x0000000000000000
# 16 libQtCore.so.4       0x00007f40bd2451f2 QMetaObject::activate(QObject*, int, int, void**)
# 17 libQtCore.so.4       0x00007f40bd23f4d3 QObject::event(QEvent*)
# 18 libQtGui.so.4        0x00007f40bc3fb78d QApplicationPrivate::notify_helper(QObject*, QEvent*)
# 19 libQtGui.so.4        0x00007f40bc40397a QApplication::notify(QObject*, QEvent*)
# 20 libkdeui.so.5        0x00007f40b9eae26b KApplication::notify(QObject*, QEvent*)
# 21 libQtCore.so.4       0x00007f40bd22f75c QCoreApplication::notifyInternal(QObject*, QEvent*)
# 22 libQtCore.so.4       0x00007f40bd25c7f6 0x0000000000000000
# 23 libQtCore.so.4       0x00007f40bd258f0d 0x0000000000000000
# 24 libglib-2.0.so.0     0x00007f40b801b20a g_main_context_dispatch
# 25 libglib-2.0.so.0     0x00007f40b801e8e0 0x0000000000000000
# 26 libglib-2.0.so.0     0x00007f40b801ea7c g_main_context_iteration
# 27 libQtCore.so.4       0x00007f40bd258e6f QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
# 28 libQtCore.so.4       0x00007f40bd22e002 QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
# 29 libQtCore.so.4       0x00007f40bd22e3cd QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
# 30 libQtCore.so.4       0x00007f40bd1439b8 QThread::exec()
# 31 quassel              0x000000000051cf24 0x0000000000000000
# 32 libQtCore.so.4       0x00007f40bd146952 0x0000000000000000
# 33 libpthread.so.0      0x00007f40b7dcc3ba 0x0000000000000000
# 34 libc.so.6            0x00007f40b8bb4fcd clone

Reinstalled libcanberra-gtk-module and this time also -dbg, but get no
additional output. Since libcanberra-gtk-module is not a requirement of
quassel, I am not reporting this against that package, although maybe
there is an error there as well?

** Affects: qt4-x11 (Ubuntu)
     Importance: High
         Status: Fix Released

-- 
quassel URL preview causes segfault
https://bugs.launchpad.net/bugs/400122
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to qt4-x11 in ubuntu.




More information about the kubuntu-bugs mailing list