Tagged articles
90 articles
Page 1 of 1
Linux Tech Enthusiast
Linux Tech Enthusiast
Jan 17, 2026 · Fundamentals

The Most Stupid Embedded C Bug Ever: A Missing Space That Turned Code Into a Comment

The article walks through a seemingly simple C file‑creation snippet that fails on Windows because Microsoft's tmpfile() uses C:\, then reveals a hidden bug where a stray backslash in a comment and a missing space in an expression silently turn code into comments, illustrating how tiny syntax errors can break cross‑platform programs.

CDebuggingbug
0 likes · 7 min read
The Most Stupid Embedded C Bug Ever: A Missing Space That Turned Code Into a Comment
Java Tech Enthusiast
Java Tech Enthusiast
Nov 5, 2025 · Operations

Why Windows Update Reboots Instead of Shutting Down – and How to Fix the Stubborn Task Manager Bug

This article explains why recent Windows updates can cause a reboot instead of a shutdown, details the new KB5067036 fix for Win11, describes the lingering Task Manager process bug that drains resources, and provides step‑by‑step PowerShell commands and command‑line tricks to permanently resolve the issues.

KB5067036PowerShellTask Manager
0 likes · 7 min read
Why Windows Update Reboots Instead of Shutting Down – and How to Fix the Stubborn Task Manager Bug
Architect's Guide
Architect's Guide
Mar 26, 2025 · Fundamentals

Avoiding the Fixed‑Size List Pitfall of Arrays.asList in Java

This article explains why using Arrays.asList to convert an array into a List can produce an immutable, fixed‑size list that throws UnsupportedOperationException on add or remove operations, illustrates the issue with real‑world incident details, analyzes the internal implementation, and provides a safe replacement using java.util.ArrayList.

ArrayListArrays.asListCollections
0 likes · 9 min read
Avoiding the Fixed‑Size List Pitfall of Arrays.asList in Java
Java Tech Enthusiast
Java Tech Enthusiast
Jan 19, 2025 · Databases

A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process

A simple typo that changed a daily interest rate from 0.00006944444 to 0.00069444444 inflated calculated interest tenfold, went unnoticed because the author self‑approved the SQL update and testing only checked syntax, and the incident underscores the need for rigorous code review, testing, and change‑management procedures for critical data.

BackendCode reviewSQL
0 likes · 12 min read
A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process
IT Services Circle
IT Services Circle
Dec 26, 2024 · Fundamentals

Understanding the JDK Bug in Arrays.asList().toArray() and Its Fix in JDK 9

This article explains a long‑standing JDK bug where Arrays.asList().toArray() returns an Object[] that causes ArrayStoreException when modified, analyzes the underlying implementation differences between java.util.ArrayList and Arrays$ArrayList, and describes how the issue was finally fixed in JDK 9.

ArrayStoreExceptionArrays.asListJDK
0 likes · 9 min read
Understanding the JDK Bug in Arrays.asList().toArray() and Its Fix in JDK 9
Liangxu Linux
Liangxu Linux
Aug 24, 2024 · Fundamentals

How a Simple Data‑Type Conversion Bug Sank the Ariane 5 Rocket

The 1996 Ariane 5 launch failed when a reused navigation code incorrectly converted 64‑bit floating‑point velocity data to a 16‑bit signed integer, causing an overflow that disabled the guidance system and led to the rocket's explosion, highlighting critical software engineering lessons.

Ariane 5Software Engineeringbug
0 likes · 6 min read
How a Simple Data‑Type Conversion Bug Sank the Ariane 5 Rocket
Deepin Linux
Deepin Linux
Aug 16, 2024 · Fundamentals

Understanding Linux Kernel Oops, BUG, and Panic: Debugging Techniques and Tools

This article explains Linux kernel crash diagnostics, covering Oops messages, BUG and BUG_ON macros, the die() and panic() pathways, preparation steps for reproducing bugs, kernel configuration options for debugging, and useful memory‑debugging utilities such as MEMWATCH, YAMD, Electric Fence and strace.

