[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a funny bug?



zhaoway <zw@zhaoway.com> writes:

> Guess it will have something related to scwm. ;)
> I'm too sleepy right now, and will have an important
> job hunting meeting tomorrow. I'll be back and give
> more precise report later.
> 
> Debian Potato. 
> 
> Desired=Unknown/Install/Remove/Purge
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name             Version          Description
> +++-================-================-================================================
> ii  libc6            2.1.2-11         GNU C Library: Shared libraries and Timezone dat
> ii  locales          2.1.2-11.0.1     GNU C Library: National Language (locale) data [
> ii  i18ndata         2.1.2-11         GNU C Library: National Language (locale) data [
> ii  xlib6g           3.3.5-2          shared libraries required by X clients
> 
> Scwm is the nearest CVS version built at home. maybe 3 or 4 days back.
> Guile is from CVS too. 1 or 2 weeks back?
> 
> the problem is:
> 
> whenever i do: (I added an alias for GB2312 for /usr/lib/X11/locales/locale.alias
> by hand on Debian.)
> 
> $ LANG=zh_CN.GB2312 gedit
> 
> and open a file full of chinese characters coded in GB2312. The scwm manager
> _restarts_ and after a while after it's runing ok, all the rxvt and xemacs
> windows got one line _shorter_.

My guess is that Scwm is not restarting, but that it is crashing.  The
getting-shorter problem is fixed now, I believe.

It'd be great if you could attach a gdb to the running Scwm before
executing the line that makes scwm "restart", above, and send be the
output of executing the "backtrace" command in that gdb.  I.e., do:

%  ps aux | grep scwm  # figure out the pid of SCWM
% gdb /usr/src/scwm
gdb> attach 45923 # or whatever the pid was

# now do 
% LANG=zh_CN.GB2312 gedit
# from an xterm, should cause Scwm to stop and gdb prompt to reappear, do:

gdb> backtrace

And mail me that output.

<snip>

> And prepare for the up-coming China New Year! ;)

Happy new year!  And remember-- all evens day tomorrow 2/2/2000!  First
in *ages*!

Greg


Reply to: