Yaroslav Kavenchuk | 1 Apr 14:41 2005
Picon

Re: debug with gdb

Next attempt:

$ ./configure --with-mingw --with-debug --with-module=dirkey --build
build-debug
....
;;  Loading file subtypep.lisp ...
*** - Win32 error 0 (ERROR_SUCCESS): The operation completed successfully.
Bye.
Reserved address range 0x19d70000-0x5b25ffff .
STACK depth: 44779

[stream.d:4350]

stream.d:4301-4377
# Determining the range of encodable characters.
global object iconv_range (object encoding, uintL start, uintL end,
                           uintL maxintervals) {
  var uintL count = 0; # number of intervals already on the STACK
  if (maxintervals > 0) {
    var iconv_t cd;

with_sstring_0(TheEncoding(encoding)->enc_charset,Symbol_value(S(ascii)),
                   charset_asciz, {
      begin_system_call();
      cd = open_iconv(charset_asciz,CLISP_INTERNAL_CHARSET,
                      TheEncoding(encoding)->enc_charset);
      end_system_call();
    });
    {
      var uintL i1;
(Continue reading)

Sam Steingold | 1 Apr 20:45 2005
Picon

weird error

[1]> sys::abazonk

** - Continuable Error
INTERN("ABAZONK"): #<PACKAGE SYSTEM> is locked
If you continue (by typing 'continue'): Ignore the lock and proceed
The following restarts are also available:
ABORT          :R1      ABORT
Break 1 [2]> :bt1
<1> #<SYSTEM-FUNCTION SHOW-STACK>
<2> #<COMPILED-FUNCTION SYSTEM::PRINT-BACKTRACE>
<3> #<COMPILED-FUNCTION SYSTEM::DEBUG-BACKTRACE>
<4> #<COMPILED-FUNCTION SYSTEM::DEBUG-BACKTRACE-1>
<5> #<SYSTEM-FUNCTION SYSTEM::READ-EVAL-PRINT>
<6> #<COMPILED-FUNCTION SYSTEM::BREAK-LOOP-2-2>
<7> #<SYSTEM-FUNCTION SYSTEM::SAME-ENV-AS>
<8> #<COMPILED-FUNCTION SYSTEM::BREAK-LOOP-2>
<9> #<SYSTEM-FUNCTION SYSTEM::DRIVER>
- #<SYSTEM::SIMPLE-PACKAGE-ERROR #x19EE8C99>
- NIL
<10> #<COMPILED-FUNCTION SYSTEM::BREAK-LOOP>
- #<SYSTEM::SIMPLE-PACKAGE-ERROR #x19EE8C99>
<11> #<SYSTEM-FUNCTION INVOKE-DEBUGGER>
frame binding variables (~ = dynamically):
  | ~ SYSTEM::*CONDITION-RESTARTS* <--> NIL
frame binding variables (~ = dynamically):
  | ~ SYSTEM::*ACTIVE-RESTARTS* <-->
(#S(RESTART :NAME ABORT :TEST #<COMPILED-FUNCTION SYSTEM::DEFAULT-RESTART-TEST>
    :INVOKE-TAG NIL :INVOKE-FUNCTION #<COMPILED-FUNCTION SYSTEM::MAIN-LOOP-1-1>
    :REPORT NIL
    :INTERACTIVE #<COMPILED-FUNCTION SYSTEM::DEFAULT-RESTART-INTERACTIVE>
(Continue reading)

Bruno Haible | 1 Apr 21:07 2005

Re: weird error

Sam wrote:
> [1]> sys::abazonk
>
>     :MEANINGFULP T))
>
> compiled tagbody frame for #(NIL)
> - 214
> -
> #(#(NIL "Ignore the lock and proceed" (INTERN "NGFULPT" #<PACKAGE SYSTEM>))
>                                               ^^^^^^^^^
>
> HUH?!!!!!

Evidently you need to proofread the check_pack_lock / cerror_package_locked
area of package.d. But here's a hint: The string that is passed to intern()
is actually a displaced array, pointing into a buffer that io.d constantly
reuses. So the "ABAZONK" string is actually the substring from 5 to 12
of this buffer, containing "SYS::ABAZONK..."

The "NGFULPT" reveals the contents of this buffer after it has been filled
with the string "MEANINGFULP..."

As you can see, it's the mere fact of printing the backtrace that has
changed the contents of the buffer.

Try adding a coerce_ss() call at the appropriate place (i.e. not in the
fast path, but rather at a point where it's likely that a break loop will
be entered).

Bruno
(Continue reading)

clisp-cvs-request | 1 Apr 22:38 2005
Picon
Picon

clisp-cvs digest, Vol 1 #1037 - 6 msgs

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/modules/syscalls calls.c,1.94,1.95 (Sam Steingold)
   2. clisp/src ChangeLog,1.4421,1.4422 (Sam Steingold)
   3. clisp/doc impext.xml,1.323,1.324 impent.xml,1.203,1.204 impbody.xml,1.370,1.371
clisp.xml.in,1.33,1.34 (Sam Steingold)
   4. clisp/src spvw.d,1.357,1.358 savemem.lisp,1.19,1.20 eval.d,1.194,1.195
constsym.d,1.299,1.300 condition.lisp,1.81,1.82 TODO,1.82,1.83 NEWS,1.244,1.245
ChangeLog,1.4422,1.4423 (Sam Steingold)
   5. clisp/src package.d,1.97,1.98 ChangeLog,1.4423,1.4424 (Sam Steingold)
   6. clisp/modules/matlab wrap.lisp,1.4,1.5 matlab.lisp,1.7,1.8 link.sh,1.1,1.2 (Sam Steingold)

--__--__--

(Continue reading)

clisp-cvs-request | 2 Apr 06:10 2005
Picon
Picon

clisp-cvs digest, Vol 1 #1038 - 2 msgs

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/src ChangeLog,1.4424,1.4425 (Sam Steingold)
   2. clisp/modules/matlab wrap.lisp,1.5,1.6 (Sam Steingold)

--__--__--

Message: 1
From: Sam Steingold <sds <at> users.sourceforge.net>
To: clisp-cvs <at> lists.sourceforge.net
Subject: clisp/src ChangeLog,1.4424,1.4425
Date: Fri, 01 Apr 2005 20:38:08 +0000
Reply-To: clisp-devel <at> lists.sourceforge.net

(Continue reading)

clisp-cvs-request | 4 Apr 03:03 2005
Picon
Picon

clisp-cvs digest, Vol 1 #1039 - 6 msgs

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/modules/syscalls posix.lisp,1.24,1.25 (Sam Steingold)
   2. clisp/src ChangeLog,1.4425,1.4426 (Sam Steingold)
   3. clisp/src ChangeLog,1.4426,1.4427 (Sam Steingold)
   4. clisp/modules/syscalls syscalls.xml,1.30,1.31 posix.lisp,1.25,1.26 configure.in,1.29,1.30
calls.c,1.95,1.96 (Sam Steingold)
   5. clisp/doc unix-ent.xml,1.65,1.66 (Sam Steingold)
   6. clisp/modules/syscalls configure,1.27,1.28 config.h.in,1.26,1.27 (Sam Steingold)

--__--__--

Message: 1
From: Sam Steingold <sds <at> users.sourceforge.net>
(Continue reading)

Yaroslav Kavenchuk | 4 Apr 14:48 2005
Picon

test error

clisp from CVS head, mingw

$ ./configure --with-mingw --with-module=dirkey --with-module=pcre
--with-module=postgresql --with-module=raws
ock --with-module=wildcard --with-module=zlib
--with-libpcre-prefix=/usr/local --with-libpq-prefix=c:/PostgreS
QL/8.0 --build build-full
....
cmp -s condition.fas stage/condition.fas  || (echo "Test failed." ; exit 1)
Test failed.
make: *** [check-recompile] Error 1

$ diff -u build-full/condition.fas build-full/stage/condition.fas
--- build-full/condition.fas    Mon Apr  4 12:38:31 2005
+++ build-full/stage/condition.fas      Mon Apr  4 12:43:13 2005
 <at>  <at>  -2798,7 +2798,7  <at>  <at> 
       :|SPECIALIZERS| |CLOS|::|DO-DEFMETHOD| |CLOS|::|ADD-METHOD|
       |CLOS|::|GENERIC-FUNCTION-METHODS|
       (#1=#.(|COMMON-LISP|::|FUNCALL|
-             #Y(#:|CREATE-INSTANCE-OF-≤BUILT-IN-CLASS>-25022|
+             #Y(#:|CREATE-INSTANCE-OF-≤BUILT-IN-CLASS>-4905|
                 #17Y(00 00 00 00 00 00 00 00 00 01 64 38 02 32 2A 19 01)
                 (|COMMON-LISP|::|T| |COMMON-LISP|::|T|
|COMMON-LISP|::|T|))))
       |CLOS|::|METHOD-SPECIALIZERS| |CLOS|::|REMOVE-METHOD|

