unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Error Running "notmuch new"
@ 2011-12-15 18:18 Nathan Edson
  2011-12-15 21:46 ` David Bremner
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Edson @ 2011-12-15 18:18 UTC (permalink / raw)
  To: notmuch-commits

I'm having a problem using notmuch.

When I run "notmuch new" I'm getting the following error:

Processed 1 files (0 files/sec.)    
GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
aborting...
Aborted

Any ideas or tips?  

Thanks!

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

* Re: Error Running "notmuch new"
  2011-12-15 18:18 Error Running "notmuch new" Nathan Edson
@ 2011-12-15 21:46 ` David Bremner
  2011-12-15 21:56   ` Austin Clements
  0 siblings, 1 reply; 6+ messages in thread
From: David Bremner @ 2011-12-15 21:46 UTC (permalink / raw)
  To: Nathan Edson, notmuch

On Thu, 15 Dec 2011 10:18:26 -0800, Nathan Edson <nedson@nedson.net> wrote:
> When I run "notmuch new" I'm getting the following error:
> 
> Processed 1 files (0 files/sec.)    
> GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
> aborting...
> Aborted
Hi Nathan;

That looks like debian/ubuntu. Can you tell us more about your
environment? The version of gmime is usually pretty important.

btw, the right list is notmuch@notmuchmail.org; the other list is just
for automatic messages.

d

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

* Re: Error Running "notmuch new"
  2011-12-15 21:46 ` David Bremner
@ 2011-12-15 21:56   ` Austin Clements
  2011-12-15 22:08     ` Nathan Edson
  0 siblings, 1 reply; 6+ messages in thread
From: Austin Clements @ 2011-12-15 21:56 UTC (permalink / raw)
  To: Nathan Edson; +Cc: notmuch

Quoth David Bremner on Dec 15 at  5:46 pm:
> On Thu, 15 Dec 2011 10:18:26 -0800, Nathan Edson <nedson@nedson.net> wrote:
> > When I run "notmuch new" I'm getting the following error:
> > 
> > Processed 1 files (0 files/sec.)    
> > GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
> > aborting...
> > Aborted
> Hi Nathan;
> 
> That looks like debian/ubuntu. Can you tell us more about your
> environment? The version of gmime is usually pretty important.

A backtrace would also be useful.  Something like

$ gdb --args notmuch new
(gdb) run
... wait until it aborts
(gdb) bt

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

* Re: Error Running "notmuch new"
  2011-12-15 21:56   ` Austin Clements
@ 2011-12-15 22:08     ` Nathan Edson
  2011-12-15 22:22       ` Austin Clements
  0 siblings, 1 reply; 6+ messages in thread
From: Nathan Edson @ 2011-12-15 22:08 UTC (permalink / raw)
  To: Austin Clements; +Cc: notmuch

On Thu, Dec 15, 2011 at 04:56:23PM -0500, Austin Clements wrote:
> Quoth David Bremner on Dec 15 at  5:46 pm:
> > On Thu, 15 Dec 2011 10:18:26 -0800, Nathan Edson <nedson@nedson.net> wrote:
> > > When I run "notmuch new" I'm getting the following error:
> > > 
> > > Processed 1 files (0 files/sec.)    
> > > GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
> > > aborting...
> > > Aborted
> > Hi Nathan;
> > 
> > That looks like debian/ubuntu. Can you tell us more about your
> > environment? The version of gmime is usually pretty important.
> 
> A backtrace would also be useful.  Something like
> 
> $ gdb --args notmuch new
> (gdb) run
> ... wait until it aborts
> (gdb) bt

Hello,

I am running Ubuntu.  Here is what I get:

yabai@newb:~$ gdb --args notmuch new
GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/notmuch...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/notmuch new
[Thread debugging using libthread_db enabled]

GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
aborting...

Program received signal SIGABRT, Aborted.
0xb7fe1424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb7ce7e71 in raise () from /lib/i386-linux-gnu/libc.so.6
#2  0xb7ceb34e in abort () from /lib/i386-linux-gnu/libc.so.6
#3  0xb7e8bf27 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb7e8bf62 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb7e89c3c in g_realloc () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb7e54965 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb7e54d5d in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb7e560c0 in g_byte_array_append () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb7f83c94 in ?? () from /usr/lib/libgmime-2.4.so.2
#10 0xb7f84fbf in ?? () from /usr/lib/libgmime-2.4.so.2
#11 0xb7f85761 in ?? () from /usr/lib/libgmime-2.4.so.2
#12 0xb7f869ea in g_mime_parser_construct_message () from /usr/lib/libgmime-2.4.so.2
#13 0xb7fc40fd in ?? () from /usr/lib/libnotmuch.so.1
#14 0xb7fc1a45 in notmuch_database_add_message () from /usr/lib/libnotmuch.so.1
#15 0x0804f521 in ?? ()
#16 0x080501fe in ?? ()
#17 0x0804c9c0 in ?? ()
#18 0xb7cd3e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
#19 0x0804ba91 in ?? ()
(gdb) quit

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

* Re: Error Running "notmuch new"
  2011-12-15 22:08     ` Nathan Edson
@ 2011-12-15 22:22       ` Austin Clements
  2011-12-15 22:37         ` Nathan Edson
  0 siblings, 1 reply; 6+ messages in thread
From: Austin Clements @ 2011-12-15 22:22 UTC (permalink / raw)
  To: Nathan Edson; +Cc: notmuch

Quoth Nathan Edson on Dec 15 at  2:08 pm:
> Hello,
> 
> I am running Ubuntu.  Here is what I get:
> 
> yabai@newb:~$ gdb --args notmuch new
> GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/bin/notmuch...(no debugging symbols found)...done.
> (gdb) run
> Starting program: /usr/bin/notmuch new
> [Thread debugging using libthread_db enabled]
> 
> GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
> aborting...
> 
> Program received signal SIGABRT, Aborted.
> 0xb7fe1424 in __kernel_vsyscall ()
> (gdb) bt
> #0  0xb7fe1424 in __kernel_vsyscall ()
> #1  0xb7ce7e71 in raise () from /lib/i386-linux-gnu/libc.so.6
> #2  0xb7ceb34e in abort () from /lib/i386-linux-gnu/libc.so.6
> #3  0xb7e8bf27 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #4  0xb7e8bf62 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #5  0xb7e89c3c in g_realloc () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #6  0xb7e54965 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #7  0xb7e54d5d in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #8  0xb7e560c0 in g_byte_array_append () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #9  0xb7f83c94 in ?? () from /usr/lib/libgmime-2.4.so.2
> #10 0xb7f84fbf in ?? () from /usr/lib/libgmime-2.4.so.2
> #11 0xb7f85761 in ?? () from /usr/lib/libgmime-2.4.so.2
> #12 0xb7f869ea in g_mime_parser_construct_message () from /usr/lib/libgmime-2.4.so.2
> #13 0xb7fc40fd in ?? () from /usr/lib/libnotmuch.so.1
> #14 0xb7fc1a45 in notmuch_database_add_message () from /usr/lib/libnotmuch.so.1
> #15 0x0804f521 in ?? ()
> #16 0x080501fe in ?? ()
> #17 0x0804c9c0 in ?? ()
> #18 0xb7cd3e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
> #19 0x0804ba91 in ?? ()
> (gdb) quit

Interesting.  So this is probably a gmime bug, but try running
$ strace -eopen notmuch new

Just before it aborts, you should see a line saying that it's opening
some message in your maildir.  If you can share that message, send the
message file as an attachment.  If you can share just the headers, but
not the body, that's probably enough.

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

* Re: Error Running "notmuch new"
  2011-12-15 22:22       ` Austin Clements
@ 2011-12-15 22:37         ` Nathan Edson
  0 siblings, 0 replies; 6+ messages in thread
From: Nathan Edson @ 2011-12-15 22:37 UTC (permalink / raw)
  To: Austin Clements; +Cc: notmuch

On Thu, Dec 15, 2011 at 05:22:30PM -0500, Austin Clements wrote:
> Quoth Nathan Edson on Dec 15 at  2:08 pm:
> > Hello,
> > 
> > I am running Ubuntu.  Here is what I get:
> > 
> > yabai@newb:~$ gdb --args notmuch new
> > GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
> > Copyright (C) 2010 Free Software Foundation, Inc.
> > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > This is free software: you are free to change and redistribute it.
> > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> > and "show warranty" for details.
> > This GDB was configured as "i686-linux-gnu".
> > For bug reporting instructions, please see:
> > <http://www.gnu.org/software/gdb/bugs/>...
> > Reading symbols from /usr/bin/notmuch...(no debugging symbols found)...done.
> > (gdb) run
> > Starting program: /usr/bin/notmuch new
> > [Thread debugging using libthread_db enabled]
> > 
> > GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
> > aborting...
> > 
> > Program received signal SIGABRT, Aborted.
> > 0xb7fe1424 in __kernel_vsyscall ()
> > (gdb) bt
> > #0  0xb7fe1424 in __kernel_vsyscall ()
> > #1  0xb7ce7e71 in raise () from /lib/i386-linux-gnu/libc.so.6
> > #2  0xb7ceb34e in abort () from /lib/i386-linux-gnu/libc.so.6
> > #3  0xb7e8bf27 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
> > #4  0xb7e8bf62 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
> > #5  0xb7e89c3c in g_realloc () from /lib/i386-linux-gnu/libglib-2.0.so.0
> > #6  0xb7e54965 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
> > #7  0xb7e54d5d in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0
> > #8  0xb7e560c0 in g_byte_array_append () from /lib/i386-linux-gnu/libglib-2.0.so.0
> > #9  0xb7f83c94 in ?? () from /usr/lib/libgmime-2.4.so.2
> > #10 0xb7f84fbf in ?? () from /usr/lib/libgmime-2.4.so.2
> > #11 0xb7f85761 in ?? () from /usr/lib/libgmime-2.4.so.2
> > #12 0xb7f869ea in g_mime_parser_construct_message () from /usr/lib/libgmime-2.4.so.2
> > #13 0xb7fc40fd in ?? () from /usr/lib/libnotmuch.so.1
> > #14 0xb7fc1a45 in notmuch_database_add_message () from /usr/lib/libnotmuch.so.1
> > #15 0x0804f521 in ?? ()
> > #16 0x080501fe in ?? ()
> > #17 0x0804c9c0 in ?? ()
> > #18 0xb7cd3e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
> > #19 0x0804ba91 in ?? ()
> > (gdb) quit
> 
> Interesting.  So this is probably a gmime bug, but try running
> $ strace -eopen notmuch new
> 
> Just before it aborts, you should see a line saying that it's opening
> some message in your maildir.  If you can share that message, send the
> message file as an attachment.  If you can share just the headers, but
> not the body, that's probably enough.

Hello, 
I didn't see it open a message.  Here it is:

yabai@newb:~$ strace -eopen notmuch new
open("/etc/ld.so.cache", O_RDONLY)      = 3
open("/usr/lib/libnotmuch.so.1", O_RDONLY) = 3
open("/usr/lib/libgmime-2.4.so.2", O_RDONLY) = 3
open("/usr/lib/i386-linux-gnu/libgobject-2.0.so.0", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libglib-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/libtalloc.so.2", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libpthread.so.0", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libc.so.6", O_RDONLY) = 3
open("/usr/lib/sse2/libxapian.so.22", O_RDONLY) = 3
open("/usr/lib/i386-linux-gnu/libstdc++.so.6", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libgcc_s.so.1", O_RDONLY) = 3
open("/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0", O_RDONLY) = 3
open("/usr/lib/i386-linux-gnu/libgthread-2.0.so.0", O_RDONLY) = 3
open("/lib/i386-linux-gnu/librt.so.1", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libz.so.1", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libnsl.so.1", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libpcre.so.3", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libuuid.so.1", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libm.so.6", O_RDONLY) = 3
open("/lib/i386-linux-gnu/libdl.so.2", O_RDONLY) = 3
open("/usr/lib/i386-linux-gnu/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY|O_LARGEFILE) = 3
open("/home/yabai/.notmuch-config", O_RDONLY|O_LARGEFILE) = 3
open("/home/yabai/Mail/.notmuch/xapian/flintlock", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
open("/home/yabai/Mail/.notmuch/xapian/iamchert", O_RDONLY|O_LARGEFILE) = 3
open("/home/yabai/Mail/.notmuch/xapian/record.DB", O_RDWR|O_LARGEFILE) = 3
open("/home/yabai/Mail/.notmuch/xapian/record.baseA", O_RDONLY|O_LARGEFILE) = 5
open("/home/yabai/Mail/.notmuch/xapian/record.baseB", O_RDONLY|O_LARGEFILE) = 5
open("/home/yabai/Mail/.notmuch/xapian/spelling.DB", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/yabai/Mail/.notmuch/xapian/synonym.DB", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/yabai/Mail/.notmuch/xapian/termlist.DB", O_RDWR|O_LARGEFILE) = 5
open("/home/yabai/Mail/.notmuch/xapian/termlist.baseA", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/yabai/Mail/.notmuch/xapian/termlist.baseB", O_RDONLY|O_LARGEFILE) = 6
open("/home/yabai/Mail/.notmuch/xapian/position.DB", O_RDWR|O_LARGEFILE) = 6
open("/home/yabai/Mail/.notmuch/xapian/position.baseA", O_RDONLY|O_LARGEFILE) = 7
open("/home/yabai/Mail/.notmuch/xapian/position.baseB", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/home/yabai/Mail/.notmuch/xapian/postlist.DB", O_RDWR|O_LARGEFILE) = 7
open("/home/yabai/Mail/.notmuch/xapian/postlist.baseA", O_RDONLY|O_LARGEFILE) = 8
open("/home/yabai/Mail/.notmuch/xapian/postlist.baseB", O_RDONLY|O_LARGEFILE) = 8
open("/home/yabai/Mail", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 8
open("/home/yabai/Mail/Sent", O_RDONLY|O_LARGEFILE) = 8
open("/etc/localtime", O_RDONLY)        = 9
open("/home/yabai/Mail/Sent", O_RDONLY|O_LARGEFILE) = 9
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
open("/home/yabai/Mail/old.mail", O_RDONLY|O_LARGEFILE) = 8
--- SIGALRM (Alarm clock) @ 0 (0) ---
open("/home/yabai/Mail/old.mail", O_RDONLY|O_LARGEFILE) = 9
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
--- SIGALRM (Alarm clock) @ 0 (0) ---
open("/usr/lib/i386-linux-gnu/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i386-linux-gnu/gconv/gconv-modules", O_RDONLY) = 10

GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
aborting...
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
Aborted

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

end of thread, other threads:[~2011-12-15 22:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-15 18:18 Error Running "notmuch new" Nathan Edson
2011-12-15 21:46 ` David Bremner
2011-12-15 21:56   ` Austin Clements
2011-12-15 22:08     ` Nathan Edson
2011-12-15 22:22       ` Austin Clements
2011-12-15 22:37         ` Nathan Edson

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).