Linux kernelOopsbug
0 likes · 26 min read
Understanding Linux Kernel Oops, BUG, and Panic: Debugging Techniques and Tools
Cognitive Technology Team
Cognitive Technology Team
Jun 10, 2024 · Backend Development

Recursive Update Bug in ConcurrentHashMap.computeIfAbsent Causing Infinite Loop and CPU Spike

The article explains a bug in Java's ConcurrentHashMap.computeIfAbsent that can cause recursive updates and infinite loops, leading to CPU spikes, and shows that newer Java versions throw an IllegalStateException while recommending avoiding nested computeIfAbsent/putIfAbsent calls, with a code example.

BackendConcurrentHashMapJava
0 likes · 3 min read
Recursive Update Bug in ConcurrentHashMap.computeIfAbsent Causing Infinite Loop and CPU Spike
Selected Java Interview Questions
Selected Java Interview Questions
Jun 5, 2024 · Backend Development

Analysis of MyBatis OGNL Concurrency Bug and Workarounds

This article investigates a concurrency bug in MyBatis caused by OGNL expression evaluation using reflection, explains the root cause through stack trace and source code analysis, and proposes solutions such as upgrading MyBatis or avoiding private inner‑class methods like Arrays.asList.

JavaMyBatisOGNL
0 likes · 13 min read
Analysis of MyBatis OGNL Concurrency Bug and Workarounds
Sanyou's Java Diary
Sanyou's Java Diary
Mar 28, 2024 · Backend Development

Why Lombok’s @Builder Drops Default Values and How to Fix It

This article walks through a real‑world NPE caused by Lombok’s @Builder ignoring field initializers, explains the underlying double‑initialisation bug, shows how @Builder.Default restores the defaults, and outlines Lombok’s compile‑time annotation processing mechanism.

Builder PatternCompile-time AnnotationDefault Values
0 likes · 15 min read
Why Lombok’s @Builder Drops Default Values and How to Fix It
DaTaobao Tech
DaTaobao Tech
Mar 15, 2024 · Backend Development

Common Java Development Pitfalls and Solutions

The article surveys frequent Java development mistakes—such as NullPointerExceptions, unsafe object equality, improper null handling, manual mapping errors, thread‑safety and thread‑pool misuse, swallowed exceptions, Spring bean initialization problems, memory leaks, performance traps, and transaction misconfigurations—while offering practical fixes like annotations, Optional, MapStruct, concurrent utilities, immutable wrappers, bounded executors, unified logging, and proper AOP usage.

Javabest practicesbug
0 likes · 18 min read
Common Java Development Pitfalls and Solutions
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 7, 2023 · Frontend Development

Understanding and Fixing the Reset Behavior Issue in Element‑Plus Form Component

This article analyzes why the reset button in an Element‑Plus form clears all fields instead of restoring the initial values, explains the underlying cause related to the onMounted lifecycle timing, and presents several practical solutions—including lifecycle adjustment, patch‑package, component extension, and repository forking—to reliably preserve initial form data in Vue projects.

Element PlusFormVue
0 likes · 7 min read
Understanding and Fixing the Reset Behavior Issue in Element‑Plus Form Component
Goodme Frontend Team
Goodme Frontend Team
Jul 14, 2023 · Frontend Development

Why DingTalk Mini‑Program Development Feels Like a Nightmare (and How to Survive)

The article recounts a team's two‑year deep dive into DingTalk mini‑program development, exposing numerous iOS keyboard bugs, missing APIs, version‑upgrade quirks, performance issues, and inadequate official support, while also sharing workarounds, CI/CD automation tips, and suggestions for platform improvement.

DeploymentDingTalkMini Program
0 likes · 21 min read
Why DingTalk Mini‑Program Development Feels Like a Nightmare (and How to Survive)
Open Source Linux
Open Source Linux
Mar 27, 2023 · Information Security

How a 23.9‑Year‑Old Curl Bug Exposed Critical Cookie Security Flaws

An in‑depth look at the decades‑long curl vulnerability discovered by Daniel Stenberg, tracing its origins in early cookie handling, the dual‑syntax challenges of RFC 6265, the 2022 security report, and the eventual fix that finally closed a 23.9‑year‑old bug.

CVE-2022-35252CookieHTTP
0 likes · 10 min read
How a 23.9‑Year‑Old Curl Bug Exposed Critical Cookie Security Flaws
MaGe Linux Operations
MaGe Linux Operations
Mar 19, 2023 · Information Security

How a 23‑Year‑Old Curl Bug Exposed Cookie Security Flaws

The article recounts the 23.9‑year‑long curl vulnerability discovered by Daniel Stenberg, detailing the early implementation of cookie handling, the challenges of dual cookie syntax, the security bug involving control‑code cookies, and the eventual fix released after nearly nine thousand days.

CVECookieHTTP
0 likes · 10 min read
How a 23‑Year‑Old Curl Bug Exposed Cookie Security Flaws
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2023 · Backend Development

How a Tiny Python Default Argument Bug Sank Digg v4 and What Developers Can Learn

A detailed post‑mortem of Digg's disastrous v4 launch reveals how a Python function with a mutable default argument caused massive cache overloads, forced emergency fixes, and ultimately contributed to the company's downfall, offering crucial lessons for backend engineers on safe defaults and release planning.

BackendPythonSoftware Engineering
0 likes · 9 min read
How a Tiny Python Default Argument Bug Sank Digg v4 and What Developers Can Learn
ITPUB
ITPUB
Feb 18, 2023 · Databases

Why MySQL Unique Index Fails with unique_checks=0 and How to Resolve It

In MySQL 5.7 replication, disabling unique_checks can cause duplicate‑key errors on a unique index that is not a primary key, leading to replication stalls, and this guide explains the root cause, temporary and permanent fixes, and step‑by‑step reproduction instructions.

ReplicationUnique Indexbug
0 likes · 7 min read
Why MySQL Unique Index Fails with unique_checks=0 and How to Resolve It
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 14, 2022 · Databases

Performance Impact of Dropping Large Tables in MySQL 5.7 and 8.0: Bug Analysis and Mitigation

This article investigates a historical MySQL bug where dropping large tables with a sizable buffer pool and Adaptive Hash Index (AHI) can cause severe latency, presents test configurations for 5.7.29 and 8.0.28, compares AHI‑on/off results, shows stack traces, and explains the lazy‑delete fix introduced in 8.0.23.

Adaptive Hash Indexbuffer poolbug
0 likes · 24 min read
Performance Impact of Dropping Large Tables in MySQL 5.7 and 8.0: Bug Analysis and Mitigation
21CTO
21CTO
Oct 12, 2022 · Frontend Development

Why Axios v1.1.0 Broke Thousands of Sites and How to Fix It

An overview of the Axios 1.1.0 release bug that corrupted the package, caused axios.get to become undefined in browsers, and the quick patches (v1.1.1, v1.1.2) that resolved the issue for developers worldwide.

HTTP clientJavaScriptVersion 1.1.0
0 likes · 4 min read
Why Axios v1.1.0 Broke Thousands of Sites and How to Fix It
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 1, 2022 · Databases

MySQL SELECT Query Crash Analysis and Resolution

This article investigates a MySQL crash triggered by a specific SELECT statement, analyzes the stack trace and optimizer behavior that leads to an invalid memory access, and presents three practical solutions including disabling DuplicateWeedout, upgrading MySQL, and normalizing table character sets.

CrashDuplicateWeedoutbug
0 likes · 7 min read
MySQL SELECT Query Crash Analysis and Resolution
Programmer DD
Programmer DD
Jun 25, 2022 · Frontend Development

How a Misused JSON.stringify Almost Cost a Bonus – Lessons Learned

A real‑world story shows how a developer’s incorrect use of JSON.stringify caused a missing form field, broke a page, and nearly cost a year‑end bonus, followed by a detailed explanation of JSON.stringify’s quirks and a robust fix to prevent the issue.

JSONJSON.stringifyJavaScript
0 likes · 11 min read
How a Misused JSON.stringify Almost Cost a Bonus – Lessons Learned
IT Services Circle
IT Services Circle
Jun 18, 2022 · Backend Development

Investigating an Intermittent Fastjson Generic Parsing Bug in a Java Backend

