Tag

GDB

0 views collected around this technical thread.

Deepin Linux
Deepin Linux
Jun 9, 2025 · Operations

Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know

This comprehensive guide explains what Linux kernel Oops errors are, why they occur, and provides step‑by‑step debugging techniques—including environment setup, kernel configuration, printk usage, BUG macros, GDB, objdump, and memory‑checking tools—to help developers quickly locate and fix Oops issues in custom kernel modules.

GDBLinuxOops
0 likes · 48 min read
Mastering Linux Kernel Oops: Debugging Secrets Every Developer Should Know
Aikesheng Open Source Community
Aikesheng Open Source Community
May 6, 2025 · Databases

Using GDB to Adjust MySQL max_connections Without Restart

This article explains how to troubleshoot and resolve the MySQL "Too many connections" error by using GDB to modify the max_connections parameter on a running MySQL 5.7 instance without restarting, including step‑by‑step commands, sysbench load testing, and two practical methods.

Database TuningGDBMySQL
0 likes · 9 min read
Using GDB to Adjust MySQL max_connections Without Restart
Deepin Linux
Deepin Linux
Mar 28, 2025 · Fundamentals

Comprehensive Guide to Using GDB for Debugging C/C++ Programs

This article provides an in-depth tutorial on the GNU Debugger (GDB), covering its purpose, installation, basic and advanced commands, remote debugging, memory analysis, and practical tips for efficiently debugging C/C++ applications on Linux and Windows platforms.

C++GDBLinux
0 likes · 25 min read
Comprehensive Guide to Using GDB for Debugging C/C++ Programs
IT Services Circle
IT Services Circle
Feb 16, 2025 · Fundamentals

Using GDB Watchpoints to Detect Memory Modifications in C/C++ Programs

This article explains how to set hardware and software watchpoints in GDB to monitor specific memory addresses, demonstrates the technique with a multithreaded C++ example, and describes the underlying CPU debug registers that enable precise detection of reads and writes.

C++GDBdebugging
0 likes · 7 min read
Using GDB Watchpoints to Detect Memory Modifications in C/C++ Programs
Deepin Linux
Deepin Linux
Jan 20, 2025 · Backend Development

Understanding and Analyzing Linux Core Dumps with GDB

This article explains Linux core dump generation, common causes such as null pointer dereference and array overflow, configuration steps, and demonstrates how to analyze core files using GDB with practical code examples and multi‑threaded case studies.

C ProgrammingCore DumpGDB
0 likes · 24 min read
Understanding and Analyzing Linux Core Dumps with GDB
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 22, 2024 · Databases

Analyzing OBServer Crash Logs with observer.log and gdb

This article explains how to locate OBServer crash logs, extract stack traces from observer.log, map memory addresses to source code using addr2line and gdb, identify the faulty function ObMPStmtExecute::copy_or_convert_str, and verify the issue through the OceanBase knowledge base, providing a systematic five‑step approach for rapid crash diagnosis.

DatabaseGDBOceanBase
0 likes · 9 min read
Analyzing OBServer Crash Logs with observer.log and gdb
Deepin Linux
Deepin Linux
Oct 16, 2024 · Fundamentals

Comprehensive Guide to Using GDB for Debugging C/C++ Programs

This article provides a thorough introduction to the GNU Debugger (GDB), covering its core capabilities, startup methods, compilation requirements, a wide range of debugging techniques—including breakpoints, memory inspection, disassembly, reverse execution—and detailed guidance for multithreaded debugging on Linux systems.

C ProgrammingGDBLinux
0 likes · 20 min read
Comprehensive Guide to Using GDB for Debugging C/C++ Programs
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 14, 2024 · Operations

Guide to Installing and Using CGDB for Debugging MySQL on CentOS

This article introduces CGDB, explains how to choose the appropriate GDB version, provides step‑by‑step installation commands for both CGDB and GDB, and demonstrates practical debugging scenarios with MySQL, including attaching to processes, inspecting threads, analyzing core dumps, and adjusting runtime variables.

CGDBGDBLinux
0 likes · 8 min read
Guide to Installing and Using CGDB for Debugging MySQL on CentOS
Deepin Linux
Deepin Linux
Aug 19, 2024 · Fundamentals

Using GDB to Debug Executables Without Debug Information

This article provides a comprehensive guide on how to employ GDB for debugging programs that lack symbol information, covering basic commands, breakpoint techniques, core‑dump analysis, reverse debugging, and a practical example of integrating VSCode, GDB, and QEMU to debug an ARM64 Linux kernel.

GDBLinuxReverse Engineering
0 likes · 33 min read
Using GDB to Debug Executables Without Debug Information
Tencent Architect
Tencent Architect
May 14, 2024 · Fundamentals

Unlocking C++ Object Memory Layout: From Basics to Inheritance and ASLR

This article walks through C++ object memory layout using concrete examples, covering basic data members, methods, private and static members, inheritance (with and without virtual functions), compiler optimizations, and address‑space layout randomization, all demonstrated with GDB inspections and code snippets.

ASLRC++GDB
0 likes · 22 min read
Unlocking C++ Object Memory Layout: From Basics to Inheritance and ASLR
IT Services Circle
IT Services Circle
Mar 5, 2024 · Fundamentals

Why Adding printf Can Hide Segmentation Faults: A Debugging Tale

An amusing yet instructive narrative shows how a C program that crashes with a segmentation fault can appear to work after inserting a printf, explaining that uninitialized local variables contain leftover stack data and that debugging tools like GDB reveal the true cause.

C ProgrammingGDBdebugging
0 likes · 8 min read
Why Adding printf Can Hide Segmentation Faults: A Debugging Tale
Cloud Native Technology Community
Cloud Native Technology Community
Aug 24, 2023 · Information Security

Security Risks of Exposing Private Keys in Istio Service Mesh and Mitigation Approaches

The article analyzes how private keys for workloads uploaded via Istio Ingress gateways can be exposed in plaintext, stored in memory, and extracted using tools like OpenSSL and GDB, and discusses mitigation strategies such as Intel SGX‑based protection.

GDBIstioService Mesh
0 likes · 8 min read
Security Risks of Exposing Private Keys in Istio Service Mesh and Mitigation Approaches
IT Services Circle
IT Services Circle
Feb 9, 2023 · Fundamentals

Understanding C++ Polymorphism: Vtable Layout, Multiple Inheritance, and Thunks

This article explains how C++ implements runtime polymorphism through virtual function tables, analyzes the memory layout of single‑ and multiple‑inheritance classes using gcc and gdb, and clarifies the role of thunks and offset adjustments for correct virtual calls.

C++GDBMultiple Inheritance
0 likes · 20 min read
Understanding C++ Polymorphism: Vtable Layout, Multiple Inheritance, and Thunks
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 22, 2022 · Databases

Debugging OceanBase Observer with VSCode and GDB: A Step‑by‑Step Guide

This article provides a comprehensive, step‑by‑step tutorial on setting up a local VSCode environment, configuring remote GDB, building and deploying the OceanBase observer, and performing source‑level debugging of the observer binary on Linux servers.

Distributed DatabaseGDBObserver
0 likes · 9 min read
Debugging OceanBase Observer with VSCode and GDB: A Step‑by‑Step Guide
IT Services Circle
IT Services Circle
Nov 29, 2022 · Fundamentals

Using GDB Watchpoints to Detect Memory Modifications in C/C++ Programs

This article explains how to use GDB watchpoints to monitor specific memory locations in C/C++ programs, demonstrates setting hardware watchpoints, shows example code with a thread modifying a variable, and details the underlying CPU debug registers that enable real‑time detection of memory reads and writes.

C++GDBdebugging
0 likes · 9 min read
Using GDB Watchpoints to Detect Memory Modifications in C/C++ Programs
DataFunSummit
DataFunSummit
Aug 31, 2022 · Databases

Alibaba Cloud Graph Database (GDB): Product Overview, Capabilities, Execution Engine, and Applications

The article introduces Alibaba Cloud's Graph Database (GDB), detailing its product features, supported query languages, high‑performance and high‑availability architecture, parallel execution engine based on the Volcano model and Morsel‑driven parallelism, and showcases real‑world use cases such as DingTalk friend recommendation and Hema Fresh recommendation.

Alibaba CloudDatabase ArchitectureGDB
0 likes · 10 min read
Alibaba Cloud Graph Database (GDB): Product Overview, Capabilities, Execution Engine, and Applications
DaTaobao Tech
DaTaobao Tech
Jul 22, 2022 · Databases

Using GDB with TinkerPop: Transaction Management and DAO Implementation

The article explains how to integrate Alibaba's Graph Database (GDB) with TinkerPop, compares it to other graph databases, details challenges such as string‑based script construction and missing transaction APIs, and demonstrates two DAO implementations and explicit transaction handling using GdbClient.

GDBJavaTinkerPop
0 likes · 14 min read
Using GDB with TinkerPop: Transaction Management and DAO Implementation
Baidu Intelligent Testing
Baidu Intelligent Testing
Sep 30, 2021 · Fundamentals

Understanding Core Dumps and Debugging Techniques with GDB

This article explains what program core dumps are, how to interpret core‑dump files, and provides detailed GDB debugging techniques—including register inspection, stack frame analysis, variable printing, memory dumping, and handling optimized code—to locate and resolve the root causes of crashes.

C++Core DumpGDB
0 likes · 16 min read
Understanding Core Dumps and Debugging Techniques with GDB