[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paragui-users] Still the problem with self modifying listboxes (return
From: |
Guillaume Schmid |
Subject: |
[paragui-users] Still the problem with self modifying listboxes (return of the newbie question). |
Date: |
10 Jun 2002 17:47:05 +0200 |
Hello,
I just updated my cvs branch (devel-1-0) and tried again my small image
viewer app and still have the same problem.
My problem was (and still is) that I have a listboxes that show a dir
list. If you click on a subdir, I want to update the list. I have to
destroy every item and re-fill le this with updated content.
I handle this task into the EventSelectItem of the listbox but a mutex
has been locked before calling this function on the selected item and
will be free after. Problem, sice I destroy the item, the event managing
code cannot free it: boom.
Alexander told me that he removed the offending code but I still have
the problem.
Did I check out the right branch ?
Thank you for your attention.
Here is my stack trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 13253)]
0x402868cb in PG_Widget::ProcessEvent (this=0x40f62f3c,
event=0xbffff710,
bModal=false) at pgwidget.cpp:558
558 SDL_mutexV(my_internaldata->mutexProcess);
(gdb) p my
my_ObjectCounter my_colorBorder my_srfObject my_text
my_SurfaceCache my_internaldata my_srfScreen
(gdb) p my_internaldata
$1 = (PG_WidgetDataInternal *) 0x0
(gdb) where
#0 0x402868cb in PG_Widget::ProcessEvent (this=0x40f62f3c,
event=0xbffff710,
bModal=false) at pgwidget.cpp:558
#1 0x40268be2 in PG_MessageObject::PumpIntoEventQueue
(event=0xbffff710)
at pgmessageobject.cpp:354
#2 0x4025bc91 in PG_Application::RunEventLoop (data=0x40571fd8)
at pgapplication.cpp:201
#3 0x4025bba9 in PG_Application::Run (this=0x40571fd8, threaded=false)
at pgapplication.cpp:170
#4 0x0804e992 in UserInterface::Run (this=0x40571fd8) at gui.cc:48
#5 0x0804b1e7 in main (argc=1, argv=0xbffff844) at gui.hh:19
#6 0x403a5280 in __libc_start_main () from /lib/libc.so.6
(gdb)
- [paragui-users] Still the problem with self modifying listboxes (return of the newbie question).,
Guillaume Schmid <=