Today at 12:30pm, hugang said:
> Hello all:
>
> I attach the file is blackbox and the crash core.When I to fast swith the
>application the blackbox will crash.
> I check the source code ,The bug in
> blackbox.cc blackbox::setFocusedWindow(BlackboxWindow *win)
>
>
> if (focused_window) {
> old_win = focused_window;
> old_screen = old_win->getScreen(); <--- pass but
>old_screen will err.
> old_tbar = old_screen->getToolbar(); <----crash here .
> old_wkspc = old_screen->getWorkspace(old_win->getWorkspaceNumber());
>
> old_win->setFocusFlag(False);
> old_wkspc->getMenu()->setItemSelected(old_win->getWindowNumber(), False);
> }
>
> Can someone to fix it.
You may well have found the bug that very occasionally kicks blackbox out
with a sig11. It could be related to the strange toolbar titles that
appear sometimes as well.
Well, i'm not a c++ hacker, i might try to have a loko in the code.
wilbert