Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > de.comp.lang.forth > #292

Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception?

Newsgroups de.comp.lang.forth
Date 2015-06-11 01:04 -0700
References <4b7bdb8b-c089-4470-81e7-98958ac85bc3@googlegroups.com> <ml9q6h$9gf$1@dont-email.me>
Message-ID <73cd052f-2c98-4e59-b026-f462a67c3a05@googlegroups.com> (permalink)
Subject Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception?
From djc <ciesinger@gmx.net>

Show all headers | View raw


Am Mittwoch, 10. Juni 2015 18:57:02 UTC+2 schrieb Bernd Paysan:
> djc wrote:
> > Ein exception stack trace würde mir auch wesentlich weiter helfen als die
> > Meldung von C.
> 
> Du kannst mal das aktuelle Git-Repository auschecken und damit bauen, und 
> dann gforth --debug-mcheck starten, dann bekommst du das.
> 
> Leider hat Ullrich Drepper die Debug-Variante von malloc() und Co. nicht 
> thread-safe gemacht, weshalb ich das nicht generell aktivieren kann. Ich 
> kann von der aktuellen Version auch mal wieder einen Snapshot machen... dann 
> ist das Installieren leichter.

Vielen Dank! Das mit dem Snapshot brauche ich erstmal nicht, aber ich habe beim Debuggen noch folgendes Problem gehabt - da habe ich wohl dem Debugger etwas zuviel zugemutet:

gforth-itc ecore_ifoo.fs

: verarbeite_attribute ( addr len kl_intf wid obj -- ) { kl_intf wid obj -- }
    begin
	bl skip dup 0>  \ Überspringe Leerzeichen vor dem Attribut
    while
...
	    cr
    repeat
    cr ." Unverarbeitet: " type
;

=====
7FA96B348990   60F0D0 AGAIN          -> [ 2 ] 
30755210 00009 
7FA96B348750   60F1E0 BEGIN 32       -> [ 3 ] 30755210 00009 00032 
7FA96B348760   60F090 skip           -> [ 2 ] 30755211 00008 
7FA96B348770   60F4B8 dup            -> [ 3 ] 30755211 00008 00008 
7FA96B348778   60F318 0>             -> [ 3 ] 30755211 00008 18446744073709551615 
7FA96B348780   60F0D8 
in file included from *OS command line*:-1
ecore_ifoo.fs:667: SEE: Table failure
    dbg <eLiterals >>>name="mostSignificantByteFirst" value=""<<<>
Backtrace:
$7FA96B2EE988 throw 
$7FA96B31D890 c(abort") 
$7FA96B31FC70 MyBranch 
$7FA96B320AF8 perform 
$7FA96B320EA8 DoTable 
$60F0D8 
$7FA96B324790 analyse 
$7FA96B325798 disp-step 
$7FA96B34BAE8 verarbeite_attribute 
$7FA96B343900 execute 
$7FA96B34D150 anwenden 
$0 
$7FA96B325978 (_debug) 
$7FA96B3259F0 (debug) 
=====

Back to de.comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-10 00:52 -0700
  Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-10 01:10 -0700
  Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-11 01:04 -0700
    Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-11 23:15 +0200
      Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-12 02:38 -0700
        Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-13 16:25 -0700
          Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-15 00:52 +0200
            Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-14 23:22 -0700
            Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? djc <ciesinger@gmx.net> - 2015-06-14 23:33 -0700
            Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-16 06:12 +0000
              Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-17 10:47 +0000
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-17 23:49 +0200
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-18 08:42 +0000
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-18 23:17 +0200
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-21 15:22 +0000
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-22 04:17 +0200
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-22 13:40 +0000
                Re: gforth - assert in malloc.c, Zeile 2372 nicht als exception? Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-22 21:03 +0200

csiph-web