[MDEV-15775] Miss-leading message in error log when writing a core file. Created: 2018-04-04  Updated: 2019-05-01  Resolved: 2019-05-01

Status: Closed
Project: MariaDB Server
Component/s: Server
Affects Version/s: 10.2.12
Fix Version/s: 10.2.24, 10.3.15, 10.4.5

Type: Bug Priority: Minor
Reporter: Jean-François Gagné Assignee: Daniel Black
Resolution: Duplicate Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MDEV-15051 signal handler - output information a... Closed
Relates
relates to MDEV-15051 signal handler - output information a... Closed

 Description   

Hi,

when MariaDB is writing a core file, I have the following in the error log (where /xxx/yyy/zzz/ is my data dir):

Writing a core file at /xxx/yyy/zzz/

However, no core is written there when running with on CentOS Linux release 7.4.1708. The reason is the following:

# cat /proc/sys/kernel/core_pattern
/tmp/coredumps/core.%e.%p

So the core is written to /tmp/coredumps/.

It would be good to fix this error message.

Many thanks,

JFG



 Comments   
Comment by Daniel Black [ 2018-04-04 ]

something like https://github.com/MariaDB/server/pull/537

Comment by Jean-François Gagné [ 2018-04-05 ]

Yes Daniel, exactly this. So this might be a duplicate of MDEV-15051.

Comment by Elena Stepanova [ 2018-07-09 ]

cvicentiu, please feel free to close it as a duplicate of the other one, if that's what it turns out to be.

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