Well, most bugs are fixed very easy. As your bug report is excellent I 
knew right after reading where to hit the code.

Oliver

>
>> Thanks for reporting! Fixed in svn.
>>
> Great! It took you less time to guess the error and write the one-liner
> that fixes the bug than for me to compile the release 2750 (around the
> time 1.1.2 was released) and realize the bug had always been there.
>
> Current SVN version compiled and bug killed.
>
> Thank you.
>
>>> On Saturday, 18 June 2011, at 23:11:01 +0200,
>>> Felix Hartmann wrote:
>>>
>>>> For me v1.2 on Windows crashes pretty frequently. I happens when zooming
>>>> in via the mousewheel.
>>>>
>>> Current QLGT from SVN (r2858) also crashes on me, by simply clicking the
>>> right mouse button over the bottom left "Manage your Geo Data" lower pane
>>> (where the "Lost&   Found" and "Database" icons are shown). I have tried
>>> this from both an already configured QLGT user installation (some vector
>>> maps already configured, QLGT used before) and from a clean installi (no
>>> user configuration, no maps, nothing loaded, just run QLGT an click right
>>> mouse button).
>>>
>>> This happens to me using a binary compiled by me, as well as using the 
>>> Ubuntu
>>> 11.04 package as available in the Roman Müllenschläder's Ubuntu PPA.
>>>
>>> When run from inside GDB, the version I compiled shows the following back
>>> trace after the crash:
>>>
>>> Program received signal SIGSEGV, Segmentation fault.
>>> 0x082f97d2 in QTreeWidgetItem::parent() const ()
>>> (gdb) bt
>>> #0  0x082f97d2 in QTreeWidgetItem::parent() const ()
>>> #1  0x082ee56e in CGeoDB::slotContextMenuDatabase(QPoint const&) ()
>>> #2  0x0830c019 in CGeoDB::qt_metacall(QMetaObject::Call, int, void**) ()
>>> #3  0xb6ba06ba in QMetaObject::metacall(QObject*, QMetaObject::Call, int, 
>>> void**) () from /usr/lib/libQtCore.so.4
>>> #4  0xb6bb04ff in QMetaObject::activate(QObject*, QMetaObject const*, int, 
>>> void**) () from /usr/lib/libQtCore.so.4
>>> #5  0xb6e53183 in QWidget::customContextMenuRequested(QPoint const&) () 
>>> from /usr/lib/libQtGui.so.4
>>> #6  0xb6e5dcb9 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
>>> #7  0xb724ef63 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
>>> #8  0xb72dd5d2 in QAbstractScrollArea::viewportEvent(QEvent*) () from 
>>> /usr/lib/libQtGui.so.4
>>> #9  0xb737c797 in QAbstractItemView::viewportEvent(QEvent*) () from 
>>> /usr/lib/libQtGui.so.4
>>> #10 0xb73c43f3 in QTreeView::viewportEvent(QEvent*) () from 
>>> /usr/lib/libQtGui.so.4
>>> #11 0xb72dfed5 in ?? () from /usr/lib/libQtGui.so.4
>>> #12 0xb6b9a25a in 
>>> QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) 
>>> () from /usr/lib/libQtCore.so.4
>>> #13 0xb6e04d00 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () 
>>> from /usr/lib/libQtGui.so.4
>>> #14 0xb6e09c62 in QApplication::notify(QObject*, QEvent*) () from 
>>> /usr/lib/libQtGui.so.4
>>> #15 0xb6b9a0bb in QCoreApplication::notifyInternal(QObject*, QEvent*) () 
>>> from /usr/lib/libQtCore.so.4
>>> #16 0xb6e8f343 in ?? () from /usr/lib/libQtGui.so.4
>>> #17 0xb6e8d746 in QApplication::x11ProcessEvent(_XEvent*) () from 
>>> /usr/lib/libQtGui.so.4
>>> #18 0xb6eb8b84 in ?? () from /usr/lib/libQtGui.so.4
>>> #19 0xb35bfaa8 in g_main_context_dispatch () from 
>>> /lib/i386-linux-gnu/libglib-2.0.so.0
>>> #20 0xb35c0270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
>>> #21 0xb35c0524 in g_main_context_iteration () from 
>>> /lib/i386-linux-gnu/libglib-2.0.so.0
>>> #22 0xb6bc753c in 
>>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) 
>>> () from /usr/lib/libQtCore.so.4
>>> #23 0xb6eb8775 in ?? () from /usr/lib/libQtGui.so.4
>>> #24 0xb6b99289 in 
>>> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from 
>>> /usr/lib/libQtCore.so.4
>>> #25 0xb6b99522 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) 
>>> () from /usr/lib/libQtCore.so.4
>>> #26 0xb6b9decc in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
>>> #27 0xb6e028e7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
>>> #28 0x08106a7c in main ()
>>>
>>> I don't know if this can be a problem with Qt more than related to QLGT
>>> itself. The fact is, somewhere along the 1.1.2 ->   1.2.0 cycle it started
>>> happening, but as at the time I was doing some "coding" for QLGT, I tough
>>> these crashes could have something to do with me breaking the code in
>>> unexpected ways. It doesn't seem so.
>>>
>>> A list of relevant system binaries and information follows:
>>>
>>> Linux desktop 2.6.38-8-generic-pae #42-Ubuntu SMP Mon Apr 11 05:17:09 UTC 
>>> 2011 i686 athlon i386 GNU/Linux
>>>
>>> libqtgui4: 4:4.7.2-0ubuntu6.1
>>> libqtcore4: 4:4.7.2-0ubuntu6.1
>>> libqt4-opengl: 4:4.7.2-0ubuntu6.1
>>> libglib2.0-0: 2.28.6-0ubuntu1
>>>
>>>
>>> Don't know if this bug report is useful, if not, please disregard or ask
>>> for additional information or testing. Please tell me the SVN release
>>> number for the 1.1.2 version, so if everything else fails I can start
>>> binary searching for the changeset that caused the error, if any.
>>>
>>> Greetings,
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> All the data continuously generated in your IT infrastructure contains a
>>> definitive record of customers, application performance, security
>>> threats, fraudulent activity and more. Splunk takes this data and makes
>>> sense of it. Business sense. IT sense. Common sense..
>>> http://p.sf.net/sfu/splunk-d2d-c1
>>>
>>>
>>>
>>> _______________________________________________
>>> Qlandkartegt-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>>
>>
>> ------------------------------------------------------------------------------
>> All the data continuously generated in your IT infrastructure contains a
>> definitive record of customers, application performance, security
>> threats, fraudulent activity and more. Splunk takes this data and makes
>> sense of it. Business sense. IT sense. Common sense..
>> http://p.sf.net/sfu/splunk-d2d-c1
>> _______________________________________________
>> Qlandkartegt-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
>>
>
>
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense..
> http://p.sf.net/sfu/splunk-d2d-c1
>
>
>
> _______________________________________________
> Qlandkartegt-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security 
threats, fraudulent activity and more. Splunk takes this data and makes 
sense of it. Business sense. IT sense. Common sense.. 
http://p.sf.net/sfu/splunk-d2d-c1
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to