View Single Post
Posts: 58 | Thanked: 134 times | Joined on Dec 2012 @ Vilnius, Lithuania
#64
Got segmentation fault with Qalendar.

Reproduced with removing qalendar from dbus file, killling qalendar process, installing qalendar-dbg.

I just launch qalendar from terminal, it opens in week mode and just swipe to three next weeks, windows closes with segmentation fault.

Here's (maybe useful) output:

Code:
$ dpkg -p qalendar    
Package: qalendar
Priority: extra
Section: user/office
Installed-Size: 676
Maintainer: Grzegorz Gidel <grg.gdl@gmail.com>
Architecture: armel
Version: 0.6.1-1
Depends: calendar-backend (>= 0.6-20+0m5), libc6 (>= 2.5.0-1), libgcc1 (>= 1:4.2.1), libqt4-core (>= 4.7.0~git20100909-0maemo1+0m5), libqt4-dbus (>= 4.5.3~git20090723-0maemo4+0m5), libqt4-gui (>= 4.5.3~git20090723-0maemo6+0m5), libqt4-maemo5 (>= 4.6.2~git20100224-0maemo1+0m5), libqt4-xml (>= 4.5.3~git20090723-0maemo4+0m5), libstdc++6 (>= 4.2.1-4maemo9+0m5)
Size: 222042
Description: An open source clone of the default Maemo calendar application
Homepage: http://talk.maemo.org/showthread.php?t=90820
Maemo-Display-Name: Qalendar

Code:
$ gdb qalendar
GNU gdb (GDB) 6.8.50.20090417-debian
Copyright (C) 2009 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 "arm-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) run
Starting program: /usr/bin/qalendar 
Detected language: "en_US" 

Program received signal SIGSEGV, Segmentation fault.
0x4023e356 in QWidget::frameGeometry() const ()
   from /usr/lib/libQtGui.so.4
0x4023e356 <_ZNK7QWidget13frameGeometryEv+6>:	ldr	r2, [r3, #8]
(gdb) bt
#0  0x4023e356 in QWidget::frameGeometry() const ()
   from /usr/lib/libQtGui.so.4
#1  0x00033520 in WeekHintProfile::widgetDnComparator (
    w1=<value optimized out>, w2=0x258950)
    at ../../src/week/WeekHintProfile.h:103
#2  0x00033de4 in std::__insertion_sort<__gnu_cxx::__normal_iterator<ComponentWidget**, std::vector<ComponentWidget*, std::allocator<ComponentWidget*> > >, bool (*)(ComponentWidget*, ComponentWidget*)> (__first=..., __last=..., 
    __comp=0x334f4 <WeekHintProfile::widgetDnComparator(ComponentWidget*, ComponentWidget*)>)
    at /scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../l---Type <return> to continue, or q <return> to quit---
ib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/include/c++/4.2.1/bits/stl_algo.h:2382
#3  0x00033ee0 in std::__final_insertion_sort<__gnu_cxx::__normal_iterator<ComponentWidget**, std::vector<ComponentWidget*, std::allocator<ComponentWidget*> > >, bool (*)(ComponentWidget*, ComponentWidget*)> (__first=..., __last=..., 
    __comp=0x334f4 <WeekHintProfile::widgetDnComparator(ComponentWidget*, ComponentWidget*)>)
    at /scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/include/c++/4.2.1/bits/stl_algo.h:2462
#4  0x0002fda0 in WeekWidget::populate (this=0x24a3d8)
---Type <return> to continue, or q <return> to quit---
    at /scratchbox/compilers/cs2007q3-glibc2.5-arm7/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/include/c++/4.2.1/bits/stl_algo.h:2868
#5  0x00032850 in WeekWidget::reload (this=0x24a3d8)
    at ../../src/week/WeekWidget.cpp:141
#6  0x00033070 in WeekWidget::setDate (this=0xbeedf460, 
    date=...) at ../../src/week/WeekWidget.cpp:54
#7  0x0002c0a8 in WeekPlug::setDate (this=0x248188, 
    date=...) at ../../src/week/WeekPlug.cpp:91
#8  0x0002c28c in WeekPlug::gotoNextWeek (this=0x248188)
    at ../../src/week/WeekPlug.cpp:118
#9  0x0006d090 in WeekPlug::qt_metacall (this=0x248188, 
---Type <return> to continue, or q <return> to quit---
    _c=QMetaObject::InvokeMetaMethod, _id=2, 
    _a=<value optimized out>) at moc_WeekPlug.cpp:79
#10 0x40902148 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x4090be4e in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0x4090be4e in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Anything more I can do?
 

The Following 5 Users Say Thank You to iceskateclog For This Useful Post: