Fatal when trying to use typedefs
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1546
Reported by Martin Stjernholm mast@roxen.com
Tried to use typedefs in a pike module in Roxen 2.2 with Pike 7.2 but it doesn't seem to work too well with the program dumping:
/home/mast/Pike/7.2/src/encode.c:274: Fatal error:
error in type string.
The part of the backtrace that seems relevant:
/.../
#8 0x80b5f43 in debug_fatal () at /home/mast/Pike/7.2/src/error.c:523
#9 0x80a7561 in encode_type (t=0x82dc558 "\a", data=0x80460d0)
at /home/mast/Pike/7.2/src/encode.c:274
#10 0x80a9b76 in encode_value2_ (val=0xdf997120, data=0x80460d0)
at /home/mast/Pike/7.2/src/encode.c:691
#11 0x80aa0c2 in f_encode_value (args=2) at
/home/mast/Pike/7.2/src/encode.c:744
#12 0x808352b in mega_apply (type=APPLY_SVALUE, args=2, arg1=0x8318ca4,
arg2=0x0)
at /home/mast/Pike/7.2/src/interpret.c:995
/.../