c - lua inside function appears segfault -


code:

    m_l = lual_newstate();     if(m_l==null)     {         return -1;     }     lual_openlibs(m_l); 

i use gdb test code, when runs lual_openlibs(m_l); gdb tell me program received signal sigsegv, segmentation fault. luah_getstr (t=0x7fa950, key=0x7cc2e0) @ ltable.c:458 458 if (ttisstring(gkey(n)) && rawtsvalue(gkey(n)) == key)) don't knwo how fix it. please me out.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -