[exim-dev] [Bug 2838] exim binary crashes during testsuite w…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: admin
Datum:  
To: exim-dev
Betreff: [exim-dev] [Bug 2838] exim binary crashes during testsuite with Bus Error on SPARC due to alignment issues
https://bugs.exim.org/show_bug.cgi?id=2838

--- Comment #8 from John Paul Adrian Glaubitz <glaubitz@???> ---
(In reply to Jeremy Harris from comment #7)
> Stack for that? Also, please add "CFLAGS += -ggdb -O0" to the top of your
> Local/Makefile - then "make distclean" and rebuild.


It looks like the function pointer "private_malloc" is the problem as it's not
on a 64-bit address.

I have built with the suggested CFLAGS now and get this backtrace:

(gdb) bt
#0  pcre2_general_context_create_8 (private_malloc=0x10000064a44
<function_store_malloc>, 
    private_free=0x10000064a9c <function_store_free>, memory_data=0x0) at
src/pcre2_context.c:123
#1  0x0000010000064cc8 in pcre_init () at exim.c:128
#2  0x0000010000067ca4 in main (argc=1, cargv=0x7fefffff4f8) at exim.c:1747
(gdb)


(gdb) info frame
Stack level 0, frame at 0x7fefffbe960:
 pc = 0xfff8000100d38704 in pcre2_general_context_create_8
(src/pcre2_context.c:123); saved pc = 0x10000064cc8
 called by frame at 0x7fefffbea10
 source language c.
 Arglist at 0x7fefffbe960, args: private_malloc=0x10000064a44
<function_store_malloc>, 
    private_free=0x10000064a9c <function_store_free>, memory_data=0x0
 Locals at 0x7fefffbe960, Previous frame's sp in fp
 Saved registers:
  l0 at 0x7fefffbe960, l1 at 0x7fefffbe968, l2 at 0x7fefffbe970, l3 at
0x7fefffbe978, l4 at 0x7fefffbe980, l5 at 0x7fefffbe988,
  l6 at 0x7fefffbe990, l7 at 0x7fefffbe998, i0 at 0x7fefffbe9a0, i1 at
0x7fefffbe9a8, i2 at 0x7fefffbe9b0, i3 at 0x7fefffbe9b8,
  i4 at 0x7fefffbe9c0, i5 at 0x7fefffbe9c8, fp at 0x7fefffbe9d0, i7 at
0x7fefffbe9d8
(gdb)


--
You are receiving this mail because:
You are on the CC list for the bug.