The notmuch test suite is currently failing on ppc64el (but not on plain
old ppc) because of what looks like this bug.


 % gdb --args ../../notmuch --config=notmuch-config insert
GNU gdb (Debian 7.10-1) 7.10
Copyright (C) 2015 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 "powerpc64le-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ../../notmuch...done.
(gdb) set breakpoint pending on
(gdb) break notmuch_database_add_message
Breakpoint 1 at 0x10024fb0: file lib/database.cc, line 2390.
(gdb) run --config=notmuch-config insert < mail/msg-002 
Starting program: /home/bremner/notmuch-0.21~rc3/notmuch 
--config=notmuch-config insert < mail/msg-002
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
[Inferior 1 (process 10804) exited normally]
(gdb) break notmuch_insert_command
Breakpoint 2 at 0x1000f550: file notmuch-insert.c, line 445.
(gdb) run
Starting program: /home/bremner/notmuch-0.21~rc3/notmuch 
--config=notmuch-config insert < mail/msg-002
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".

Breakpoint 2, notmuch_insert_command (config=<optimized out>, argc=<optimized 
out>, 
    argv=<optimized out>) at notmuch-insert.c:445
445     {
(gdb) break 549
Breakpoint 3 at 0x1000fe44: file notmuch-insert.c, line 549.
(gdb) cont
Continuing.

Breakpoint 3, notmuch_insert_command (config=0x1009e040, argc=<optimized out>, 
    argv=<optimized out>) at notmuch-insert.c:549
549         status = add_file (notmuch, newpath, tag_ops, synchronize_flags, 
keep);
(gdb) s
add_file (keep=0, synchronize_flags=1, tag_ops=0x100a7310, 
    path=0x100cd8e0 
"/home/bremner/notmuch-0.21~rc3/test/tmp.T070-insert/mail/new/1445943068.M434795P11340.plummer",
 notmuch=0x100a76f0) at notmuch-insert.c:386
386         status = notmuch_database_add_message (notmuch, path, &message);
(gdb) s
notmuch_database_add_message (notmuch=0x100a76f0, 
    filename=0x100cd8e0 
"/home/bremner/notmuch-0.21~rc3/test/tmp.T070-insert/mail/new/1445943068.M434795P11340.plummer",
 message_ret=0x3fffffffddd0)
    at lib/database.cc:2401
2401        if (message_ret)
(gdb) bt
#0  notmuch_database_add_message (notmuch=0x100a76f0, 
    filename=0x100cd8e0 
"/home/bremner/notmuch-0.21~rc3/test/tmp.T070-insert/mail/new/1445943068.M434795P11340.plummer",
 message_ret=0x3fffffffddd0)
    at lib/database.cc:2401
#1  0x000000001000fe5c in add_file (keep=0, synchronize_flags=1, 
    tag_ops=0x100a7310, 
    path=0x100cd8e0 
"/home/bremner/notmuch-0.21~rc3/test/tmp.T070-insert/mail/new/1445943068.M434795P11340.plummer",
 notmuch=0x100a76f0) at notmuch-insert.c:386
#2  notmuch_insert_command (config=<optimized out>, argc=<optimized out>, 
    argv=<optimized out>) at notmuch-insert.c:549
#3  0x000000001000a014 in main (argc=<optimized out>, argv=0x3ffffffff528)
    at notmuch.c:421

Reply via email to