not more than 4 bitmaps

From: Johann Friedrich Heinrichmeyer <Fritz.Heinrichmeyer_at_FernUni-Hagen.de>
Date: Mon, 28 Aug 95 17:44:36 +0200

stk-2.2 dumps core under my linux-elf system when loading more than 4
bitmaps:

jfh00:jfh<~,17:34:55>gdb /usr/local/lib/stk/2.2/Linux-1.X-ix86/stk-bin core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.14 (i486-unknown-linux), Copyright 1995 Free Software Foundation, Inc...
(no debugging symbols found)...
Core was generated by `stk-bin'.
Cannot access memory at address 0x40006138.
#0 0x800fb2d in STk_gc_mark ()
(gdb) where
#0 0x800fb2d in STk_gc_mark ()
#1 0x80184f5 in STk_mark_symbol_table ()
#2 0x8010239 in STk_mark_stack ()
#3 0x8010269 in STk_mark_stack ()
#4 0x80102b5 in STk_gc_for_newcell ()
#5 0x801b7a2 in STk_makeenv ()
#6 0x8019b8b in STk_top_env_stack ()
#7 0x800c713 in Tcl_CreateCommand ()
#8 0x8034ed6 in Tk_MenuCmd ()
#9 0x800c168 in STk_execute_Tk_lib_cmd ()
#10 0x801a7dd in STk_eval ()
#11 0x801a86d in STk_eval ()
#12 0x8010d70 in STk_init_standard_ports ()
#13 0x8010f68 in STk_init_standard_ports ()
#14 0x80110f8 in STk_loadfile ()
#15 0x80118ef in STk_scheme_load ()
#16 0x801a456 in STk_eval ()
#17 0x8010d70 in STk_init_standard_ports ()
#18 0x8010e8b in STk_init_standard_ports ()
#19 0x80110f8 in STk_loadfile ()
#20 0x800aed9 in STk_no_interrupt ()
#21 0x800b1c6 in STk_no_interrupt ()
#22 0x800b21c in STk_toplevel ()
#23 0x800a9d0 in main ()
#24 0x800a954 in _start ()
#25 0x6f68732f in tkWindowContext ()
Cannot access memory at address 0x726f7469.


here is the code:

    (for-each
     (lambda (i)
       (.topmenu.mProperties.m.mBitmaps
        'add 'radiobutton
        :activebackground afg
        :bitmap i
        :command '(Util.Toolbar 'stipple)
        :value i
        :variable 'thestipple))
     BitMapList)
 
if the BitMapList is longer than 4,
stk dumps core (easy to learn :-)

-- 
Fritz Heinrichmeyer                             FernUniversitaet Hagen
FAX:   +49 2371/566236                          LG Elektronische Schaltungen
EMAIL: fritz.heinrichmeyer_at_fernuni-hagen.de     Frauenstuhlweg 31
PHONE: +49 02371/566-243                        58644 Iserlohn (Germany)
WWW:  http://ES-sun2.fernuni-hagen.de
Received on Mon Aug 28 1995 - 17:46:39 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST