当前位置:网站首页>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文件
边栏推荐
- 修改本地微信小程序的AppID
- Release of version 5.6 of rainbow, add multiple installation methods, and optimize the topology operation experience
- unity package manager starting server stuck(Unity啟動卡在starting server,然後報錯)
- JMeter load test finds the maximum number of concurrent users (including step analysis)
- 【博弈论-绪论】
- Brain cell membrane equivalent neural network training code
- RANSAC extraction plane (matlab built-in function)
- Space transcriptome experiment | what factors will affect the quality of space transcriptome sequencing during the preparation of clinical tissue samples?
- Explanation of each column output by explain statement
- Live broadcast with practice | 30 minutes to build WordPress website with Alibaba cloud container service and container network file system
猜你喜欢
Recompile kubeadm to solve the problem of certificate expiration in one year

Tensorflow 2. X Getting Started tutorial

周刊02|不瞞你說,我其實是MIT的學生

How to Load Data from CSV (Data Preparation Part)

Online excel file parsing and conversion to JSON format

桌面以及文件资源管理器无限重启的解决

Cs144 lab0 lab1 record

Weekly 02 | pour être honnête, je suis un étudiant du MIT

Part I physical layer

JVM方法区
随机推荐
Pyqt5 technical part - set the default value of qcombobox drop-down box and get the current selection of the drop-down box
Explanation of each column output by explain statement
银泰百货与淘宝天猫联合打造绿色潮玩展,助力“碳中和”
Why should I use iwarp, roce V2, nvme of and other protocols for 100g network transmission
Docker installation redis
Systematically study the recommendation system from a global perspective to improve competitiveness in actual combat (Chapter 8)
新品发布:国产单电口千兆网卡正式量产!
Compilation process of program
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.
Release of version 5.6 of rainbow, add multiple installation methods, and optimize the topology operation experience
JVM方法区
Redis fourth session - redis high performance principle (multiplexing) and high availability analysis (backup, master-slave)
Wechat applet | rotation chart
【博弈论-完全信息静态博弈】 战略式博弈
RANSAC提取平面(MATLAB内置函数)
【数据可视化】Apache Superset 1.2.0教程 (二)——快速入门(可视化王者英雄数据)
桌面以及文件资源管理器无限重启的解决
Obsidian关系图谱如何让节点可以手动拖动
【数据可视化】使用 Apache Superset 可视化 ClickHouse 数据
The scale of the global machine vision market continues to rise. Poe image acquisition card provides a high-speed transmission channel for industrial cameras