You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106 #1 0x0000000000409cc2 in xstrdup (s=0x7fff0040a635 <error: Cannot access memory at address 0x7fff0040a635>) at ini/dictionary.c:68 #2 0x0000000000408d87 in iniparser_getstring (d=0x60f280, key=0x7fff0040a635 <error: Cannot access memory at address 0x7fff0040a635>, def=0x0)
at ini/iniparser.c:368 #3 0x0000000000401c02 in ini_get_string (c=0x60e010) at ini/ini_config.c:77 #4 0x000000000040115f in ini_test () at test_libconfig.c:41 #5 0x00000000004011e2 in main (argc=1, argv=0x7fffffffe598) at test_libconfig.c:96
(gdb) f 3 #3 0x0000000000401c02 in ini_get_string (c=0x60e010) at ini/ini_config.c:77
77 ret = iniparser_getstring(ini, type_list[cnt-1].cval, NULL);
(gdb) p type_list
$1 = (struct int_charp *) 0x60f080
(gdb) p *type_list
$2 = {type = 1, {ival = 4236853, cval = 0x7fff0040a635 <error: Cannot access memory at address 0x7fff0040a635>}}
The text was updated successfully, but these errors were encountered:
96 ini_test();
(gdb) n
ini_test
year = 2019
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106 ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0 strlen () at ../sysdeps/x86_64/strlen.S:106
#1 0x0000000000409cc2 in xstrdup (s=0x7fff0040a635 <error: Cannot access memory at address 0x7fff0040a635>) at ini/dictionary.c:68
#2 0x0000000000408d87 in iniparser_getstring (d=0x60f280, key=0x7fff0040a635 <error: Cannot access memory at address 0x7fff0040a635>, def=0x0)
at ini/iniparser.c:368
#3 0x0000000000401c02 in ini_get_string (c=0x60e010) at ini/ini_config.c:77
#4 0x000000000040115f in ini_test () at test_libconfig.c:41
#5 0x00000000004011e2 in main (argc=1, argv=0x7fffffffe598) at test_libconfig.c:96
(gdb) f 3
#3 0x0000000000401c02 in ini_get_string (c=0x60e010) at ini/ini_config.c:77
77 ret = iniparser_getstring(ini, type_list[cnt-1].cval, NULL);
(gdb) p type_list
$1 = (struct int_charp *) 0x60f080
(gdb) p *type_list
$2 = {type = 1, {ival = 4236853, cval = 0x7fff0040a635 <error: Cannot access memory at address 0x7fff0040a635>}}
The text was updated successfully, but these errors were encountered: