From xemacs-m  Mon Jul 21 13:29:42 1997
Received: from bittersweet.inetarena.com (karlheg@bittersweet.inetarena.com [206.129.216.38])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id NAA02967
	for <xemacs-beta@xemacs.org>; Mon, 21 Jul 1997 13:29:39 -0500 (CDT)
Received: (from karlheg@localhost)
	by bittersweet.inetarena.com (8.8.5/8.8.5) id LAA01108;
	Mon, 21 Jul 1997 11:28:50 -0700
To: XEmacs Beta <xemacs-beta@xemacs.org>
Subject: crash: database 
X-Face: /Q}=yl}1_v7nP)xXo5XjG8+tl@=uVu7o5u6)f]zN?+<hB!K.m9:[|*p34jVN`O;:XZXVSy>/\R>qDt(t8w!-i{(y0"`jFw^uk8inzO9wXabd'CdjUWfC\GHi:6nO*YC89#-qD>Q4r%9!V"<RYJ=7D#$";q=zML5'!=wvXk^$`6FT=5CMofQX)WUKt0p:OKl.mFOXx/D
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: multipart/mixed;
 boundary="Multipart_Mon_Jul_21_11:28:48_1997-1"
Content-Transfer-Encoding: 7bit
From: karlheg+xemacs@inetarena.com (Karl M. Hegbloom)
Date: 21 Jul 1997 11:28:48 -0700
Message-ID: <87lo306yzj.fsf@bittersweet.inetarena.com>
Lines: 117
X-Mailer: Gnus v5.4.63/XEmacs 20.3(beta14) - "Vienna"

--Multipart_Mon_Jul_21_11:28:48_1997-1
Content-Type: text/plain; charset=US-ASCII


 Repeat with:
$ xemacs -q -no-site-file
*scratch*
(setq db (open-database "/tmp/data.db" 'berkeley-db 'hash "rw+" 0664))^j
#<database /tmp/data.db (berkeley/hash/readwrite) 0x987>
(put-database "One" '(a b c d) db)^j
  -*KaBoom!*-  (core dumped)

 Hey, I promise I'll read the gdb manual someday...  It might be
within the next several months too.  Really.



--Multipart_Mon_Jul_21_11:28:48_1997-1
Content-Type: text/plain; charset=US-ASCII

Fatal error: assertion failed, file lisp.h, line 848, XGCTYPE (_obj) == Lisp_String

Fatal error (6).

Lisp backtrace follows:

  put-database("One" (a b c d) #<database /tmp/table.db (berkeley/hash/readwrite) 0xc313>)
  eval((put-database "One" (quote (a b c d)) db))
  # bind (expr)
  eval-interactive((put-database "One" (quote (a b c d)) db))
  # bind (stab expr standard-output opoint eval-last-sexp-arg-internal)
  eval-last-sexp(nil)
  # bind (command-debug-status)
  call-interactively(eval-last-sexp)
  # (condition-case ... . error)
  # (catch top-level ...)


--Multipart_Mon_Jul_21_11:28:48_1997-1
Content-Type: text/plain; charset=US-ASCII

bash-2.00$ gdb xemacs 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.16 (i586-debian-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `xemacs'.
Program terminated with signal 6, IOT trap/Abort.
find_solib: Can't read pathname for load map: I/O error

#0  0x4024fea1 in ?? () from /lib/libc.so.6
(gdb) where
#0  0x4024fea1 in ?? () from /lib/libc.so.6
#1  0x8080c2b in fatal_error_signal (sig=6) at emacs.c:211
#2  0xbfffefb4 in ?? ()
#3  0x40250eef in ?? () from /lib/libc.so.6
#4  0x80825c1 in syms_of_emacs () at emacs.c:2198
#5  0x80ae1e3 in berkdb_put (db=0x92d7c40, key=950199104, val=688114860, 
    replace=1479520260) at database.c:463
#6  0x80ae61e in Fputdatabase (key=950199104, val=688114860, dbase=422411328, 
    replace=1479520260) at database.c:663
