当前位置:网站首页>BUG -- coredump使用
BUG -- coredump使用
2022-06-11 21:05:00 【eeeasen】
1、安装gdb
2、编译时添加-g选项。可以在Makefile中给gcc g++后直接写上-g
3、切换到root
4、ulimit -c unlimited
5、echo "core-%e-%t" > /proc/sys/kernel/core_pattern
%p:pid %u:uid %s:产生coredump的信号 %t:时间 %h:主机名 %e:程序名
6、运行程序,等待产生coredump
7、gdb 程序名 core文件
8、使用gdb分析core文件
边栏推荐
- Simple classification example of brain cell membrane equivalent neural network
- Part II data link layer
- Interviewer: what is the event flow and event model in JS?
- 新品发布:国产单电口千兆网卡正式量产!
- [computer exemption] the Internet of things and ubiquitous intelligence research center of Harbin Institute of technology recruits 2023 graduate students (Master, doctoral and direct doctoral) from un
- How to add text on the border in bar code software
- Summary of C language programming knowledge points 01
- Go语言for循环
- go语言的goto语句
- Which Bluetooth headset is better within 500? Inventory of gifts for girls' Day
猜你喜欢
![[data visualization] Apache superset 1.2.0 tutorial (III) - detailed explanation of chart functions](/img/1f/00f2085186971198928b012a3792ea.jpg)
[data visualization] Apache superset 1.2.0 tutorial (III) - detailed explanation of chart functions
Recompile kubeadm to solve the problem of certificate expiration in one year

【数据可视化】使用 Apache Superset 可视化 ClickHouse 数据

使用 float 创建一个网页页眉、页脚、左边的内容和主要内容。

Online excel file parsing and conversion to JSON format

Which Bluetooth headset is better within 500? Inventory of gifts for girls' Day

Wechat applet | rotation chart

JVM方法区

Solution to the problem of PHP strtotime obtaining natural monthly error

Role of RESNET residual block
随机推荐
Part II data link layer
Live broadcast with practice | 30 minutes to build WordPress website with Alibaba cloud container service and container network file system
Chinese text classification based on CNN
File upload vulnerability - simple exploitation 2 (Mozhe college shooting range)
Compilation process of program
Wechat applet Bluetooth development
Solution to unlimited restart of desktop and file explorer
Windows icon display exception resolution. The desktop icon is abnormal, the start menu icon is abnormal, and the taskbar icon is abnormal. Icon cache location.
第一部分 物理层
解决 img 5px 间距的问题
Which Bluetooth headset is better within 500? Inventory of gifts for girls' Day
php pcntl_fork 创建多个子进程解析
为什么需要微服务
The input value "18-20000hz" is incorrect. The setting information is incomplete. Please select a company
Why should I use iwarp, roce V2, nvme of and other protocols for 100g network transmission
RANSAC提取圆柱(MATLAB内置函数)
Unity screenshot
Modify appid of local wechat applet
In idea, run the yarn command to show that the file cannot be loaded because running scripts is disabled on this system
Yintai department store and Taobao tmall jointly create a green fashion show to help "carbon neutrality"