--

-- 
WBR, Yaroslav Kavenchuk.

-------------------------------------------------------
(Continue reading)

clisp-cvs-request | 4 Apr 20:40 2005
Picon
Picon

clisp-cvs digest, Vol 1 #1040 - 9 msgs

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/unix PLATFORMS,1.31,1.32 (Bruno Haible)
   2. clisp/tests weakptr.tst,1.2,1.3 hashweak.tst,1.5,1.6 tests.lisp,1.52,1.53
ChangeLog,1.332,1.333 (Bruno Haible)
   3. clisp/tests hashweak.tst,1.6,NONE (Bruno Haible)
   4. clisp/tests weakhash2.tst,NONE,1.1 (Bruno Haible)
   5. clisp/tests weakhash.tst,NONE,1.1 tests.lisp,1.53,1.54 ChangeLog,1.333,1.334 (Bruno Haible)
   6. clisp/modules/matlab test.tst,NONE,1.1 wrap.lisp,1.6,1.7 matlab.lisp,1.8,1.9 (Sam Steingold)
   7. clisp/src ChangeLog,1.4427,1.4428 (Sam Steingold)
   8. clisp/modules/matlab test.tst,1.1,1.2 demo.lisp,1.1,NONE (Sam Steingold)
   9. clisp/modules/matlab matlab.xml,1.3,1.4 (Sam Steingold)

