VOOZH about

URL: https://bugzilla.mozilla.org/2036199

⇱ 2036199 - Breakpad build failed on Windows using VS2026 due to removal of stdext


Closed Bug 2036199 Opened 1 month ago Closed 1 month ago

Breakpad build failed on Windows using VS2026 due to removal of stdext

Breakpad build failed on Windows using VS2026 due to removal of stdext
Toolkit
Crash Reporting
Trunk
Unspecified
Unspecified
defect
Points:
---
RESOLVED FIXED
RESOLVED
FIXED
152 Branch
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Webcompat Priority
Webcompat Score
Tracking Status
firefox152 --- fixed
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr115
firefox-esr140
firefox-esr153
firefox152
firefox153
firefox154
---
QA Whiteboard:
[qa-triage-done-c153/b152]
Has STR:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 
Assignee

Description

1 month ago

Steps to reproduce:

Clone and build Firefox/Thunderbird as instructed by the official documentation.

Actual results:

40:37.85 E E:/source/3rdp/thunderbird-src/toolkit/crashreporter/breakpad-client/windows/crash_generation/minidump_generator.cc(180,21): error: no member named 'checked_array_iterator' in namespace 'stdext'
40:37.85 E 180 | stdext::checked_array_iterator<AVRF_HANDLE_OPERATION*>(
40:37.86 E | ~~~~~~~~^
40:37.86 E E:/source/3rdp/thunderbird-src/toolkit/crashreporter/breakpad-client/windows/crash_generation/minidump_generator.cc(180,44): error: unexpected type name 'AVRF_HANDLE_OPERATION': expected expression
40:37.86 E 180 | stdext::checked_array_iterator<AVRF_HANDLE_OPERATION*>(
40:37.86 E | ^
40:37.87 E E:/source/3rdp/thunderbird-src/toolkit/crashreporter/breakpad-client/windows/crash_generation/minidump_generator.cc(180,66): error: expected expression
40:37.87 E 180 | stdext::checked_array_iterator<AVRF_HANDLE_OPERATION*>(
40:37.87 E |
 ^
40:37.88 E mozmake[4]: *** [E:/source/3rdp/thunderbird-src/config/rules.mk:666: minidump_generator.obj] Error 1
40:37.90 E mozmake[4]: *** Waiting for unfinished jobs....
40:38.24 toolkit/system/windowsproxy
40:39.88 E mozmake[3]: *** [E:/source/3rdp/thunderbird-src/config/recurse.mk:72: toolkit/crashreporter/breakpad-windows-libxul/target-objects] Error 2
40:39.88 E mozmake[3]: *** Waiting for unfinished jobs....
40:48.79 W 4 warnings generated.
40:59.79 E mozmake[2]: *** [E:/source/3rdp/thunderbird-src/config/recurse.mk:34: compile] Error 2
40:59.79 E mozmake[1]: *** [E:/source/3rdp/thunderbird-src/config/rules.mk:357: default] Error 2
40:59.79 E mozmake: *** [client.mk:58: build] Error 2
40:59.90 W 419 compiler warnings present.

Expected results:

The build successfully with the crash reporter enabled.

A patch will be submitted.

Assignee

Comment 2

1 month ago

stdext::checked_array_iterator is deprecated and made unavailable on
recent MSVC release, including VS2026 Insider.

This commit modernized the serialization of minidump data in
HandleTraceData::CollectHandleData.

Assignee: nobody → chariri
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: -- → S3

Comment 4

1 month ago
bugherder
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
QA Whiteboard: [qa-triage-done-c153/b152]
You need to log in before you can comment on or make changes to this bug.