This article recounts a developer's step‑by‑step investigation of an intermittent Fastjson generic‑type parsing error in a Java backend, detailing the initial symptom, debugging process, code examples, discovery of Fastjson’s cached generic handling bug, and the resolution by upgrading to version 1.2.33.

JSONbugfastjson
0 likes · 10 min read
Investigating an Intermittent Fastjson Generic Parsing Bug in a Java Backend
FunTester
FunTester
Apr 13, 2022 · Fundamentals

Why Groovy’s getTest Method Hijacks Your Static Calls – A Deep Dive

An in‑depth analysis reveals how Groovy’s implicit getter feature and method‑resolution rules cause a static method call to be intercepted by a subclass’s getTest method, leading to unexpected output and thread locking during performance testing.

GroovyInheritanceJVM
0 likes · 8 min read
Why Groovy’s getTest Method Hijacks Your Static Calls – A Deep Dive
IT Services Circle
IT Services Circle
Mar 26, 2022 · Backend Development

VSCode C++ Extension 1.9.4 Causes Random Empty Files and File Corruption

A recent bug in the VSCode C++ extension version 1.9.4 randomly creates empty files with invalid code, corrupts existing user and system files, and appears to stem from uninitialized memory usage, but can be avoided by downgrading or disabling the problematic extension.

C++ extensionFile CorruptionVSCode
0 likes · 5 min read
VSCode C++ Extension 1.9.4 Causes Random Empty Files and File Corruption
Sohu Tech Products
Sohu Tech Products
Mar 9, 2022 · Backend Development

Understanding the Spring Transaction Rollback Bug and Its Resolution

This article analyzes a Spring transaction rollback issue caused by the use of pattern‑based exception matching, explains why certain custom exceptions trigger unexpected rollbacks, traces the problem through source code and GitHub issues, and describes how the Spring team fixed it with type‑safe rollback rules and documentation updates.

BackendDocumentationJava
0 likes · 22 min read
Understanding the Spring Transaction Rollback Bug and Its Resolution
Top Architect
Top Architect
Dec 31, 2021 · Backend Development

Understanding the Difference Between yyyy and YYYY in Java Date Formatting

The article explains a subtle Java date‑formatting bug where using the week‑based year pattern (YYYY) can incorrectly display the next calendar year for dates at year‑end, demonstrates the issue with sample code, and clarifies why yyyy should be used for ordinary year representation.

BackendCalendarDate Formatting
0 likes · 5 min read
Understanding the Difference Between yyyy and YYYY in Java Date Formatting
Aikesheng Open Source Community
Aikesheng Open Source Community
Dec 28, 2021 · Databases

MySQL 8.0.18 Crash When Importing Large BLOBs with Semi‑Sync Replication and slave_compressed_protocol Enabled

The article investigates a MySQL 8.0.18 crash that occurs when importing a large create.sql containing longblob data under semi‑synchronous replication, reveals that enabling slave_compressed_protocol together with high‑availability latency checks triggers the failure, and provides a concrete fix by disabling the compressed protocol.

Crashbuglongblob
0 likes · 10 min read
MySQL 8.0.18 Crash When Importing Large BLOBs with Semi‑Sync Replication and slave_compressed_protocol Enabled
Programmer DD
Programmer DD
Dec 26, 2021 · Backend Development

Why 'YYYY-MM-dd' Gives the Wrong Year in Java – The Week‑Based Year Pitfall

The article explains why using the pattern 'YYYY‑MM‑dd' with Java's SimpleDateFormat can produce an incorrect year for dates near the end of the year, demonstrates the issue with a unit test comparing it to the correct 'yyyy‑MM‑dd' pattern, and reveals that the problem stems from the week‑based year semantics of 'Y'.

Date FormattingJavaSimpleDateFormat
0 likes · 5 min read
Why 'YYYY-MM-dd' Gives the Wrong Year in Java – The Week‑Based Year Pitfall
Senior Brother's Insights
Senior Brother's Insights
Nov 28, 2021 · Backend Development

Why @Transactional Fails with parallelStream and How to Fix It

