STR-687: pp-aterm crashes on term with blob
Reported by Nicolas. File attached.
martin@linux:~/Desktop> pp-aterm -i term.baf
Segmentation faultmartin@linux:~/Desktop> baffle -wt -i term.baf
prod([opt(sort(“PointerSeq”)),opt(layout),sort(“DirectDeclarator”)],sort(“Declarator”),attrs([term(attributes([((“decl”,“has_amb”),0),((“decl”,“lr_table_in”),Hashtable("000000000004 ")),((“decl”,“kr_fundecl”),0),((“decl”,“is_func”),1),((“decl”,“bu_ids”),[(“r”,“variable”)]),((“decl”,“lr_table_syn”),Hashtable("000000000004)),((“decl”,“name”),“my_sqrt”)])),term(cons(“Declarator-dunno-o_1”))]))martin@linux:~/Desktop> baffle -wt -i term.baf | pp-aterm
Segmentation faultmartin@linux:~/Desktop> sdf-ensugar -i term.baf
Segmentation faultmartin@linux:~/Desktop> cat term.baf | termsize
Submitted on 15 January 2007 at 14:16
internal size : 1639 bytes
text size : 405 bytes
depth : 10
unique symbols : 29
unique terms : 60
allocated bytes : 688248
Issue Log
Log in to post comments