Explain and Diagnose a Segmentation Fault

Quick Overview

Explain how a segmentation fault arises from protected virtual-memory access and why the faulting instruction may be far removed from the original C++ bug. Diagnose it with symbols, core dumps, registers, stack traces, sanitizers, debuggers, memory maps, and focused regression tests.

Explain and Diagnose a Segmentation Fault

Company: Hudson River Trading

Role: Software Engineer

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Technical Screen

Overview: Explain how a segmentation fault arises from protected virtual-memory access and why the faulting instruction may be far removed from the original C++ bug. Diagnose it with symbols, core dumps, registers, stack traces, sanitizers, debuggers, memory maps, and focused regression tests.

Hudson River Trading logo
Hudson River Trading
May 15, 2026
mediumSoftware EngineerTechnical ScreenSoftware Engineering Fundamentals
11
0
Loading...