Strj version: STRJ 0.17.92pre0 based on STRC 1.8r21134
Project: attached
To reproduce: cd trans && make nwlj

Strj hangs with 100% cpu. When killed and core dumped, a backtrace gives:

GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-linux-gnu”.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/
Reading symbols from /nix/store/56zs4pzfwf0jki7ygq5rgkr53k22f6i1-user-environment/bin/strj…(no debugging symbols found)…done.
[New Thread 17246]

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /nix/store/idyxdywgw081kzzr2wzlrq1w8c07v3cl-strc-java-0.17.92pre21243/lib/libjava-pp.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/idyxdywgw081kzzr2wzlrq1w8c07v3cl-strc-java-0.17.92pre21243/lib/libjava-pp.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-rtg.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-rtg.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libc-pp.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libc-pp.so
Reading symbols from /nix/store/a88cn7yzl3qncg20hf70iyir9w2636a1-java-front-0.9.1pre20122/lib/libjava-front.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/a88cn7yzl3qncg20hf70iyir9w2636a1-java-front-0.9.1pre20122/lib/libjava-front.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-gpp.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-gpp.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-xtc.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-xtc.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib-native.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib-native.so
Reading symbols from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-runtime.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-runtime.so
Reading symbols from /nix/store/9pq9d484l2dgqapfppwib1swy84ihl34-glibc-2.11.1/lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /nix/store/9pq9d484l2dgqapfppwib1swy84ihl34-glibc-2.11.1/lib/libm.so.6
Reading symbols from /nix/store/4rqcdbd522mqbzffih066zd7cwjhmcnk-aterm-2.5-r21238/lib/libATerm.so...(no debugging symbols found)...done.
Loaded symbols for /nix/store/4rqcdbd522mqbzffih066zd7cwjhmcnk-aterm-2.5-r21238/lib/libATerm.so
Reading symbols from /nix/store/9pq9d484l2dgqapfppwib1swy84ihl34-glibc-2.11.1/lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /nix/store/9pq9d484l2dgqapfppwib1swy84ihl34-glibc-2.11.1/lib/libc.so.6
Reading symbols from /nix/store/9pq9d484l2dgqapfppwib1swy84ihl34-glibc-2.11.1/lib/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /nix/store/9pq9d484l2dgqapfppwib1swy84ihl34-glibc-2.11.1/lib/ld-linux-x86-64.so.2
Core was generated by `strj -i compiler.str -o nwljava -I ../include -I .. -m main-nwl-compiler -la st'.
Program terminated with signal 3, Quit.
#0  0x00002b95d51d5f20 in ATindexOf ()
   from /nix/store/4rqcdbd522mqbzffih066zd7cwjhmcnk-aterm-2.5-r21238/lib/libATerm.so
#0  0x00002b95d51d5f20 in ATindexOf ()
   from /nix/store/4rqcdbd522mqbzffih066zd7cwjhmcnk-aterm-2.5-r21238/lib/libATerm.so
#1  0x00002b95d457de31 in SG_CreateAmbCluster ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so
#2  0x00002b95d4583a2e in SG_DoReductions ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so
#3  0x00002b95d4583c9f in SG_Actor ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so
#4  0x00002b95d4583ed1 in SG_Parse ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so
#5  0x00002b95d4584ffa in SGparseString ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libjustsglr.so
#6  0x00002b95d4107724 in parse_string_pt ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so
#7  0x00002b95d41078f7 in STRSGLR_parse_stream_pt ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so
#8  0x00002b95d40e4391 in parse_stream_pt_1_3 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so
#9  0x00002b95d40e47c6 in lifted54 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so
#10 0x00002b95d47cae46 in finally_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#11 0x00002b95d40e4a18 in parse_xtc_file_pt_2_3 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-sglr.so
#12 0x00002b95d3409326 in lifted211 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#13 0x00002b95d33d5b0c in ps_parse_cached_1_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#14 0x00002b95d33d5d7e in ps_parse_module_trm_0_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#15 0x00002b95d33d605a in parse_stratego_trm_0_1 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#16 0x00002b95d33de38d in pack_parse_stratego_0_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#17 0x00002b95d33de522 in pack_include_pathname_0_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#18 0x00002b95d33de632 in pack_include_from_dir_0_1 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#19 0x00002b95d33de884 in lifted314 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#20 0x00002b95d47c66b7 in lifted1161 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#21 0x00002b95d47f325c in v_254 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#22 0x00002b95d47f3336 in fetch_1_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#23 0x00002b95d47f46d3 in fetch_elem_1_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#24 0x00002b95d340aea1 in pack_stratego_parse_stratego_0_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#25 0x00002b95d340b3f1 in lifted298 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#26 0x00002b95d4810c7e in GnNext_3_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#27 0x00002b95d4810f0a in lifted460 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#28 0x00002b95d47ccedc in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#29 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#30 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#31 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#32 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#33 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#34 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#35 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#36 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#37 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#38 0x00002b95d47ccef2 in while_not_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#39 0x00002b95d47ccf7d in for_3_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#40 0x00002b95d47cdfed in graph_nodes_undef_3_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#41 0x00002b95d33d96c9 in pack_stratego_0_1 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#42 0x00002b95d33d9a5b in pack_stratego_trm_0_1 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#43 0x00002b95d33e4794 in strc_pack_stratego_trm_0_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#44 0x00002b95d340bf51 in lifted504 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#45 0x00002b95d33e336e in log_timed_1_2 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#46 0x00002b95d33e3868 in strc_front_end_0_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#47 0x0000000000414908 in lifted255 ()
#48 0x00000000004187ba in lifted0 ()
#49 0x00002b95d4855920 in dr_scope_1_1 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#50 0x000000000040f5e8 in dr_scope_all_verbose_1_0 ()
#51 0x000000000042b03c in strj_0_0 ()
#52 0x000000000042b160 in strj_or_die_0_0 ()
#53 0x00002b95d4319520 in lifted33 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-xtc.so
#54 0x00002b95d47caf0f in restore_always_2_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-lib.so
#55 0x00002b95d431b7f9 in xtc_temp_files_1_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-xtc.so
#56 0x00002b95d431bac6 in xtc_input_1_0 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstratego-xtc.so
#57 0x000000000041405e in lifted246 ()
#58 0x00002b95d33e336e in log_timed_1_2 ()
   from /nix/store/43ns58h7020sjy6h847a2aiqrvb8rwyl-strategoxt-1.8pre21134/lib/libstrc.so
#59 0x000000000043a2b5 in main_strj_0_0 ()
#60 0x000000000043a3a8 in main_0_0 ()
#61 0x0000000000445fdc in main ()
Submitted by Nathan Bruning on 9 November 2010 at 21:31
nwl.tar.gz9 November 2010 at 21:32

On 9 November 2010 at 21:35 Nathan Bruning commented:

Problem seems to be related to the ac.meta file. Removing this file fixes the problem.


On 10 November 2010 at 10:03 Lennart Kats commented:

It seems to be stuck in SG_CreateAmbCluster, one of the parser functions that handles ambiguities. Is it possible that you used the permissive parse table there? Those don’t work well with the C parser, as it cannot selectively enable/disable the recovery rules.

Log in to post comments