--__--__--
(Continue reading)

clisp-cvs-request | 5 Apr 05:18 2005
Picon
Picon

clisp-cvs digest, Vol 1 #1041 - 4 msgs

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/src ChangeLog,1.4428,1.4429 (Sam Steingold)
   2. clisp/modules/matlab matlab.lisp,1.9,1.10 (Sam Steingold)
   3. clisp/modules/matlab wrap.lisp,1.7,1.8 (Sam Steingold)
   4. clisp/src ChangeLog,1.4429,1.4430 (Sam Steingold)

--__--__--

Message: 1
From: Sam Steingold <sds <at> users.sourceforge.net>
To: clisp-cvs <at> lists.sourceforge.net
Subject: clisp/src ChangeLog,1.4428,1.4429
Date: Mon, 04 Apr 2005 18:41:15 +0000
(Continue reading)

clisp-cvs-request | 5 Apr 20:53 2005
Picon
Picon

clisp-cvs digest, Vol 1 #1042 - 12 msgs

Send clisp-cvs mailing list submissions to
	clisp-cvs <at> lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/clisp-cvs
or, via email, send a message with subject or body 'help' to
	clisp-cvs-request <at> lists.sourceforge.net

You can reach the person managing the list at
	clisp-cvs-admin <at> lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of clisp-cvs digest..."

CLISP CVS commits for today

Today's Topics:

   1. clisp/modules/matlab Makefile,1.3,1.4 (Sam Steingold)
   2. clisp/src ChangeLog,1.4430,1.4431 (Sam Steingold)
   3. clisp/doc clisp.xml.in,1.34,1.35 (Sam Steingold)
   4. clisp/doc impent.xml,1.204,1.205 impbyte.xml,1.67,1.68 (Sam Steingold)
   5. clisp/doc impext.xml,1.324,1.325 (Sam Steingold)
   6. clisp/doc impent.xml,1.205,1.206 (Sam Steingold)
   7. clisp/doc impnotes.xml.in,1.78,1.79 impbyte.xml,1.68,1.69 (Sam Steingold)
   8. clisp/doc impext.xml,1.325,1.326 impent.xml,1.206,1.207 (Sam Steingold)
   9. clisp/doc impbyte.xml,1.69,1.70 (Sam Steingold)
  10. clisp/doc impbyte.xml,1.70,1.71 (Sam Steingold)
  11. clisp/doc impbody.xml,1.371,1.372 (Sam Steingold)
  12. clisp/doc impissue.xml,1.20,1.21 (Sam Steingold)
(Continue reading)


Gmane