Getting a crash with s-nail 14.7.10 as well as master on OpenBSD. When changing folders, sometimes there is a segfault.
Currently, I am using IMAP (gmail) when this occurs. Here is the end of the WANT_DEBUG output showing changing folders successfully a couple times, then the crash in accmacvar.c _var_vcopy and a gdb backtrace showing it's in strlen. Let me know if I can offer more info. Tim. < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] save2str (strings.c:513) < [13] save2str (strings.c:523) < [12] hfield_mult (head.c:768) < [11] name1 (head.c:1259) > [11] _var_oklook (accmacvar.c:806) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) < [11] _var_oklook (accmacvar.c:822) > [11] skin (head.c:917) > [12] addrspec_with_guts (head.c:936) > [13] _addrspec_check (head.c:275) > [14] _var_oklook (accmacvar.c:806) > [15] _var_lookup (accmacvar.c:327) < [15] _var_lookup (accmacvar.c:345) < [14] _var_oklook (accmacvar.c:822) < [13] _addrspec_check (head.c:369) < [12] addrspec_with_guts (head.c:1064) > [12] savestrbuf (strings.c:499) < [12] savestrbuf (strings.c:504) < [11] skin (head.c:925) > [11] is_myname (names.c:728) > [12] _same_name (names.c:83) > [13] _var_oklook (accmacvar.c:806) > [14] _var_lookup (accmacvar.c:327) < [14] _var_lookup (accmacvar.c:345) < [13] _var_oklook (accmacvar.c:822) < [12] _same_name (names.c:98) > [12] _var_oklook (accmacvar.c:806) > [13] _var_lookup (accmacvar.c:327) < [13] _var_lookup (accmacvar.c:345) < [12] _var_oklook (accmacvar.c:822) > [12] lextract (names.c:476) > [13] _extract1 (names.c:221) > [14] yankname (names.c:145) < [14] yankname (names.c:210) > [14] nalloc (names.c:311) > [15] addrspec_with_guts (head.c:936) > [16] savestrbuf (strings.c:499) < [16] savestrbuf (strings.c:504) > [16] _addrspec_check (head.c:275) > [17] _var_oklook (accmacvar.c:806) > [18] _var_lookup (accmacvar.c:327) < [18] _var_lookup (accmacvar.c:345) < [17] _var_oklook (accmacvar.c:822) < [16] _addrspec_check (head.c:369) < [15] addrspec_with_guts (head.c:1064) < [14] nalloc (names.c:380) > [14] yankname (names.c:145) < [14] yankname (names.c:210) < [13] _extract1 (names.c:241) < [12] lextract (names.c:480) > [12] _same_name (names.c:83) > [13] _var_oklook (accmacvar.c:806) > [14] _var_lookup (accmacvar.c:327) < [14] _var_lookup (accmacvar.c:345) < [13] _var_oklook (accmacvar.c:822) < [12] _same_name (names.c:98) > [12] _var_oklook (accmacvar.c:806) > [13] _var_lookup (accmacvar.c:327) < [13] _var_lookup (accmacvar.c:345) < [12] _var_oklook (accmacvar.c:822) > [12] lextract (names.c:476) > [13] _extract1 (names.c:221) > [14] yankname (names.c:145) < [14] yankname (names.c:210) > [14] nalloc (names.c:311) > [15] addrspec_with_guts (head.c:936) > [16] savestrbuf (strings.c:499) < [16] savestrbuf (strings.c:504) > [16] _addrspec_check (head.c:275) > [17] _var_oklook (accmacvar.c:806) > [18] _var_lookup (accmacvar.c:327) < [18] _var_lookup (accmacvar.c:345) < [17] _var_oklook (accmacvar.c:822) < [16] _addrspec_check (head.c:369) < [15] addrspec_with_guts (head.c:1064) < [14] nalloc (names.c:380) > [14] yankname (names.c:145) < [14] yankname (names.c:210) < [13] _extract1 (names.c:241) < [12] lextract (names.c:480) > [12] _same_name (names.c:83) > [13] _var_oklook (accmacvar.c:806) > [14] _var_lookup (accmacvar.c:327) < [14] _var_lookup (accmacvar.c:345) < [13] _var_oklook (accmacvar.c:822) < [12] _same_name (names.c:98) > [12] _var_oklook (accmacvar.c:806) > [13] _var_lookup (accmacvar.c:327) < [13] _var_lookup (accmacvar.c:345) < [12] _var_oklook (accmacvar.c:822) > [12] extract (names.c:465) > [13] _extract1 (names.c:221) > [14] yankname (names.c:145) < [14] yankname (names.c:210) > [14] nalloc (names.c:311) > [15] addrspec_with_guts (head.c:936) > [16] _addrspec_check (head.c:275) > [17] _var_oklook (accmacvar.c:806) > [18] _var_lookup (accmacvar.c:327) < [18] _var_lookup (accmacvar.c:345) < [17] _var_oklook (accmacvar.c:822) < [16] _addrspec_check (head.c:369) < [15] addrspec_with_guts (head.c:1064) > [15] savestrbuf (strings.c:499) < [15] savestrbuf (strings.c:504) < [14] nalloc (names.c:380) > [14] yankname (names.c:145) < [14] yankname (names.c:210) < [13] _extract1 (names.c:241) < [12] extract (names.c:468) > [12] _same_name (names.c:83) > [13] _var_oklook (accmacvar.c:806) > [14] _var_lookup (accmacvar.c:327) < [14] _var_lookup (accmacvar.c:345) < [13] _var_oklook (accmacvar.c:822) < [12] _same_name (names.c:98) < [11] is_myname (names.c:759) > [11] _var_oklook (accmacvar.c:806) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) < [11] _var_oklook (accmacvar.c:822) > [11] realname (head.c:1075) > [12] mime_fromaddr (mime.c:1590) > [13] routeaddr (head.c:846) < [13] routeaddr (head.c:870) > [13] addstr (mime.c:750) < [13] addstr (mime.c:754) > [13] savestr (strings.c:486) < [13] savestr (strings.c:491) < [12] mime_fromaddr (mime.c:1637) < [11] realname (head.c:1180) > [11] _dispc (cmd1.c:615) < [11] _dispc (cmd1.c:643) > [11] colalign (auxlily.c:1084) > [12] bidi_info_create (auxlily.c:1405) < [12] bidi_info_create (auxlily.c:1430) < [11] colalign (auxlily.c:1188) > [11] __subject (cmd1.c:516) > [12] hfield_mult (head.c:745) > [13] setinput (fio.c:709) < [13] setinput (fio.c:733) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] gethfield (head.c:379) < [13] gethfield (head.c:443) > [13] thisfield (head.c:776) < [13] thisfield (head.c:794) > [13] save2str (strings.c:513) < [13] save2str (strings.c:523) < [12] hfield_mult (head.c:768) > [12] mime_fromhdr (mime.c:1462) > [13] charset_get_lc (mime.c:801) > [14] _var_oklook (accmacvar.c:806) > [15] _var_lookup (accmacvar.c:327) < [15] _var_lookup (accmacvar.c:345) < [14] _var_oklook (accmacvar.c:822) < [13] charset_get_lc (mime.c:805) > [13] n_str_add_buf (strings.c:1054) < [13] n_str_add_buf (strings.c:1062) > [13] makeprint (auxlily.c:1200) < [13] makeprint (auxlily.c:1273) < [12] mime_fromhdr (mime.c:1580) < [11] __subject (cmd1.c:539) > [11] colalign (auxlily.c:1084) > [12] bidi_info_create (auxlily.c:1405) < [12] bidi_info_create (auxlily.c:1430) < [11] colalign (auxlily.c:1188) < [10] __hprf (cmd1.c:505) < [ 9] _print_head (cmd1.c:169) > [ 9] srelax (strings.c:429) < [ 9] srelax (strings.c:438) > [ 9] srelax_rele (strings.c:408) < [ 9] srelax_rele (strings.c:418) < [ 8] _headers (cmd1.c:833) < [ 7] print_header_group (cmd1.c:1030) < [ 6] announce (lex.c:1162) < [ 5] c_file (cmd3.c:1046) < [ 4] evaluate (lex.c:1070) > [ 4] tty_addhist (tty.c:619) < [ 4] tty_addhist (tty.c:639) > [ 4] _var_oklook (accmacvar.c:806) > [ 5] _var_lookup (accmacvar.c:327) < [ 5] _var_lookup (accmacvar.c:345) < [ 4] _var_oklook (accmacvar.c:822) > [ 4] imap_newmail (imap.c:2191) < [ 4] imap_newmail (imap.c:2205) > [ 4] sreset (strings.c:336) > [ 5] smemreset (auxlily.c:1876) < [ 5] smemreset (auxlily.c:1890) < [ 4] sreset (strings.c:386) > [ 4] _var_oklook (accmacvar.c:806) > [ 5] _var_lookup (accmacvar.c:327) < [ 5] _var_lookup (accmacvar.c:345) < [ 4] _var_oklook (accmacvar.c:822) > [ 4] getprompt (auxlily.c:707) > [ 5] _var_oklook (accmacvar.c:806) > [ 6] _var_lookup (accmacvar.c:327) < [ 6] _var_lookup (accmacvar.c:345) < [ 5] _var_oklook (accmacvar.c:822) > [ 5] _var_oklook (accmacvar.c:806) > [ 6] _var_lookup (accmacvar.c:327) < [ 6] _var_lookup (accmacvar.c:345) < [ 5] _var_oklook (accmacvar.c:822) > [ 5] _var_oklook (accmacvar.c:806) > [ 6] _var_lookup (accmacvar.c:327) < [ 6] _var_lookup (accmacvar.c:345) < [ 5] _var_oklook (accmacvar.c:822) < [ 4] getprompt (auxlily.c:775) > [ 4] tty_readline (tty.c:582) < [ 4] tty_readline (tty.c:605) > [ 4] savestrbuf (strings.c:499) < [ 4] savestrbuf (strings.c:504) > [ 4] evaluate (lex.c:841) > [ 5] _lex_isolate (lex.c:204) < [ 5] _lex_isolate (lex.c:208) > [ 5] _lex (lex.c:216) < [ 5] _lex (lex.c:223) > [ 5] condstack_isskip (cmd3.c:1249) < [ 5] condstack_isskip (cmd3.c:1252) > [ 5] getrawlist (list.c:1153) > [ 6] savestr (strings.c:486) < [ 6] savestr (strings.c:491) < [ 5] getrawlist (list.c:1252) > [ 5] c_file (cmd3.c:1043) > [ 6] save_mbox_for_possible_qu (quit.c:576) > [ 7] fexpand (fio.c:866) > [ 8] get_shortcut (cmd3.c:1386) < [ 8] get_shortcut (cmd3.c:1391) > [ 8] _var_oklook (accmacvar.c:806) > [ 9] _var_lookup (accmacvar.c:327) < [ 9] _var_lookup (accmacvar.c:345) < [ 8] _var_oklook (accmacvar.c:822) > [ 8] str_concat_csvl (strings.c:595) < [ 8] str_concat_csvl (strings.c:613) < [ 7] fexpand (fio.c:961) < [ 6] save_mbox_for_possible_qu (quit.c:581) > [ 6] setfile (lex.c:441) > [ 7] get_shortcut (cmd3.c:1386) < [ 7] get_shortcut (cmd3.c:1391) > [ 7] fexpand (fio.c:866) > [ 8] get_shortcut (cmd3.c:1386) < [ 8] get_shortcut (cmd3.c:1391) > [ 8] getfold (fio.c:1051) > [ 9] _var_oklook (accmacvar.c:806) > [10] _var_lookup (accmacvar.c:327) < [10] _var_lookup (accmacvar.c:345) < [ 9] _var_oklook (accmacvar.c:822) < [ 8] getfold (fio.c:1055) > [ 8] str_concat_csvl (strings.c:595) < [ 8] str_concat_csvl (strings.c:613) < [ 7] fexpand (fio.c:961) > [ 7] which_protocol (auxlily.c:502) < [ 7] which_protocol (auxlily.c:574) > [ 7] imap_setfile (imap.c:1142) > [ 8] url_parse (urlcrecry.c:599) > [ 9] savestrbuf (strings.c:499) < [ 9] savestrbuf (strings.c:504) > [ 9] savestrbuf (strings.c:499) < [ 9] savestrbuf (strings.c:504) > [ 9] savestrbuf (strings.c:499) < [ 9] savestrbuf (strings.c:504) > [ 9] savestrbuf (strings.c:499) < [ 9] savestrbuf (strings.c:504) < [ 8] url_parse (urlcrecry.c:882) > [ 8] _var_oklook (accmacvar.c:806) > [ 9] _var_lookup (accmacvar.c:327) < [ 9] _var_lookup (accmacvar.c:345) < [ 8] _var_oklook (accmacvar.c:822) > [ 8] _imap_setfile1 (imap.c:1199) > [ 9] disconnected (imap.c:3555) > [10] _var_oklook (accmacvar.c:806) > [11] _var_lookup (accmacvar.c:327) < [11] _var_lookup (accmacvar.c:345) < [10] _var_oklook (accmacvar.c:822) > [10] url_parse (urlcrecry.c:599) > [11] savestrbuf (strings.c:499) < [11] savestrbuf (strings.c:504) < [10] url_parse (urlcrecry.c:882) > [10] savecat (strings.c:532) < [10] savecat (strings.c:540) > [10] _var_voklook (accmacvar.c:865) > [11] _var_revlookup (accmacvar.c:293) > [12] _var_canonify (accmacvar.c:276) > [13] i_strdup (strings.c:553) < [13] i_strdup (strings.c:558) < [12] _var_canonify (accmacvar.c:284) > [12] torek_hash (auxlily.c:585) < [12] torek_hash (auxlily.c:591) < [11] _var_revlookup (accmacvar.c:319) > [11] _var_lookup (accmacvar.c:327) < [11] _var_lookup (accmacvar.c:345) < [10] _var_voklook (accmacvar.c:878) < [ 9] disconnected (imap.c:3569) > [ 9] savestr (strings.c:486) < [ 9] savestr (strings.c:491) > [ 9] _imap_getcred (imap.c:1163) > [10] _var_oklook (accmacvar.c:806) > [11] _var_lookup (accmacvar.c:327) < [11] _var_lookup (accmacvar.c:345) < [10] _var_oklook (accmacvar.c:822) > [10] savecat (strings.c:532) < [10] savecat (strings.c:540) > [10] _var_voklook (accmacvar.c:865) > [11] _var_revlookup (accmacvar.c:293) > [12] _var_canonify (accmacvar.c:276) > [13] i_strdup (strings.c:553) < [13] i_strdup (strings.c:558) < [12] _var_canonify (accmacvar.c:284) > [12] torek_hash (auxlily.c:585) < [12] torek_hash (auxlily.c:591) < [11] _var_revlookup (accmacvar.c:319) > [11] _var_lookup (accmacvar.c:327) < [11] _var_lookup (accmacvar.c:345) < [10] _var_voklook (accmacvar.c:878) > [10] _var_vokset (accmacvar.c:887) > [11] _var_revlookup (accmacvar.c:293) > [12] _var_canonify (accmacvar.c:276) > [13] i_strdup (strings.c:553) < [13] i_strdup (strings.c:558) < [12] _var_canonify (accmacvar.c:284) > [12] torek_hash (auxlily.c:585) < [12] torek_hash (auxlily.c:591) < [11] _var_revlookup (accmacvar.c:319) > [11] _var_set (accmacvar.c:355) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) > [12] _var_vcopy (accmacvar.c:184) < [12] _var_vcopy (accmacvar.c:193) > [12] _var_vfree (accmacvar.c:200) < [12] _var_vfree (accmacvar.c:203) < [11] _var_set (accmacvar.c:405) < [10] _var_vokset (accmacvar.c:892) > [10] ccred_lookup_old (urlcrecry.c:898) > [11] _var_voklook (accmacvar.c:865) > [12] _var_revlookup (accmacvar.c:293) > [13] _var_canonify (accmacvar.c:276) > [14] i_strdup (strings.c:553) < [14] i_strdup (strings.c:558) < [13] _var_canonify (accmacvar.c:284) > [13] torek_hash (auxlily.c:585) < [13] torek_hash (auxlily.c:591) < [12] _var_revlookup (accmacvar.c:319) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) < [11] _var_voklook (accmacvar.c:878) > [11] _var_voklook (accmacvar.c:865) > [12] _var_revlookup (accmacvar.c:293) > [13] _var_canonify (accmacvar.c:276) < [13] _var_canonify (accmacvar.c:284) > [13] torek_hash (auxlily.c:585) < [13] torek_hash (auxlily.c:591) < [12] _var_revlookup (accmacvar.c:319) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) < [11] _var_voklook (accmacvar.c:878) > [11] savestrbuf (strings.c:499) < [11] savestrbuf (strings.c:504) > [11] _var_voklook (accmacvar.c:865) > [12] _var_revlookup (accmacvar.c:293) > [13] _var_canonify (accmacvar.c:276) > [14] i_strdup (strings.c:553) < [14] i_strdup (strings.c:558) < [13] _var_canonify (accmacvar.c:284) > [13] torek_hash (auxlily.c:585) < [13] torek_hash (auxlily.c:591) < [12] _var_revlookup (accmacvar.c:319) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) < [11] _var_voklook (accmacvar.c:878) > [11] savestr (strings.c:486) < [11] savestr (strings.c:491) < [10] ccred_lookup_old (urlcrecry.c:1052) > [10] _var_vokset (accmacvar.c:887) > [11] _var_revlookup (accmacvar.c:293) > [12] _var_canonify (accmacvar.c:276) > [13] i_strdup (strings.c:553) < [13] i_strdup (strings.c:558) < [12] _var_canonify (accmacvar.c:284) > [12] torek_hash (auxlily.c:585) < [12] torek_hash (auxlily.c:591) < [11] _var_revlookup (accmacvar.c:319) > [11] _var_set (accmacvar.c:355) > [12] _var_lookup (accmacvar.c:327) < [12] _var_lookup (accmacvar.c:345) > [12] _var_vcopy (accmacvar.c:184) Segmentation fault (core dumped) (gdb) bt #0 0x00001e17c85a077a in kill () at <stdin>:2 #1 0x00001e15b9110d45 in _nyd_oncrash () from /usr/local/bin/s-nail #2 <signal handler called> #3 strlen () at /usr/src/lib/libc/arch/amd64/string/strlen.S:124 #4 0x00001e15b910bccc in _var_vcopy () from /usr/local/bin/s-nail #5 0x00001e15b910c78d in _var_set () from /usr/local/bin/s-nail #6 0x00001e15b910c806 in _var_vokset () from /usr/local/bin/s-nail #7 0x00001e15b9129134 in _imap_getcred () from /usr/local/bin/s-nail #8 0x00001e15b912bc72 in _imap_setfile1 () from /usr/local/bin/s-nail #9 0x00001e15b912c7fe in imap_setfile () from /usr/local/bin/s-nail #10 0x00001e15b913976b in setfile () from /usr/local/bin/s-nail #11 0x00001e15b911a411 in _c_file () from /usr/local/bin/s-nail #12 0x00001e15b911a54f in c_file () from /usr/local/bin/s-nail #13 0x00001e15b91390c6 in evaluate () from /usr/local/bin/s-nail #14 0x00001e15b9139e82 in commands () from /usr/local/bin/s-nail #15 0x00001e15b914001d in _rcv_mode () from /usr/local/bin/s-nail #16 0x00001e15b91417dc in main () from /usr/local/bin/s-nail Current language: auto; currently asm ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ S-nail-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/s-nail-users
