notmuch setup: segfault in prompt macro

Mike Kelly pioto at pioto.org
Wed Oct 13 06:43:40 PDT 2010


Hi,

While testing Michal Sojka's latest patches, I tried running notmuch
setup, only to find that it segfaults. It does this on a vanilla
branch, too, though:

  #0  0x286e3ba5 in memcpy () from /lib/libc.so.7
  No symbol table info available.
  #1  0x28620f6b in getline () from /lib/libc.so.7
  No symbol table info available.
  #2  0x2862113b in getdelim () from /lib/libc.so.7
  No symbol table info available.
  #3  0x28620f03 in getline () from /lib/libc.so.7
  No symbol table info available.
  #4  0x08053c1c in notmuch_setup_command (ctx=0x288090a0, argc=0, argv=0xbfbfe320) at notmuch-setup.c:121
          response = 0x0
          response_size = 671820800
          config = (notmuch_config_t *) 0x2881e490
          old_other_emails = (char **) 0xbfbfe324
          old_other_emails_len = 0
          other_emails = (GPtrArray *) 0xbfbfe2d8
          i = 671549033
          is_new = 0
          new_tags = (const char **) 0x280ae000
          new_tags_len = 3217023608
  #5  0x0804ec46 in main (argc=2, argv=0xbfbfe318) at notmuch.c:499
          local = (void *) 0x288090a0
          command = (command_t *) 0x806fd00
          i = 0

-- 
Mike Kelly


More information about the notmuch mailing list