An Excel import that partially succeeds reveals a hidden bug where Spring’s @Transactional annotation doesn’t roll back when using Java 8’s parallelStream, and the article explains the underlying thread‑local transaction mechanics, demonstrates the issue with code, and offers practical solutions and best‑practice guidelines.

JavaParallelStreambug
0 likes · 8 min read
Why @Transactional Fails with parallelStream and How to Fix It
ByteFE
ByteFE
Aug 26, 2021 · Frontend Development

Why React Keys Matter: The Hidden Bug in Dynamic Forms

This article explains why React keys are crucial when rendering lists, demonstrating through a dynamic form example how using array indices as keys can cause bugs when items are added or deleted.

Dynamic FormsKEYSReact
0 likes · 6 min read
Why React Keys Matter: The Hidden Bug in Dynamic Forms
Architecture Digest
Architecture Digest
May 19, 2021 · Backend Development

Why MyBatis Treats Integer 0 as an Empty String in <if> Conditions

When using MyBatis dynamic SQL to filter records by a numeric state field, the framework incorrectly evaluates the condition "state != ''" as false for the integer value 0 because its OGNL expression evaluator treats 0 as equivalent to an empty string, leading to unexpected query results.

Dynamic SQLInteger ComparisonJava
0 likes · 7 min read
Why MyBatis Treats Integer 0 as an Empty String in <if> Conditions
Programmer DD
Programmer DD
May 13, 2021 · Databases

How an Unexpected Primary Key Update Triggered a MySQL Auto‑Increment Bug

A developer encountered a duplicate‑key error caused by an unexpected primary‑key update that overflowed the signed INT limit, exposing a hidden MySQL auto‑increment bug that persisted across normal inserts until a later DDL operation triggered failures, a problem present in Percona 5.6/5.7 but fixed in MySQL 8.0.

Perconaauto_incrementbug
0 likes · 5 min read
How an Unexpected Primary Key Update Triggered a MySQL Auto‑Increment Bug
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 29, 2021 · Backend Development

Investigation of Duplicate Deregistration Bug in Dubbo 2.7.x and Its Fix in Later Versions

The article analyses a duplicate deregistration bug in Apache Dubbo 2.7.0‑2.7.4 caused by shutdown‑hook interactions, demonstrates how it reproduces with custom and open‑source versions, explains the internal debugging steps, and shows that the issue was fixed in Dubbo 2.7.5 onward, offering insights for registry extensions.

DubboRegistryVersion Upgrade
0 likes · 7 min read
Investigation of Duplicate Deregistration Bug in Dubbo 2.7.x and Its Fix in Later Versions
FunTester
FunTester
Nov 25, 2020 · Fundamentals

Why Math.abs(Integer.MIN_VALUE) Returns a Negative Value in Java

The article explains that Math.abs() can return a negative result when applied to Integer.MIN_VALUE because the absolute value exceeds the int range, detailing the two's‑complement representation, overflow behavior, and how the JLS defines the operation.

buginteger-min-valuemath.abs
0 likes · 4 min read
Why Math.abs(Integer.MIN_VALUE) Returns a Negative Value in Java
Aikesheng Open Source Community
Aikesheng Open Source Community
Nov 12, 2020 · Databases

MySQL sys Schema ERROR 1356 Bug When Using mysqldump --all-databases and How to Fix It

The article investigates the MySQL 5.7 sys schema ERROR 1356 caused by mysqldump --all-databases dropping mysql.proc, explains why the bug occurs, cites official documentation and bug reports, and provides four practical solutions including mysql_upgrade, separate sys backups, using --databases, and rebuilding from mysql‑sys.

Database BackupERROR 1356bug
0 likes · 12 min read
MySQL sys Schema ERROR 1356 Bug When Using mysqldump --all-databases and How to Fix It
macrozheng
macrozheng
Aug 13, 2020 · Backend Development

Why JDK 8’s computeIfAbsent Can Deadlock: A Deep Dive into the Bug

This article explores a JDK 8 bug in ConcurrentHashMap’s computeIfAbsent method that can cause an infinite loop, explains how the issue was discovered, reproduces it with test code, analyzes the root cause, and shows the fix introduced in JDK 9.

