#1675: Licq runaway process whenever use Search History
---------------------+------------------------------------------------------
  Reporter:  wed     |       Owner:       
      Type:  defect  |      Status:  new  
  Priority:  high    |   Milestone:  1.3.7
 Component:  None    |     Version:  1.3.6
Resolution:          |    Keywords:       
---------------------+------------------------------------------------------
Changes (by wed):

 * cc: wed...@gmail.com (added)


Comment:

 Thanks for your suggestion - I had never heard of gdb previously! I ran it
 and installed licq-debug, and then ran it again. The problem occurs every
 time. I search for a word (neither checkbox match case or regular
 expression active). It will usually find one or two instances of that word
 on the given date (next or previous) and will sometimes even let me go to
 a previous date, but then suddenly everything on the computer freezes with
 CPU at 100% and I have to be pretty quick in killing licq in order to
 avoid a reboot. At most I can search for 3 or 4 instances of a word and
 sometimes not even that. This is what happened with gdb, and the generated
 stack of all threads. I cannot find any licq.backtrace.gdb in the .licq
 directory but perhaps it is somewhere else. I have attached the
 licq.backtrace.

 [...@localhost ~]$ gdb licq
 GNU gdb 6.8-6mdv2009.1 (Mandriva Linux release 2009.1)
 Copyright (C) 2008 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i586-mandriva-linux-gnu"...
 (gdb) run
 Starting program: /usr/bin/licq
 [Thread debugging using libthread_db enabled]
 [New Thread 0xb7aee8e0 (LWP 11453)]
 Detaching after fork from child process 11482.
 Detaching after fork from child process 11484.
 Detaching after fork from child process 11486.
 [New Thread 0xb65a8b90 (LWP 11488)]
 [New Thread 0xb5da7b90 (LWP 11489)]
 [New Thread 0xb55a6b90 (LWP 11490)]
 [New Thread 0xb4da5b90 (LWP 11491)]
 [New Thread 0xb45a4b90 (LWP 11492)]

 Program received signal SIGTERM, Terminated.
 0xffffe424 in __kernel_vsyscall ()
 Missing debug package(s), you should install: OpenEXR-
 debug-1.6.1-3mdv2009.0.i586 bzip2-debug-1.0.5-5mdv2009.1.i586 dbus-
 debug-1.2.4.4permissive-2mdv2009.1.i586 fontconfig-
 debug-2.6.0-5mdv2009.1.i586 freetype2-debug-2.3.9-1plf2009.1.i586 gcc-
 debug-4.3.2-5mnb2.i586 glib2.0-debug-2.20.1-1mdv2009.1.i586 glibc-
 debug-2.9-0.20081113.5mnb2.i586 gpgme-debug-1.1.8-1mdv2009.1.i586 ilmbase-
 debug-1.0.1-6mdv2009.1.i586 jasper-debug-1.900.1-5.1mdv2009.1.i586
 kdebase4-runtime-debug-4.2.2-7mdv2009.1.i586
 kdelibs4-debug-4.2.2-26mdv2009.1.i586 lcms-debug-1.18-1.1mdv2009.1.i586
 libgpg-error-debug-1.7-1mdv2009.1.i586 libice-debug-1.0.5-1mdv2009.1.i586
 libjpeg-debug-6b-44mdv2009.1.i586 libmng-debug-1.0.10-9mdv2009.1.i586
 libpng-debug-1.2.35-1mdv2009.1.i586 libsm-debug-1.1.0-1mdv2009.1.i586
 libtiff-debug-3.8.2-13mdv2009.1.i586 libx11-debug-1.2.1-1.2mdv2009.1.i586
 libxau-debug-1.0.4-1mdv2009.1.i586 libxcb-debug-1.2-1mdv2009.1.i586
 libxcursor-debug-1.1.9-3mdv2009.1.i586 libxdmcp-
 debug-1.0.2-6mdv2009.1.i586 libxext-debug-1.0.5-2mdv2009.1.i586 libxfixes-
 debug-4.0.3-4mdv2009.1.i586 libxi-debug-1.2.1-1mdv2009.1.i586 libxinerama-
 debug-1.0.3-2mdv2009.1.i586 libxml2-debug-2.7.3-2mdv2009.1.i586 libxrandr-
 debug-1.3.0-1mdv2009.1.i586 libxrender-debug-0.9.4-4mdv2009.1.i586
 libxtst-debug-1.0.3-3mdv2009.1.i586 openssl-debug-0.9.8k-1.1mdv2009.1.i586
 pcre-debug-7.8-3mdv2009.1.i586 qt4-debug-4.5.0-3mdv2009.1.i586 xz-
 debug-4.999.8beta-0.2mdv2009.1.i586 zlib-debug-1.2.3-13mdv2009.1.i586
 (gdb) thread apply all bt

 Thread 6 (Thread 0xb45a4b90 (LWP 11492)):
 #0  0xb7b8f221 in memcpy () from /lib/i686/libc.so.6
 #1  0xb746b8f9 in QString::append () from /usr/lib/libQtCore.so.4
 #2  0xb795c379 in LicqQtGui::MLView::toRichText (s...@0xb45a3314,
     highlightURLs=44, useHTML=false, highlight={priv = 0xb45a32fc})
     at
 /usr/src/debug/licq-1.3.6/plugins/qt4-gui/src/widgets/mlview.cpp:211
 #3  0xb787da4d in LicqQtGui::HistoryDlg::showHistory (this=0x92b0210)
     at
 /usr/src/debug/licq-1.3.6/plugins/qt4-gui/src/dialogs/historydlg.cpp:350
 #4  0xb787e786 in LicqQtGui::HistoryDlg::find (this=0x92b0210,
 backwards=true)
     at
 /usr/src/debug/licq-1.3.6/plugins/qt4-gui/src/dialogs/historydlg.cpp:484
 #5  0xb787ec43 in LicqQtGui::HistoryDlg::findPrevious (this=0x92b0210)
     at
 /usr/src/debug/licq-1.3.6/plugins/qt4-gui/src/dialogs/historydlg.cpp:385
 #6  0xb78d908c in LicqQtGui::HistoryDlg::qt_metacall (this=0x92b0210,
 ---Type <return> to continue, or q <return> to quit---q
 _c=QMetaOQuit
 (gdb)

-- 
Ticket URL: <http://trac.licq.org/ticket/1675#comment:2>
Licq <http://www.licq.org/>
Licq - an instant messaging client for UNIX.

Reply via email to