unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* notmuch setup: segfault in prompt macro
@ 2010-10-13 13:43 Mike Kelly
  2010-10-13 17:26 ` David Bremner
  2010-10-14 18:18 ` [PATCH] notmuch-setup.c: Initialize getline(3) response_size to 0 Mike Kelly
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Kelly @ 2010-10-13 13:43 UTC (permalink / raw)
  To: notmuch

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-10-29 20:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 13:43 notmuch setup: segfault in prompt macro Mike Kelly
2010-10-13 17:26 ` David Bremner
2010-10-13 17:42   ` Mike Kelly
2010-10-14 18:18 ` [PATCH] notmuch-setup.c: Initialize getline(3) response_size to 0 Mike Kelly
2010-10-29 20:15   ` Carl Worth

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).