gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] ANSI Windows: in-package failure


From: Camm Maguire
Subject: Re: [Gcl-devel] ANSI Windows: in-package failure
Date: 03 Feb 2004 13:58:39 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Mike, and thanks as always for the output.  More on it later, but
you appear to at least have the problem that null_string is not being
correctly initialized in error.c by gcl_init_error.  If for example I
break in your example at Icall_continue_error_handler, this is what I
get: 

#3  0x080a4f42 in Icall_continue_error_handler (error_name=0x853b678, 
    error_format_string=0x8a70f90, nfmt_args=2) at error.c:158
(gdb) p (((long)(0) + (4 -1)) & ~(4 -1))
$25 = 0
(gdb) p null_string
$26 = 0x852fcf0
(gdb) p pp(null_string)
$27 = void
(gdb) p null_string->st
$28 = {t = 13 '\r', flag = 0 '\0', s = 0 '\0', m = 0 '\0', st_displaced = 
0x851b580, 
  st_hasfillp = 0, st_adjustable = 0, st_self = 0x8b20f18 "9", st_fillp = 0, 
st_dim = 0}
(gdb) 

Almost sure you'd get 0x0/#<OBJNULL> for null_string.

My suggestion:

cd unixport && make raw_ansi_gcl
then gdb raw_ansi_gcl, 'b gcl_init_error', 'r ./ <foo', and try to
figure out what's going wrong with null_string.

Take care,

-- 
Camm Maguire                                            address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]