[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Q_ASSERT( !m_bLockHistory )
From:       "Eduardo Robles" <edulix () gmail ! com>
Date:       2008-05-22 23:51:25
Message-ID: 9e2d3ad60805221651n5c3a83beu2fc6d5a777962331 () mail ! gmail ! com
[Download RAW message or body]

I've just fixed this bug in trunk =)

On Thu, May 22, 2008 at 8:08 AM, Harri Porten <porten@kde.org> wrote:

> Hello,
>
> I am lately running into the following assertion from time to time:
>
> void KonqView::updateHistoryEntry( bool saveLocationBarURL )
> {
>  Q_ASSERT( !m_bLockHistory ); // should never happen
>  ...
>
> Anyone else? Here is the backtrace:
>
> #7  0x00002b4ea1adcd50 in qt_message_output (msgType=QtFatalMsg,
>    buf=0x7fff0d147240 "ASSERT: \"!m_bLockHistory\" in file
> /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp, line 747")
>    at global/qglobal.cpp:2058
> #8  0x00002b4ea1adce5f in qFatal (
>    msg=0x2b4ea1c2ab98 "ASSERT: \"%s\" in file %s, line %d")
>    at global/qglobal.cpp:2260
> #9  0x00002b4ea1add291 in qt_assert (
>    assertion=0x2b4e9dc86819 "!m_bLockHistory",
>    file=0x2b4e9dc86b58
> "/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp", line=747)
> at global/qglobal.cpp:1828
> #10 0x00002b4e9dbf2f98 in KonqView::updateHistoryEntry (this=0xa8f630,
>    saveLocationBarURL=true)
>    at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp:747
> #11 0x00002b4e9dbf376b in KonqView::saveConfig (this=0xa8f630,
>    config=@0x7fff0d149a30, prefix=@0x7fff0d149860, options=@0x7fff0d1499d0)
>    at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp:1382
> #12 0x00002b4e9dc0c6e2 in KonqFrame::saveConfig (this=0xa81710,
>    config=@0x7fff0d149a30, prefix=@0x7fff0d149860, options=@0x7fff0d1499d0,
>    docContainer=0xa5ea80)
>    at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqframe.cpp:80
> #13 0x00002b4e9dc113f3 in KonqFrameTabs::saveConfig (this=0xa5ea50,
>    config=@0x7fff0d149a30, prefix=@0x7fff0d149950, options=@0x7fff0d1499d0,
>    docContainer=0xa5ea80, id=0, depth=1)
>    at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqtabs.cpp:243
> #14 0x00002b4e9dbfc1d6 in KonqViewManager::saveViewProfileToGroup (
>    this=0x817c60, profileGroup=@0x7fff0d149a30, options=@0x7fff0d1499d0)
>    at
> /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqviewmanager.cpp:829
> #15 0x00002b4e9dc2bdaa in KonqMainWindow::saveProperties (
>    this=<value optimized out>, config=@0x2192)
>    at
> /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqmainwindow.cpp:4834
> #16 0x00002b4e9dc6fd2a in KonqSessionManager::saveCurrentSession (
>    this=<value optimized out>, sessionConfig=0x739890)
>    at
> /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqsessionmanager.cpp:141
> #17 0x00002b4e9dc6ff20 in KonqSessionManager::autoSaveSession
> (this=0x73a040)
>    at
> /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqsessionmanager.cpp:108
> #18 0x00002b4e9dbe8553 in KonqSessionManager::qt_metacall (this=0x73a040,
>    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
>    _a=0x7fff0d149ba0)
>    at
> /home/porten/obj4/trunk/kdebase/apps/konqueror/src/moc_konqsessionmanager.cpp:83
> #19 0x00002b4ea1bea19b in QMetaObject::activate (sender=0x73a050,
>    from_signal_index=4, to_signal_index=4, argv=0x0)
>    at kernel/qobject.cpp:3007
> #20 0x00002b4ea1bea5ff in QMetaObject::activate (sender=0x73a050,
>    m=0x2b4ea1ed9720, local_signal_index=0, argv=0x0)
>    at kernel/qobject.cpp:3080
> #21 0x00002b4ea1c295f0 in QTimer::timeout (this=0x73a050)
>    at .moc/debug-shared/moc_qtimer.cpp:126
> #22 0x00002b4ea1bf466c in QTimer::timerEvent (this=0x73a050,
> e=0x7fff0d14a4a0)
>    at kernel/qtimer.cpp:263
> #23 0x00002b4ea1be840e in QObject::event (this=0x73a050, e=0x7fff0d14a4a0)
>    at kernel/qobject.cpp:1105
> #24 0x00002b4ea2a08d13 in QApplicationPrivate::notify_helper
> (this=0x6180d0,
>    receiver=0x73a050, e=0x7fff0d14a4a0) at kernel/qapplication.cpp:3772
> #25 0x00002b4ea2a09035 in QApplication::notify (this=0x7fff0d14aa60,
>    receiver=0x73a050, e=0x7fff0d14a4a0) at kernel/qapplication.cpp:3366
> #26 0x00002b4e9f215032 in KApplication::notify (this=0x7fff0d14aa60,
>    receiver=0x73a050, event=0x7fff0d14a4a0)
>    at /home/porten/svn4/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311
> #27 0x00002b4ea1bd57fe in QCoreApplication::notifyInternal (
>    this=0x7fff0d14aa60, receiver=0x73a050, event=0x7fff0d14a4a0)
>    at kernel/qcoreapplication.cpp:583
> #28 0x00002b4e9e3457bc in QCoreApplication::sendEvent (
>    receiver=0xffffffffffffffff, event=0x6)
>    at
> /home/porten/svn4/trunk/qt-copy/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
> #29 0x00002b4ea1c07039 in QTimerInfoList::activateTimers (this=0x61b650)
>    at kernel/qeventdispatcher_unix.cpp:563
> #30 0x00002b4ea1c04755 in timerSourceDispatch (source=0x61b5f0)
>    at kernel/qeventdispatcher_glib.cpp:166
> #31 0x00002b4ea54da0f2 in g_main_context_dispatch ()
>   from /usr/lib/libglib-2.0.so.0
> #32 0x00002b4ea54dd396 in ?? () from /usr/lib/libglib-2.0.so.0
> #33 0x00002b4ea54dd82f in g_main_context_iteration ()
>   from /usr/lib/libglib-2.0.so.0
> #34 0x00002b4ea1c039bc in QEventDispatcherGlib::processEvents
> (this=0x613e80,
>    flags=@0x7fff0d14a6e0) at kernel/qeventdispatcher_glib.cpp:325
> #35 0x00002b4ea2aa9e7b in QGuiEventDispatcherGlib::processEvents (
>    this=0x613e80, flags=@0x7fff0d14a740)
>    at kernel/qguieventdispatcher_glib.cpp:204
> #36 0x00002b4ea1bd2920 in QEventLoop::processEvents (this=0x7fff0d14a7f0,
>    flags=@0x7fff0d14a7a0) at kernel/qeventloop.cpp:149
> #37 0x00002b4ea1bd2b1c in QEventLoop::exec (this=0x7fff0d14a7f0,
>    flags=@0x7fff0d14a800) at kernel/qeventloop.cpp:196
> #38 0x00002b4ea1bd6048 in QCoreApplication::exec ()
>    at kernel/qcoreapplication.cpp:845
> #39 0x00002b4ea2a08a6c in QApplication::exec () at
> kernel/qapplication.cpp:3304
> #40 0x00002b4e9dc82c0a in kdemain (argc=<value optimized out>,
>    argv=<value optimized out>)
>    at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqmain.cpp:236
> #41 0x00002b4ea42871c4 in __libc_start_main () from /lib/libc.so.6
> #42 0x0000000000400909 in _start ()
> #0  0x00002b4ea4300241 in nanosleep () from /lib/libc.so.6
>
> Harri.
>

[Attachment #3 (text/html)]

I&#39;ve just fixed this bug in trunk =)<br><br><div class="gmail_quote">On Thu, May \
22, 2008 at 8:08 AM, Harri Porten &lt;<a \
href="mailto:porten@kde.org">porten@kde.org</a>&gt; wrote:<br><blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;"> Hello,<br>
<br>
I am lately running into the following assertion from time to time:<br>
<br>
void KonqView::updateHistoryEntry( bool saveLocationBarURL )<br>
{<br>
 &nbsp;Q_ASSERT( !m_bLockHistory ); // should never happen<br>
 &nbsp;...<br>
<br>
Anyone else? Here is the backtrace:<br>
<br>
#7 &nbsp;0x00002b4ea1adcd50 in qt_message_output (msgType=QtFatalMsg,<br>
 &nbsp; &nbsp;buf=0x7fff0d147240 &quot;ASSERT: \&quot;!m_bLockHistory\&quot; in file \
/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp, line 747&quot;)<br>  \
&nbsp; &nbsp;at global/qglobal.cpp:2058<br> #8 &nbsp;0x00002b4ea1adce5f in qFatal \
(<br>  &nbsp; &nbsp;msg=0x2b4ea1c2ab98 &quot;ASSERT: \&quot;%s\&quot; in file %s, \
line %d&quot;)<br>  &nbsp; &nbsp;at global/qglobal.cpp:2260<br>
#9 &nbsp;0x00002b4ea1add291 in qt_assert (<br>
 &nbsp; &nbsp;assertion=0x2b4e9dc86819 &quot;!m_bLockHistory&quot;,<br>
 &nbsp; &nbsp;file=0x2b4e9dc86b58 \
&quot;/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp&quot;, \
line=747) at global/qglobal.cpp:1828<br> #10 0x00002b4e9dbf2f98 in \
KonqView::updateHistoryEntry (this=0xa8f630,<br>  &nbsp; \
&nbsp;saveLocationBarURL=true)<br>  &nbsp; &nbsp;at \
/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp:747<br> #11 \
0x00002b4e9dbf376b in KonqView::saveConfig (this=0xa8f630,<br>  &nbsp; \
&nbsp;config=@0x7fff0d149a30, prefix=@0x7fff0d149860, options=@0x7fff0d1499d0)<br>  \
&nbsp; &nbsp;at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqview.cpp:1382<br>
 #12 0x00002b4e9dc0c6e2 in KonqFrame::saveConfig (this=0xa81710,<br>
 &nbsp; &nbsp;config=@0x7fff0d149a30, prefix=@0x7fff0d149860, \