ConcurrentHashMapJDKbug
0 likes · 16 min read
Why JDK 8’s computeIfAbsent Can Deadlock: A Deep Dive into the Bug
dbaplus Community
dbaplus Community
Jul 15, 2020 · Backend Development

Why RocketMQ Throws TIMEOUT_CLEAN_QUEUE: Deep Dive into Broker Fast-Failure Bug

The article examines a recurring RocketMQ error (TIMEOUT_CLEAN_QUEUE) caused by the broker’s fast‑failure mechanism, explains how the broker queues and thread pools operate, reveals that SYSTEM_BUSY is mistakenly excluded from retry logic—a bug—and proposes both a temporary configuration tweak and a permanent code fix via a PR.

BrokerFast-FailureMessage Queue
0 likes · 8 min read
Why RocketMQ Throws TIMEOUT_CLEAN_QUEUE: Deep Dive into Broker Fast-Failure Bug
ITPUB
ITPUB
Apr 27, 2020 · Databases

Why MySQL 8.0.15 Leaks Internal Temp Files and How Upgrading to 8.0.16 Fixes It

A production MySQL 8.0.15 MGR cluster suffered from massive internal temporary‑table file leaks due to a known bug, which was diagnosed through log analysis and Oracle documentation and resolved by upgrading to MySQL 8.0.16, confirming the issue is version‑specific and not MGR‑related.

MGRbuginternal temporary tables
0 likes · 11 min read
Why MySQL 8.0.15 Leaks Internal Temp Files and How Upgrading to 8.0.16 Fixes It
Java Backend Technology
Java Backend Technology
May 11, 2019 · Fundamentals

Why Bugs Are Inevitable and How to Find Them Faster

The article explores what a bug really is, why bugs inevitably appear in software development, and offers practical strategies—such as effective logging, leveraging debugging tools, and keeping iteration sizes small—to locate and resolve bugs more quickly.

Debuggingbest practicesbug
0 likes · 13 min read
Why Bugs Are Inevitable and How to Find Them Faster
360 Tech Engineering
360 Tech Engineering
Mar 21, 2019 · Fundamentals

Return Code Bugs and Their Fixes in Function Testing

The article examines two typical return‑code bugs encountered during software testing—one where a default success code is unintentionally returned in error scenarios and another where mismatched return‑code checks render error‑handling branches unreachable—offering concrete solutions and best‑practice recommendations.

Exception HandlingSoftware Testingbest practices
0 likes · 4 min read
Return Code Bugs and Their Fixes in Function Testing
360 Quality & Efficiency
360 Quality & Efficiency
Mar 13, 2019 · Fundamentals

Common Return Code Bugs in Function Testing and Their Solutions

The article examines two typical return‑code bugs encountered during white‑box testing—one where error paths mistakenly return a success code and another where callers check the wrong value—explaining their causes and offering concrete remediation guidelines to improve error handling.

Error HandlingSoftware Testingbug
0 likes · 4 min read
Common Return Code Bugs in Function Testing and Their Solutions
dbaplus Community
dbaplus Community
Nov 5, 2017 · Databases

Uncovering Oracle’s Hidden Parse Failures: Why AWR Shows 99% Parse Time

A customer’s Oracle 11g RAC experienced chronic high CPU usage; deep AWR analysis revealed that massive parse time was attributed to mutex waits and a hidden hard‑parse failure caused by a missing column, which triggered Bug 16175381 and forced process spin, ultimately resolved by correcting the faulty SQL.

AWRCPUOracle
0 likes · 10 min read
Uncovering Oracle’s Hidden Parse Failures: Why AWR Shows 99% Parse Time
ITPUB
ITPUB
Jun 11, 2017 · Fundamentals

The Most Stupid C Bug: How a Backslash Turned tmpfile() Into a Comment

This article recounts a baffling C bug where Microsoft's tmpfile() on Windows creates files in C:\, causing a stray backslash to comment out code, and explains how replacing a ternary operator with an if‑else fixed the issue while illustrating common cross‑platform pitfalls.

CDebuggingbug
0 likes · 5 min read
The Most Stupid C Bug: How a Backslash Turned tmpfile() Into a Comment