[MDEV-20189] mariabackup segfaults under FreeBSD Created: 2019-07-27  Updated: 2019-09-02

Status: Open
Project: MariaDB Server
Component/s: Backup, mariabackup
Affects Version/s: 10.3.16, 10.4.6
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Chris J.M. Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: backup, crash, mariabackup
Environment:

FreeBSD 12



 Description   

mariabackup keeps segfaulting under FreeBSD 12. I do not recall if it had problems last year under FreeBSD 11. However, it has had issues both with 10.3 and after upgrade to 10.4. My suspicion is that the problem lies in a dependency or some configuration with BSD ports or pkg. However, if it is a bug with Maria itself, I filed it here as well.

One hint I get is that it does not matter if I just pass it the --help command or try to run it with -u root &c: I still get the segfault both ways, so it seems to be something that happens very early on in the command.



 Comments   
Comment by Elena Stepanova [ 2019-07-28 ]

Can you provide the stack trace?

Comment by Chris J.M. [ 2019-07-30 ]

(gdb) bt
#0  0x00000000012d3fc2 in ?? ()
#1  0x6d6f682f7273752f in ?? ()
#2  0x7362656572662f65 in ?? ()
#3  0x62616972616d2f64 in ?? ()
#4  0x00000070756b6361 in ?? ()
#5  0x0000000000000000 in ?? ()

That's what I got from gdb. What other information would you need?

When stepping through in gdb, it crashes very shortly after hitting main.

Generated at Thu Feb 08 08:57:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.