options=@0x7fff0d1499d0,<br>  &nbsp; &nbsp;docContainer=0xa5ea80)<br>
 &nbsp; &nbsp;at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqframe.cpp:80<br>
 #13 0x00002b4e9dc113f3 in KonqFrameTabs::saveConfig (this=0xa5ea50,<br>
 &nbsp; &nbsp;config=@0x7fff0d149a30, prefix=@0x7fff0d149950, \
options=@0x7fff0d1499d0,<br>  &nbsp; &nbsp;docContainer=0xa5ea80, id=0, depth=1)<br>
 &nbsp; &nbsp;at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqtabs.cpp:243<br>
 #14 0x00002b4e9dbfc1d6 in KonqViewManager::saveViewProfileToGroup (<br>
 &nbsp; &nbsp;this=0x817c60, profileGroup=@0x7fff0d149a30, \
options=@0x7fff0d1499d0)<br>  &nbsp; &nbsp;at \
/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqviewmanager.cpp:829<br> #15 \
0x00002b4e9dc2bdaa in KonqMainWindow::saveProperties (<br>  &nbsp; \
&nbsp;this=&lt;value optimized out&gt;, config=@0x2192)<br>  &nbsp; &nbsp;at \
/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqmainwindow.cpp:4834<br> #16 \
0x00002b4e9dc6fd2a in KonqSessionManager::saveCurrentSession (<br>  &nbsp; \
&nbsp;this=&lt;value optimized out&gt;, sessionConfig=0x739890)<br>  &nbsp; &nbsp;at \
/home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqsessionmanager.cpp:141<br> #17 \
0x00002b4e9dc6ff20 in KonqSessionManager::autoSaveSession (this=0x73a040)<br>  &nbsp; \
&nbsp;at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqsessionmanager.cpp:108<br>
 #18 0x00002b4e9dbe8553 in KonqSessionManager::qt_metacall (this=0x73a040,<br>
 &nbsp; &nbsp;_c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;,<br>
 &nbsp; &nbsp;_a=0x7fff0d149ba0)<br>
 &nbsp; &nbsp;at /home/porten/obj4/trunk/kdebase/apps/konqueror/src/moc_konqsessionmanager.cpp:83<br>
 #19 0x00002b4ea1bea19b in QMetaObject::activate (sender=0x73a050,<br>
 &nbsp; &nbsp;from_signal_index=4, to_signal_index=4, argv=0x0)<br>
 &nbsp; &nbsp;at kernel/qobject.cpp:3007<br>
#20 0x00002b4ea1bea5ff in QMetaObject::activate (sender=0x73a050,<br>
 &nbsp; &nbsp;m=0x2b4ea1ed9720, local_signal_index=0, argv=0x0)<br>
 &nbsp; &nbsp;at kernel/qobject.cpp:3080<br>
#21 0x00002b4ea1c295f0 in QTimer::timeout (this=0x73a050)<br>
 &nbsp; &nbsp;at .moc/debug-shared/moc_qtimer.cpp:126<br>
#22 0x00002b4ea1bf466c in QTimer::timerEvent (this=0x73a050, e=0x7fff0d14a4a0)<br>
 &nbsp; &nbsp;at kernel/qtimer.cpp:263<br>
