Blame test/switch2.awk

Packit 575503
# From spcecdt@armory.com  Tue Jun  3 11:41:49 2003
Packit 575503
# Return-Path: <spcecdt@armory.com>
Packit 575503
# Received: from localhost (skeeve [127.0.0.1])
Packit 575503
# 	by skeeve.com (8.12.5/8.12.5) with ESMTP id h538fVuW018115
Packit 575503
# 	for <arnold@localhost>; Tue, 3 Jun 2003 11:41:49 +0300
Packit 575503
# Received: from actcom.co.il [192.114.47.1]
Packit 575503
# 	by localhost with POP3 (fetchmail-5.9.0)
Packit 575503
# 	for arnold@localhost (single-drop); Tue, 03 Jun 2003 11:41:49 +0300 (IDT)
Packit 575503
# Received: by actcom.co.il (mbox arobbins)
Packit 575503
#  (with Cubic Circle's cucipop (v1.31 1998/05/13) Tue Jun  3 11:41:37 2003)
Packit 575503
# X-From_: spcecdt@armory.com Mon Jun  2 20:17:30 2003
Packit 575503
# Received: from smtp1.actcom.net.il by actcom.co.il  with ESMTP
Packit 575503
# 	(8.11.6/actcom-0.2) id h52HHNY23516 for <arobbins@actcom.co.il>;
Packit 575503
# 	Mon, 2 Jun 2003 20:17:24 +0300 (EET DST)  
Packit 575503
# 	(rfc931-sender: mail.actcom.co.il [192.114.47.13])
Packit 575503
# Received: from f7.net (consort.superb.net [209.61.216.22])
Packit 575503
# 	by smtp1.actcom.net.il (8.12.8/8.12.8) with ESMTP id h52HIHqv028728
Packit 575503
# 	for <arobbins@actcom.co.il>; Mon, 2 Jun 2003 20:18:18 +0300
Packit 575503
# Received: from armory.com (deepthought.armory.com [192.122.209.42])
Packit 575503
# 	by f7.net (8.11.7/8.11.6) with SMTP id h52HHKl31637
Packit 575503
# 	for <arnold@skeeve.com>; Mon, 2 Jun 2003 13:17:20 -0400
Packit 575503
# Date: Mon, 2 Jun 2003 10:17:11 -0700
Packit 575503
# From: "John H. DuBois III" <spcecdt@armory.com>
Packit 575503
# To: arnold@skeeve.com
Packit 575503
# Subject: gawk 3.1.2c coredump
Packit 575503
# Message-ID: <20030602171711.GA3958@armory.com>
Packit 575503
# Mime-Version: 1.0
Packit 575503
# Content-Type: text/plain; charset=us-ascii
Packit 575503
# Content-Disposition: inline
Packit 575503
# User-Agent: Mutt/1.3.28i
Packit 575503
# X-Www: http://www.armory.com./~spcecdt/
Packit 575503
# Sender: spcecdt@armory.com
Packit 575503
# X-SpamBouncer: 1.4 (10/07/01)
Packit 575503
# X-SBClass: OK
Packit 575503
# Status: R
Packit 575503
# 
Packit 575503
#!/usr/local/bin/gawk -f
Packit 575503
BEGIN {
Packit 575503
    switch (substr("x",1,1)) {
Packit 575503
    case /ask.com/:
Packit 575503
	break
Packit 575503
    case "google":
Packit 575503
	break
Packit 575503
    }
Packit 575503
}
Packit 575503
# 
Packit 575503
# The stack says:
Packit 575503
# 
Packit 575503
# #0  0x0806fac2 in r_tree_eval (tree=0x8092000, iscond=0) at eval.c:813
Packit 575503
# #1  0x08070413 in r_tree_eval (tree=0x0, iscond=0) at eval.c:1071
Packit 575503
# #2  0x08070413 in r_tree_eval (tree=0x8092000, iscond=0) at eval.c:1071
Packit 575503
# #3  0x08070413 in r_tree_eval (tree=0x8092000, iscond=0) at eval.c:1071
Packit 575503
# [ this continues on indefinitely - I suppose it ran out of stack eventually ]
Packit 575503
# 
Packit 575503
# 	John
Packit 575503
# -- 
Packit 575503
# John DuBois  spcecdt@armory.com  KC6QKZ/AE  http://www.armory.com/~spcecdt/
Packit 575503
# 
Packit 575503
#