On 22.12.2014 10:20, kmx wrote:
>> On 22.12.2014 10:04, kmx wrote:>> More info from debug build:>>>> Y:\git\perl\win32>..\miniperl.exe -I..\lib -f ..\write_buildcustomize.pl ..>> Attempt to free unreferenced scalar: SV 0x30bee8 at ..\lib/strict.pm >> line 38.>> Assertion failed!>>>> Program: Y:\git\perl\miniperl.exe>> File: ..\gv.c, Line 410>>>> Expression: SvTYPE(gv) == SVt_PVGV || SvTYPE(gv) == SVt_PVLV>>>> This application has requested the Runtime to terminate it in an unusual >> way.>> Please contact the application's support team for more information.>> And even more details from gdb (from breakpoint at ..\gv.c, Line 410):>> Y:\git\perl\win32>gdb ..\miniperl.exe> GNU gdb (GDB) 7.7.1> ...> Reading symbols from ..\miniperl.exe...done.> (gdb) break ..\gv.c:410> Breakpoint 1 at 0x423ca4: file ..\gv.c, line 410.> (gdb) run -I..\lib -f ..\write_buildcustomize.pl ..> Starting program: Y:\git\perl\miniperl.exe -I..\lib -f > ..\write_buildcustomize.pl ..> [New Thread 18264.0x4fe4]>> Breakpoint 1, Perl_gv_init_pvn (gv=0x339378, stash=0x339348, > name=0x632cfa <no_list_state+8570> "main::", len=6, flag...@entry=0) > at ..\gv.c:410> 410 isGV_with_GP_on(gv);> (gdb) bt full> #0 Perl_gv_init_pvn (gv=0x339378, stash=0x339348, name=0x632cfa > <no_list_state+8570> "main::", len=6, flag...@entry=0) at ..\gv.c:410> old_type = 0> doproto = false> proto = <optimized out>> protolen = <optimized out>> proto_utf8 = <optimized out>> has_constant = <optimized out>> exported_constant = <optimized out>> #1 0x0000000000429d3c in Perl_gv_fetchpvn_flags > (namb...@entry=0x632cfa <no_list_state+8570> "main::", > full...@entry=6,> flag...@entry=129, sv_t...@entry=SVt_PVHV) at ..\gv.c:2332> name = 0x632cfa <no_list_state+8570> "main::"> gvp = <optimized out>> len = 6> stash = 0x339348> no_init = 0> no_expand = 0> add = 1> is_utf8 = 0> addmg = false> name_end = 0x632d00 <no_list_state+8576> ""> faking_it = 0> #2 0x0000000000498077 in S_init_main_stash () at perl.c:3601> gv = <optimized out>> #3 S_parse_body (xsinit=0x4, env=0x4013b5 <__tmainCRTStartup+565>) at > perl.c:1828> rsfp = <optimized out>> dosearch = false> doextract = false> argc = 5> minus_f = false> linestr_sv = 0x0> lex_start_flags = 0> argv = 0x332370> scriptname = 0x0> c = <optimized out>> cddir = 0x0> add_read_e_script = false> #4 perl_parse (my_perl=<optimized out>, xsinit=0x4, > xsi...@entry=0x602660 <xs_init>, argc=5, argv=<optimized out>, > env=...@entry=0x0) at perl.c:1605> oldscope = 0> ret = 0> cur_env = {je_prev = 0x698b20 <PL_start_env>, je_buf = {{Part = > {2293176, 24}}, {Part = {2292640, 2293176}}, {Part = {3351408, 5}}, {Part > = {1, 40}},> {Part = {0, 0}}, {Part = {4816387, 3843995738016}}, {Part = > {0, 0}}, {Part = {0, 0}}, {Part = {0, 0}}, {Part = {0, 0}}, {Part = {0, > 0}}, {Part = {> 0, 0}}, {Part = {0, 0}}, {Part = {0, 0}}, {Part = {0, > 0}}, {Part = {0, 0}}}, je_ret = 0, je_mustcatch = false}> #5 0x0000000000615b40 in main (argc=5, argv=0x332370, env=0x332e10) at > ..\miniperlmain.c:120> exitstatus = <optimized out>> i = <optimized out>> (gdb)
And one more observation: after changing
-g -O2 -DDEBUGGING
to
-g -O1 -DDEBUGGING
the crash disappears
--
kmx