#23 0x00002b4ea1be840e in QObject::event (this=0x73a050, e=0x7fff0d14a4a0)<br>
 &nbsp; &nbsp;at kernel/qobject.cpp:1105<br>
#24 0x00002b4ea2a08d13 in QApplicationPrivate::notify_helper (this=0x6180d0,<br>
 &nbsp; &nbsp;receiver=0x73a050, e=0x7fff0d14a4a0) at \
kernel/qapplication.cpp:3772<br> #25 0x00002b4ea2a09035 in QApplication::notify \
(this=0x7fff0d14aa60,<br>  &nbsp; &nbsp;receiver=0x73a050, e=0x7fff0d14a4a0) at \
kernel/qapplication.cpp:3366<br> #26 0x00002b4e9f215032 in KApplication::notify \
(this=0x7fff0d14aa60,<br>  &nbsp; &nbsp;receiver=0x73a050, event=0x7fff0d14a4a0)<br>
 &nbsp; &nbsp;at /home/porten/svn4/trunk/kdelibs/kdeui/kernel/kapplication.cpp:311<br>
 #27 0x00002b4ea1bd57fe in QCoreApplication::notifyInternal (<br>
 &nbsp; &nbsp;this=0x7fff0d14aa60, receiver=0x73a050, event=0x7fff0d14a4a0)<br>
 &nbsp; &nbsp;at kernel/qcoreapplication.cpp:583<br>
#28 0x00002b4e9e3457bc in QCoreApplication::sendEvent (<br>
 &nbsp; &nbsp;receiver=0xffffffffffffffff, event=0x6)<br>
 &nbsp; &nbsp;at /home/porten/svn4/trunk/qt-copy/include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215<br>
 #29 0x00002b4ea1c07039 in QTimerInfoList::activateTimers (this=0x61b650)<br>
 &nbsp; &nbsp;at kernel/qeventdispatcher_unix.cpp:563<br>
#30 0x00002b4ea1c04755 in timerSourceDispatch (source=0x61b5f0)<br>
 &nbsp; &nbsp;at kernel/qeventdispatcher_glib.cpp:166<br>
#31 0x00002b4ea54da0f2 in g_main_context_dispatch ()<br>
 &nbsp; from /usr/lib/libglib-2.0.so.0<br>
#32 0x00002b4ea54dd396 in ?? () from /usr/lib/libglib-2.0.so.0<br>
#33 0x00002b4ea54dd82f in g_main_context_iteration ()<br>
 &nbsp; from /usr/lib/libglib-2.0.so.0<br>
#34 0x00002b4ea1c039bc in QEventDispatcherGlib::processEvents (this=0x613e80,<br>
 &nbsp; &nbsp;flags=@0x7fff0d14a6e0) at kernel/qeventdispatcher_glib.cpp:325<br>
#35 0x00002b4ea2aa9e7b in QGuiEventDispatcherGlib::processEvents (<br>
 &nbsp; &nbsp;this=0x613e80, flags=@0x7fff0d14a740)<br>
 &nbsp; &nbsp;at kernel/qguieventdispatcher_glib.cpp:204<br>
#36 0x00002b4ea1bd2920 in QEventLoop::processEvents (this=0x7fff0d14a7f0,<br>
 &nbsp; &nbsp;flags=@0x7fff0d14a7a0) at kernel/qeventloop.cpp:149<br>
#37 0x00002b4ea1bd2b1c in QEventLoop::exec (this=0x7fff0d14a7f0,<br>
 &nbsp; &nbsp;flags=@0x7fff0d14a800) at kernel/qeventloop.cpp:196<br>
#38 0x00002b4ea1bd6048 in QCoreApplication::exec ()<br>
 &nbsp; &nbsp;at kernel/qcoreapplication.cpp:845<br>
#39 0x00002b4ea2a08a6c in QApplication::exec () at kernel/qapplication.cpp:3304<br>
#40 0x00002b4e9dc82c0a in kdemain (argc=&lt;value optimized out&gt;,<br>
 &nbsp; &nbsp;argv=&lt;value optimized out&gt;)<br>
 &nbsp; &nbsp;at /home/porten/svn4/trunk/kdebase/apps/konqueror/src/konqmain.cpp:236<br>
 #41 0x00002b4ea42871c4 in __libc_start_main () from /lib/libc.so.6<br>
#42 0x0000000000400909 in _start ()<br>
#0 &nbsp;0x00002b4ea4300241 in nanosleep () from /lib/libc.so.6<br><font \
color="#888888"> <br>
Harri.<br>
</font></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic