MINICOREDUMPER.RECEPT.JSON(5)
π minicoredumper.recept.json β the recept file for minicoredumper(8) π
okay bestie, sit down, hydrate, because this is the manual page for minicoredumper.recept.json(5) β the lil JSON glow-up file that tells minicoredumper(8) how to behave when everything is on fire. π₯
β¨ NAME β¨
minicoredumper.recept.json β a recept file used by the minicoredumper(8)
πΈ DESCRIPTION πΈ
A recept configuration file defines the dump behavior of the minicoredumper(8). no cap.
minicoredumper.recept.json is just a sample recept file name β a vibe reference, not a fixed destiny. The actual name depends on the recept option in the main configuration file minicoredumper.cfg.json(5). so like, you can call it whatever, the main config gets a say. π
π¦ FILE FORMAT π¦
It's JSON, babes. The options are:
stacks(list) β a set of options specifying how and which stacks are to be dumped. See STACKS for details about the available options. βmaps(list) β a set of options specifying shared objects, whose virtual memory areas should also be dumped. See MAPS for details about the available options.buffers(array) β a set of buffers, each specifying global data within the application that should also be dumped. See BUFFERS for configuration options for a buffer. πcompression(list) β a set of options specifying if and what type of compression should be used for thecore(5)file. See COMPRESSION for details about the available options.dump_auxv_so_list(boolean) β whether the shared object list should be dumped. This is used bygdb(1)to determine which shared objects were linked and to which address they were mapped.dump_pthread_list(boolean) β whether the pthread list should be dumped. This is used bygdb(1)to identify and iterate through all the threads.dump_robust_mutex_list(boolean) β whether the list of robust mutexes should be dumped. This is used bygdb(1)to identify mutex attributes and states in shared memory.dump_scope(integer) β only registered dumps at or below this value will be dumped.live_dumper(boolean) β whether theminicoredumper(8)should trigger all registeredlibminicoredumper(7)applications when a dump occurs.write_proc_info(boolean) β whether interesting/procfiles should be copied to the dump directory.write_debug_log(boolean) β whetherminicoredumper(8)messages should be logged to"debug.txt"in the dump directory. This is particularly useful ifsyslog(3)is not available on the system.dump_fat_core(boolean) β whether all virtual memory areas should be dumped. This will generate a separate"fatcore"file that is typically larger than the default Linuxcore(5)files. This is really only useful for debuggingminicoredumper(8).
π STACKS π
The stacks option specifies a set of options related to dumping stacks. The options are:
dump_stacks(boolean) β whether stack dumping should occur. If this option is false, all other stacks options are ignored. πfirst_thread_only(boolean) β whether only the stack of the crashing thread should be dumped.max_stack_size(integer) β the maximum stack size in bytes to dump.0for no limit.
The minicoredumper(8) only dumps the actual used part of a stack area. If a stack is truncated because of the max_stack_size option, the bottommost part of the used stack is dumped (i.e. the part of the stack that includes the function that caused the core dump). iconic behavior honestly. π
π§ MAPS π§
The maps option specifies a set of options for shared objects, whose virtual memory areas should also be dumped. This is useful if the shared objects maintain their own static off-stack data that will be required during debugging. The options are:
dump_by_name(array of strings) β shared object names to be dumped. The names can contain the*character for wildcard matching. β¨
Although not critical, gdb(1) often tries to access data from the "[vdso]" virtual shared object. If this is not dumped, gdb(1) may complain with the warning:
Failed to read a valid object file image from memory.
π BUFFERS π
The buffers option specifies an array of buffers, with each buffer specifying global data within the application that should also be dumped. The options for each specified buffer are:
symname(string) β the name of the global variable/symbol.follow_ptr(boolean) β whether the global variable is a pointer and the data pointed to by that pointer should be dumped.data_len(integer) β the size of the global variable in bytes. Iffollow_ptris true, this is the size of the data pointed to.ident(string) β an optional string to identify the binary dump later. This corresponds to theidentargument of themcd_dump_data_register_bin(3)function oflibminicoredumper(7). It must be unique! If specified, the data will be dumped to an external file named ident instead of thecore(5)file. This data can be inserted into thecore(5)file later using thecoreinject(1)tool.
π«Ά bestie, note the exclamation marks: It must be unique! that is not a suggestion.
π COMPRESSION π
The compression option specifies a set of options related to compression of the core(5) file. The options are:
compressor(string) β use a compressor to compress thecore(5)file. The compressor must support stdin as input and stdout as output. Examples of such compressors aregzip(1),bzip2(1),xz(1),cat(1). Either the full path to the compressor can be specified or just the compressor filename if the compressor can be found in the default search path. The uncompressedcore(5)file and (if enabled) the sparse tar archive are created in memory. Thus thecompressoroption can be very useful if very limited dump space is available. π (and yes,cat(1)counts as a compressor, that's the joke, it ate.)extension(string) β the file extension of the compressed tar archive. It is appended to the filename"core.tar."as a convenience to the user. If not specified,"compressed"will be appended.in_tar(boolean) β whether thecore(5)file should be packed as a sparse file into atar(1)archive before being compressed. This preserves the sparse properties of thecore(5)file. If enabled, a compressor must be specified.
π NOTES π
The dump_auxv_so_list, dump_pthread_list, dump_robust_mutex_list options should generally be set to true. They provide important information to gdb(1) and require a relatively small dump space.
π genuinely, just leave these on. it's giving free real estate.
β EXAMPLE β
Here is an example of a recept file:
{
"stacks": {
"dump_stacks": true,
"first_thread_only": true,
"max_stack_size": 16384
},
"maps": {
"dump_by_name": [
"*my_lib_to_debug*so*",
"[vdso]"
]
},
"buffers": [
{
"symname": "my_allocated_struct",
"follow_ptr": true,
"data_len": 42
},
{
"symname": "my_short",
"follow_ptr": false,
"data_len": 2,
"ident": "my_short_data.bin"
}
],
"compression": {
"compressor": "gzip",
"extension": "gz",
"in_tar": true
},
"dump_auxv_so_list": true,
"dump_pthread_list": true,
"dump_robust_mutex_list": true,
"dump_scope": 8,
"live_dumper": false,
"write_proc_info": true,
"write_debug_log": false,
"dump_fat_core": false
}
π SEE ALSO π
minicoredumper(8), libminicoredumper(7), minicoredumper.cfg.json(5), coreinject(1), minicoredumper_regd(8)
The DiaMon Workgroup: <http://www.diamon.org>
that's the whole page, bestie, you understood it, I'm so proud. π this is the minicoredumper manual, dated 2016-09-08 β go forth and configure slayfully. β¨π¦πΈ
π¦ where this page comes from
- ubuntu stonking: minicoredumper 2.0.8-1 Β· BSD-2-Clause
- π the page's license: BSD-2-Clause
- Copyright (c) 2015-2026 Linutronix GmbH. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms