I used gdb to attach and step through the function calls of my last locked
up blackbox.

These same two lines repeated every time. (I used "step" and "next" also.)

(gdb) until
175       while (bottom->isTransient() && bottom->getTransientFor())
(gdb) until
187       inline BlackboxWindow *getTransientFor(void) { return
client.transient_for; }

So somehow it is locking up in this while loop in Workspace.cc.

I could simulate the behaviour. (The mouse pointer can move within a
individual window -- like an xterm -- only. The keys and mouse clicks
don't work. The window it can move in may be behind another window. But
you can move the pointer around to tell that it follows the outline of a
window below it.) I simulated this behaviour (but blackbox cpu usage
didn't raise) by using gdb to step through the current attached blackbox
process. It hung after I stepped through about 15 times. I wrote down that
last few steps:
101 inline Z *current(void) { return (Z *) __list_interator::current(); }
459  it_current()->getTimeout().tv_sec;
71 inline const timeval &get StartTime(void) const { return _start;}
(hung here!)

Any ideas? (My c++ is not too good.)

This is becoming quite the problem and an inconvenience (I have to
remotely kill blackbox which then kills everything I am working on.)  This
has happened maybe once a month with some older and current versions under
Debian Slink and Potato. (I use this computer a lot less.) Now with the
latest version, this has happened over ten times under NetBSD 1.4.2.

Thanks,

Jeremy

On Mon, 12 Jun 2000, Jeremy C. Reed wrote:

> blackbox 0.60.3 has locked up on me two more times under NetBSD 1.4.2. 
> Both times my mouse pointer would be stuck in a window (netscape and then
> rxvt). I could move it, but couldn't click/select anything and keypresses
> (via bbkeys) stopped working. Also, blackbox started using up all my CPU
> cycles and my load jumped up. 
> 
> Here is my debugging information:
> 
> Reading symbols from /usr/libexec/ld.so...done.
> Reading symbols from /usr/X11R6/lib/libSM.so.6.0...done.
> Reading symbols from /usr/X11R6/lib/libICE.so.6.3...done.
> Reading symbols from /usr/X11R6/lib/libX11.so.6.1...done.
> Reading symbols from /usr/X11R6/lib/libXext.so.6.3...done.
> Reading symbols from /usr/lib/libstdc++.so.2.0...done.
> Reading symbols from /usr/lib/libm.so.0.1...done.
> Reading symbols from /usr/lib/libc.so.12.40...done.
> #0  Workspace::raiseWindow (this=0x531c0, w=0x231000) at Window.hh:187
> 187       inline BlackboxWindow *getTransientFor(void) { return
> client.transient_for; }
> (gdb) bt
> #0  Workspace::raiseWindow (this=0x531c0, w=0x231000) at Window.hh:187
> #1  0x219e1 in Workspace::addWindow (this=0x531c0, w=0x231000, place=0)
>     at Workspace.cc:105
> #2  0x1b1ff in BlackboxWindow::BlackboxWindow (this=0x231000,
> b=0xbfbfd870, 
>     w=38799741, s=0x0) at Window.cc:316
> #3  0x246f9 in Blackbox::process_event (this=0xbfbfd870, e=0xbfbfd7c0)
>     at blackbox.cc:459
> #4  0x2473 in BaseDisplay::eventLoop (this=0xbfbfd870) at
> BaseDisplay.cc:412
> #5  0x29c1b in main (argc=1, argv=0xbfbfdcac) at main.cc:254
> 
> 
> 2) Second coredump:
> 
> Reading symbols from /usr/libexec/ld.so...done.
> Reading symbols from /usr/X11R6/lib/libSM.so.6.0...done.
> Reading symbols from /usr/X11R6/lib/libICE.so.6.3...done.
> Reading symbols from /usr/X11R6/lib/libX11.so.6.1...done.
> Reading symbols from /usr/X11R6/lib/libXext.so.6.3...done.
> Reading symbols from /usr/lib/libstdc++.so.2.0...done.
> Reading symbols from /usr/lib/libm.so.0.1...done.
> Reading symbols from /usr/lib/libc.so.12.40...done.
> #0  Workspace::raiseWindow (this=0x531c0, w=0x231000) at Window.hh:187
> 187       inline BlackboxWindow *getTransientFor(void) { return
> client.transient_for; }
> (gdb) bt
> #0  Workspace::raiseWindow (this=0x531c0, w=0x231000) at Window.hh:187
> #1  0x219e1 in Workspace::addWindow (this=0x531c0, w=0x231000, place=0)
>     at Workspace.cc:105
> #2  0x1b1ff in BlackboxWindow::BlackboxWindow (this=0x231000,
> b=0xbfbfd870, 
>     w=38799741, s=0x0) at Window.cc:316
> #3  0x246f9 in Blackbox::process_event (this=0xbfbfd870, e=0xbfbfd7c0)
>     at blackbox.cc:459
> #4  0x2473 in BaseDisplay::eventLoop (this=0xbfbfd870) at
> BaseDisplay.cc:412
> #5  0x29c1b in main (argc=1, argv=0xbfbfdcac) at main.cc:254
> 
> On Wed, 7 Jun 2000, Jeremy C. Reed wrote:
> > Blackbox alpha hung on me. I was visiting a webpage with Netscape that had
> > several images that were around 500K each.
> 
> Is there anything I can provide to help troubleshoot this more?

  Jeremy C. Reed
....................................................
     BSD software, documentation, resources, news...
     http://bsd.reedmedia.net

Reply via email to