#7 Crash while playing with the code completion

closed
nobody
None
5
2009-08-04
2006-02-22
WarnerHowlett
No

Hi,

I've downloaded from your website
/upp-linux386-511.tar.gz. Since there isn't a new
stable release, I took the liberty of submitting
this bug.

Symptom:
Crash

How to reproduce:
Play a bit with the code completion (that nice
pop-up window showing the object members/methods)

OS:
Slackware Linux
gcc 3.3.4
glibc 2.3.2
Intel P4 HT

Stack trace:
#0 0x0847ea2e in Ctrl::Invalidate (this=0xbfc7fa28,
xw=@0x405390b0, _r=@0x40c480a8) at Gtypes.h:230
#1 0x0847eeab in Ctrl::WndInvalidateRect
(this=0xbfc7fa28, r=@0x40c480a8) at Map.h:31
#2 0x0846fb22 in Ctrl::AddScroll (this=0xbfc7fa28,
sr=@0xbfc78500, dx=0, dy=8383) at
/root/upp/uppsrc/CtrlCore/CtrlDraw.cpp:77
#3 0x0846fd51 in Ctrl::ScrollView (this=0xbfc7fa28,
r=@0xbfc78610, dx=0, dy=8383) at
/root/upp/uppsrc/CtrlCore/CtrlDraw.cpp:98
#4 0x081e8a17 in Scroller::Scroll (this=0xbfc7fe9c,
p=@0xbfc7fa28, rc=@0xbfc78610, newpos=
{<Moveable<Point_<int>, EmptyClass>> =
{<EmptyClass> = {<No data fields>}, <No data fields>},
x = 0, y = 0}, cellsize=
{<Moveable<Size_<int>, EmptyClass>> =
{<EmptyClass> = {<No data fields>}, <No data fields>},
cx = 1, cy = 1})
at /root/upp/uppsrc/CtrlLib/ScrollBar.cpp:706
#5 0x081efea3 in ArrayCtrl::Scroll (this=0xbfc7fa28)
at Gtypes.h:230
#6 0x081fb067 in CallbackMethodAction<ArrayCtrl, void
(ArrayCtrl::*)()>::Execute (this=0x4053aac8) at Cbgen.h:39
#7 0x082a02c8 in Callback::Execute (this=0x408ad9e4)
at /root/upp/uppsrc/Core/Callback.cpp:14
#8 0x081e5f6c in ScrollBar::Set (this=0xbfc7fce0,
apagepos=1082841572) at Cbgen.h:82
#9 0x081e6141 in ScrollBar::SetTotal (this=0x408ad9e4,
_totalsize=0) at /root/upp/uppsrc/CtrlLib/ScrollBar.cpp:259
#10 0x081ee928 in ArrayCtrl::SetSb (this=0xbfc7fa28) at
ArrayCtrl.h:397
#11 0x081f5ecb in ArrayCtrl::Clear (this=0xbfc7fa28) at
/root/upp/uppsrc/CtrlLib/ArrayCtrl.cpp:1808
#12 0x0808bc31 in AssistEditor::SyncAssist
(this=0xbfc7db00, readid=false) at
/root/upp/uppsrc/ide/Assist.cpp:343
#13 0x0808c275 in AssistEditor::Assist
(this=0xbfc7db00) at stl_algobase.h:169
#14 0x0808cbaf in AssistEditor::Key (this=0xbfc7db00,
key=46, count=1) at /root/upp/uppsrc/ide/Assist.cpp:501
#15 0x08474c14 in Ctrl::DispatchKey (count=1) at Ptr.h:78
#16 0x08480398 in Ctrl::EventProc (this=0xbfc78f70,
w=@0x4054f9c0, event=0x0) at
/root/upp/uppsrc/CtrlCore/X11Proc.cpp:201
#17 0x0848106b in TopWindow::EventProc
(this=0xbfc78f70, w=@0x4054f9c0, event=0x4054f9c0) at
/root/upp/uppsrc/CtrlCore/TopWinX11.cpp:55
#18 0x0847cc3d in Ctrl::ProcessEvent (event=0xbfc78e20)
at Ptr.h:78
#19 0x0847d0f0 in Ctrl::EventLoop (ctrl=0xbfc78f70) at
/root/upp/uppsrc/CtrlCore/X11Wnd.cpp:289
#20 0x0847a213 in TopWindow::Run (this=0xbfc78f70,
appmodal=false) at
/root/upp/uppsrc/CtrlCore/TopWindow.cpp:268
#21 0x080bdff6 in GuiMainFn_ () at
/root/upp/uppsrc/ide/idewin.cpp:608
#22 0x080bdcfc in main (argc=1, argv=0xbfc93894,
envptr=0xbfc9389c) at /root/upp/uppsrc/ide/idewin.cpp:488

M.D.

Discussion

  • Mirek Fidler
    Mirek Fidler
    2006-02-23

    Logged In: YES
    user_id=900047

    Thanks.

    Could you try recent beta4 please?

    It is possible that the problem is WM manager. What is yours?

    Mirek

     
  • WarnerHowlett
    WarnerHowlett
    2006-02-28

    Logged In: YES
    user_id=1318791

    Hi,

    I've downloaded beta4 and the bug reproduces. But this time
    I've obtained another stack trace:

    #0 0x08155af1 in Rect_<int>::operator== (this=0xf,
    b=@0xbfc1d6dc) at Gtypes.h:513
    #1 0x083e53bb in Ctrl::AddScroll (this=0xbfc20c78,
    sr=@0xbfc1d6dc, dx=0, dy=300)
    at
    /root/upp-linux386-602/upp/uppsrc/CtrlCore/CtrlDraw.cpp:68
    #2 0x083e574d in Ctrl::ScrollView (this=0xbfc20c78,
    _r=@0xbfc1d65c, dx=0, dy=300)
    at
    /root/upp-linux386-602/upp/uppsrc/CtrlCore/CtrlDraw.cpp:102
    #3 0x081c6df7 in Scroller::Scroll (this=0xbfc210ec,
    p=@0xbfc20c78, rc=@0xbfc1d7c0, newpos=
    {<Moveable<Point_<int>, EmptyClass>> = {<EmptyClass> =
    {<No data fields>}, <No data fields>}, x = 0, y = 0}, cellsize=
    {<Moveable<Size_<int>, EmptyClass>> = {<EmptyClass> =
    {<No data fields>}, <No data fields>}, cx = 1, cy = 1})
    at
    /root/upp-linux386-602/upp/uppsrc/CtrlLib/ScrollBar.cpp:706
    #4 0x081cc889 in ArrayCtrl::Scroll (this=0xbfc20c78) at
    Gtypes.h:230
    #5 0x081d585b in CallbackMethodAction<ArrayCtrl, void
    (ArrayCtrl::*)()>::Execute (this=0xbfc1d6dc) at Cbgen.h:31
    #6 0x0825a349 in Callback::Execute (this=0x14) at
    /root/upp-linux386-602/upp/uppsrc/Core/Callback.cpp:9
    #7 0x081c4c37 in ScrollBar::Set (this=0xbfc20f30,
    apagepos=20) at Cbgen.h:63
    #8 0x081c4d33 in ScrollBar::SetTotal (this=0x14,
    _totalsize=0) at
    /root/upp-linux386-602/upp/uppsrc/CtrlLib/ScrollBar.cpp:259
    #9 0x081cb6b0 in ArrayCtrl::SetSb (this=0xbfc20c78) at
    ArrayCtrl.h:398
    #10 0x081d173d in ArrayCtrl::Clear (this=0xbfc20c78) at
    /root/upp-linux386-602/upp/uppsrc/CtrlLib/ArrayCtrl.cpp:1814
    #11 0x08088d43 in AssistEditor::SyncAssist (this=0xbfc1ed20)
    at /root/upp-linux386-602/upp/uppsrc/ide/Assist.cpp:438
    #12 0x080897ad in AssistEditor::PopUpAssist
    (this=0xbfc1ed20, header=@0xbfc1db54, auto_insert=false)
    at /root/upp-linux386-602/upp/uppsrc/ide/Assist.cpp:496
    #13 0x08089300 in AssistEditor::Assist (this=0xbfc1ed20) at
    /root/upp-linux386-602/upp/uppsrc/ide/Assist.cpp:483
    #14 0x0808a457 in AssistEditor::Key (this=0xbfc1ed20,
    key=46, count=1) at
    /root/upp-linux386-602/upp/uppsrc/ide/Assist.cpp:670
    #15 0x083e9a07 in Ctrl::DispatchKey (count=1) at Ptr.h:43
    #16 0x083f2783 in Ctrl::EventProc (this=0xbfc1e044,
    w=@0x40504ba0, event=0xbfc1df18)
    at
    /root/upp-linux386-602/upp/uppsrc/CtrlCore/X11Proc.cpp:207
    #17 0x083f30aa in TopWindow::EventProc (this=0xbfc1e044,
    w=@0x40504ba0, event=0xbfc1df18)
    at
    /root/upp-linux386-602/upp/uppsrc/CtrlCore/TopWinX11.cpp:55
    #18 0x083efbd2 in Ctrl::ProcessEvent (event=0xbfc1df18) at
    Ptr.h:43
    #19 0x083efe90 in Ctrl::EventLoop (ctrl=0xbfc1e044) at
    /root/upp-linux386-602/upp/uppsrc/CtrlCore/X11Wnd.cpp:289
    #20 0x083edc21 in TopWindow::Run (this=0xbfc1e044,
    appmodal=188) at
    /root/upp-linux386-602/upp/uppsrc/CtrlCore/TopWindow.cpp:273
    #21 0x080c1832 in GuiMainFn_ () at
    /root/upp-linux386-602/upp/uppsrc/ide/idewin.cpp:767
    #22 0x080c0c13 in main (argc=1, argv=0xbfc34c64,
    envptr=0xbfc34c6c) at
    /root/upp-linux386-602/upp/uppsrc/ide/idewin.cpp:510

    About my WM: I'm using KWin (KDE).

    Mike

     
  • WarnerHowlett
    WarnerHowlett
    2006-02-28

    Logged In: YES
    user_id=1318791

    "I've obtained another stack trace" <-- should read "I've
    obtained a different stack trace"

     
  • Mirek Fidler
    Mirek Fidler
    2009-08-04

    • status: open --> closed