pigeonhole tests crashing in deleteheader.svtest

Michal Hlavinka mhlavink at redhat.com
Thu Mar 28 19:40:55 EET 2019


Hi,

when trying to build dovecot 2.3.5.1 pigeonhole testsuite crashes in

Test case: ./tests/extensions/editheader/deleteheader.svtest:

  1: Test 'Deleteheader - nonexistent' SUCCEEDED
  2: Test 'Deleteheader - nonexistent (match)' SUCCEEDED
  3: Test 'Deleteheader - one' SUCCEEDED
  4: Test 'Deleteheader - two (first)' SUCCEEDED
  5: Test 'Deleteheader - two (last)' SUCCEEDED
  6: Test 'Deleteheader - :index' SUCCEEDED
  7: Test 'Deleteheader - :index :last' SUCCEEDED
  8: Test 'Deleteheader - implicit keep' SUCCEEDED
make: *** [Makefile:1190: 
tests/extensions/editheader/deleteheader.svtest] Segmentation fault 
(core dumped)

Let me know if you need more debug information.
Cheers
Michal Hlavinka

#0  0x00007f9924faea8a in __strlen_sse2 () from /lib64/libc.so.6
#1  0x00007f992514fdd2 in smtp_address_clone (pool=0x7f992528dce0 
<static_system_pool>, src=src at entry=0x7ffd30eace10) at smtp-address.c:632
#2  0x000055f7330916b3 in testsuite_message_set_data 
(mail=0x55f73486f848) at testsuite-message.c:96
#3  0x000055f7330918b9 in testsuite_message_set_file 
(renv=renv at entry=0x55f734856ac0, file_path=<optimized out>) at 
testsuite-message.c:139
#4  0x000055f7330931cc in testsuite_smtp_get 
(renv=renv at entry=0x55f734856ac0, index=<optimized out>) at 
testsuite-smtp.c:171
#5  0x000055f73309566c in cmd_test_message_smtp_operation_execute 
(renv=0x55f734856ac0, address=<optimized out>) at cmd-test-message.c:404
#6  0x00007f992543f371 in sieve_interpreter_operation_execute 
(interp=0x55f734856a68) at sieve-interpreter.c:911
#7  sieve_interpreter_continue (interp=0x55f734856a68, interrupted=0x0) 
at sieve-interpreter.c:949
#8  0x00007f992543f5d1 in sieve_interpreter_run (interp=0x55f734856a68, 
result=<optimized out>) at sieve-interpreter.c:999
#9  0x000055f73308f670 in testsuite_run (msgdata=<optimized out>, 
ehandler=<optimized out>, senv=0x7ffd30eacfa0, sbin=<optimized out>) at 
testsuite.c:73
#10 main (argc=<optimized out>, argv=<optimized out>) at testsuite.c:203

(gdb) up
#1  0x00007f992514fdd2 in smtp_address_clone (pool=0x7f992528dce0 
<static_system_pool>, src=src at entry=0x7ffd30eace10) at smtp-address.c:632
632                     dsize = strlen(src->domain) + 1;

(gdb) p *src
$4 = {localpart = 0x55f73480cdc8 
"/tmp/dsieve-testsuite.1553794316.30960/smtp/0.eml", domain = 0x1 
<error: Cannot access memory at address 0x1>}



More information about the dovecot mailing list