Frederic Bonnard <[email protected]> writes:

> Hi David,
>
>> I tested with gdb 7.10-1 on amd64, and that seems not to be the case.
>> All of the tests end up exiting 255 instead of 0 or 1. I didn't have time
>> to dig deeper than that yet.
>
> I didn't remember the return codes, but on amd64, those tests passed.
> In the meantime, I found the patch for gdb that we need and proposed it to
> gdb debian maintainers :
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803440
>
> Fred

Here is the output for the last part of T070-insert.sh. I've replaced
--batch-quiet with --batch here.  I don't know why the tests would pass
for you and fail here; perhaps it has something to do with the fact that
I am testing in Stretch.


FAIL   error exit when add_message returns OUT_OF_MEMORY
        --- T070-insert.26.expected     2015-11-09 11:24:00.862180256 +0000
        +++ T070-insert.26.output       2015-11-09 11:24:00.862180256 +0000
        @@ -1 +1 @@
        -1
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068240.M825612P17810.zancas",
 message_ret=message_ret@entry=0x7fffffffd040) at lib/database.cc:2390
2390    {
 FAIL   success exit with --keep when add_message returns OUT_OF_MEMORY
        --- T070-insert.27.expected     2015-11-09 11:24:01.254179033 +0000
        +++ T070-insert.27.output       2015-11-09 11:24:01.258179021 +0000
        @@ -1 +1 @@
        -0
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068241.M227729P17820.zancas",
 message_ret=message_ret@entry=0x7fffffffd030) at lib/database.cc:2390
2390    {
 FAIL   error exit when add_message returns XAPIAN_EXCEPTION
        --- T070-insert.28.expected     2015-11-09 11:24:01.658177773 +0000
        +++ T070-insert.28.output       2015-11-09 11:24:01.658177773 +0000
        @@ -1 +1 @@
        -1
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068241.M631592P17833.zancas",
 message_ret=message_ret@entry=0x7fffffffd040) at lib/database.cc:2390
2390    {
 FAIL   success exit with --keep when add_message returns XAPIAN_EXCEPTION
        --- T070-insert.29.expected     2015-11-09 11:24:02.050176550 +0000
        +++ T070-insert.29.output       2015-11-09 11:24:02.050176550 +0000
        @@ -1 +1 @@
        -0
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068242.M23434P17843.zancas",
 message_ret=message_ret@entry=0x7fffffffd030) at lib/database.cc:2390
2390    {
 FAIL   error exit when add_message returns FILE_NOT_EMAIL
        --- T070-insert.30.expected     2015-11-09 11:24:02.450175302 +0000
        +++ T070-insert.30.output       2015-11-09 11:24:02.450175302 +0000
        @@ -1 +1 @@
        -1
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068242.M420963P17856.zancas",
 message_ret=message_ret@entry=0x7fffffffd040) at lib/database.cc:2390
2390    {
 FAIL   success exit with --keep when add_message returns FILE_NOT_EMAIL
        --- T070-insert.31.expected     2015-11-09 11:24:02.842174079 +0000
        +++ T070-insert.31.output       2015-11-09 11:24:02.842174079 +0000
        @@ -1 +1 @@
        -0
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068242.M816610P17866.zancas",
 message_ret=message_ret@entry=0x7fffffffd030) at lib/database.cc:2390
2390    {
 FAIL   error exit when add_message returns READ_ONLY_DATABASE
        --- T070-insert.32.expected     2015-11-09 11:24:03.246172819 +0000
        +++ T070-insert.32.output       2015-11-09 11:24:03.246172819 +0000
        @@ -1 +1 @@
        -1
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068243.M213724P17879.zancas",
 message_ret=message_ret@entry=0x7fffffffd040) at lib/database.cc:2390
2390    {
 FAIL   success exit with --keep when add_message returns READ_ONLY_DATABASE
        --- T070-insert.33.expected     2015-11-09 11:24:03.642171584 +0000
        +++ T070-insert.33.output       2015-11-09 11:24:03.642171584 +0000
        @@ -1 +1 @@
        -0
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068243.M613744P17889.zancas",
 message_ret=message_ret@entry=0x7fffffffd030) at lib/database.cc:2390
2390    {
 FAIL   error exit when add_message returns UPGRADE_REQUIRED
        --- T070-insert.34.expected     2015-11-09 11:24:04.042170336 +0000
        +++ T070-insert.34.output       2015-11-09 11:24:04.042170336 +0000
        @@ -1 +1 @@
        -1
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068244.M9099P17902.zancas",
 message_ret=message_ret@entry=0x7fffffffd040) at lib/database.cc:2390
2390    {
 FAIL   success exit with --keep when add_message returns UPGRADE_REQUIRED
        --- T070-insert.35.expected     2015-11-09 11:24:04.438169100 +0000
        +++ T070-insert.35.output       2015-11-09 11:24:04.438169100 +0000
        @@ -1 +1 @@
        -0
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068244.M407554P17912.zancas",
 message_ret=message_ret@entry=0x7fffffffd030) at lib/database.cc:2390
2390    {
 FAIL   error exit when add_message returns PATH_ERROR
        --- T070-insert.36.expected     2015-11-09 11:24:04.834167865 +0000
        +++ T070-insert.36.output       2015-11-09 11:24:04.834167865 +0000
        @@ -1 +1 @@
        -1
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068244.M807326P17925.zancas",
 message_ret=message_ret@entry=0x7fffffffd040) at lib/database.cc:2390
2390    {
 FAIL   success exit with --keep when add_message returns PATH_ERROR
        --- T070-insert.37.expected     2015-11-09 11:24:05.242166592 +0000
        +++ T070-insert.37.output       2015-11-09 11:24:05.242166592 +0000
        @@ -1 +1 @@
        -0
        +255
Breakpoint 1 at 0x41e9f0: file lib/database.cc, line 2390.
Breakpoint 2 at 0x41e9f8: file lib/database.cc, line 2390.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, notmuch_database_add_message (notmuch=notmuch@entry=0x677100, 
filename=filename@entry=0x699350 
"/home/bremner/software/upstream/notmuch/test/tmp.T070-insert/mail/new/1447068245.M207158P17935.zancas",
 message_ret=message_ret@entry=0x7fffffffd030) at lib/database.cc:2390
2390    {

Reply via email to