On Fri, Jun 15, 2007 at 07:38:08PM -0500, John Hasler wrote:
> Your script reached 2476393 here before I stopped it.  I'm running Sid on
> i686.

I'm running sid on amd64, with 1GB of RAM (in case that's interesting).
I ran it under gdb, and got:

#0  0x00002b8095eca0c8 in ?? () from /lib/libc.so.6
#1  0x00002b8095ecbe0d in malloc () from /lib/libc.so.6
#2  0x00000000004048d2 in bc_new_num (length=2, scale=2) at number.c:73
#3  0x0000000000404e5e in _bc_do_add (n1=0x60a170, n2=0x60a760, scale_min=1)
    at number.c:350
#4  0x00000000004050af in bc_add (n1=0x2b80961a6960, n2=0x2, 
    result=0x7fff1466d168, scale_min=0) at number.c:589
#5  0x0000000000403974 in dc_add (a=0x60a170, b=0x60a760, 
    kscale=<value optimized out>, result=0x7fff1466d168) at numeric.c:72
#6  0x0000000000402fd4 in dc_binop (op=0x403940 <dc_add>, kscale=0)
    at stack.c:100
#7  0x0000000000401b2c in dc_func (c=43, peekc=115, negcmp=0) at eval.c:166
#8  0x00000000004017bd in dc_evalstr (string=0x7fff1466d370) at eval.c:547
#9  0x0000000000401a06 in dc_eval_and_free_str (string=0x2b80961a6960)
    at eval.c:124
#10 0x0000000000401ab7 in dc_func (c=<value optimized out>, peekc=48, negcmp=0)
    at eval.c:375
#11 0x00000000004017bd in dc_evalstr (string=0x7fff1466d500) at eval.c:547
#12 0x0000000000401a06 in dc_eval_and_free_str (string=0x2b80961a6960)
    at eval.c:124
#13 0x0000000000401ab7 in dc_func (c=<value optimized out>, peekc=-1, negcmp=0)
    at eval.c:375
#14 0x00000000004017bd in dc_evalstr (string=0x7fff1466d690) at eval.c:547

It continues this way for several thousand frames.  Note that I tried to
build with DEB_BUILD_OPTIONS=noopt,nostrip , but it seems that bc
doesn't support that, so I hacked debian/rules to remove dh_strip and
the -s flag from install.

Please let me know if I can be of further assistance.

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
Screw you, AACS LA: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature

Reply via email to