#7  0x8087eac in primitive_funcall (fn=0x80ae500 <Fputdatabase>, nargs=4, 
    args=0xbffff2b8) at eval.c:3445
#8  0x8088018 in funcall_subr (subr=0x81d3dd4, args=0xbffff2b8) at eval.c:3467
#9  0x8087094 in Feval (form=688114844) at eval.c:3035
#10 0x8087e76 in primitive_funcall (fn=0x80868ae <Feval>, nargs=1, 
    args=0xbffff59c) at eval.c:3442
#11 0x8088018 in funcall_subr (subr=0x81d2b30, args=0xbffff59c) at eval.c:3467
#12 0x808761f in funcall_recording_as (recorded_as=1479602960, nargs=2, 
    args=0xbffff598) at eval.c:3163
#13 0x8087767 in Ffuncall (nargs=2, args=0xbffff598) at eval.c:3203
#14 0x80615ee in Fbyte_code (bytestr=942257236, vector=1210692808, maxdepth=5)
    at bytecode.c:418
#15 0x80885ab in funcall_lambda (fun=405386600, nargs=1, arg_vector=0xbffff81c)
    at eval.c:3572
---Type <return> to continue, or q <return> to quit--- 
#16 0x8087727 in funcall_recording_as (recorded_as=1480385536, nargs=2, 
    args=0xbffff818) at eval.c:3179
#17 0x8087767 in Ffuncall (nargs=2, args=0xbffff818) at eval.c:3203
#18 0x80615ee in Fbyte_code (bytestr=942257592, vector=1210693140, maxdepth=10)
    at bytecode.c:418
#19 0x80885ab in funcall_lambda (fun=405386916, nargs=1, arg_vector=0xbffff97c)
    at eval.c:3572
#20 0x8087727 in funcall_recording_as (recorded_as=1480253176, nargs=2, 
    args=0xbffff978) at eval.c:3179
#21 0x8087767 in Ffuncall (nargs=2, args=0xbffff978) at eval.c:3203
#22 0x806452b in Fcall_interactively (function=1480253176, 
    record_flag=1479520260, keys=1479520260) at callint.c:928
#23 0x808639c in Fcommand_execute (cmd=1480253176, record=1479520260, 
    keys=1479520260) at eval.c:2619
#24 0x80b74d5 in execute_command_event (command_builder=0x83357c0, 
    event=409591388) at event-stream.c:4272
#25 0x80b8682 in Fdispatch_event (event=409591388) at event-stream.c:4613
#26 0x8069bd7 in Fcommand_loop_1 () at cmdloop.c:560
#27 0x80698f5 in command_loop_1 (dummy=1479520260) at cmdloop.c:480
#28 0x80845f0 in condition_case_1 (handlers=1479520340, 
    bfun=0x806988b <command_loop_1>, barg=1479520260, 
    hfun=0x8069d0b <cmd_error>, harg=1479520260) at eval.c:1684
#29 0x8069dde in command_loop_2 (dummy=1479520260) at cmdloop.c:242
---Type <return> to continue, or q <return> to quit--- 
#30 0x8084313 in internal_catch (tag=1479597216, 
    func=0x8069dac <command_loop_2>, arg=1479520260, threw=0x0) at eval.c:1361
#31 0x8069144 in initial_command_loop (load_me=1479520260) at cmdloop.c:291
#32 0x80818db in sort_args (argc=1, argv=0xbffffd80) at emacs.c:1468
#33 0x8081f7f in main (argc=1, argv=0xbffffd80, envp=0xbffffd88)
    at emacs.c:1819
(gdb) 

--Multipart_Mon_Jul_21_11:28:48_1997-1
Content-Type: text/plain; charset=US-ASCII

mailto:karlheg+sig@inetarena.com (Karl M. Hegbloom)
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.3  Linux 2.0.30+parport AMD K5 PR-133

--Multipart_Mon_Jul_21_11:28:48_1997-1--

