ES /docs

[CupixAerialMap] postprocess fail VipsJpeg: Corrupt JPEG data: premature end of data segment

Service
aerial-map-service
Occurrences
3
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
d913e019-5ded-4587-8f04-51a70354ddb9
First Seen
2026-07-21 15:03 UTC
Last Seen
2026-07-31 16:32 UTC
Actions

[CupixAerialMap] postprocess fail VipsJpeg: Corrupt JPEG data: premature end of data segment

What Happened#

2026-07-22 00:03:35 KST 에 production aerial-map-service 의 postprocess Fargate task 가 sharp/libvips JPEG 디코딩 단계에서 VipsJpeg: Corrupt JPEG data: premature end of data segment 로 실패했다. aerial map 546 (pix4d project 2814054) 의 후처리 파이프라인이 report, flight_path 단계까지 정상 완료된 뒤 aerial photo 썸네일 생성 단계에서 중단되었으며 해당 postprocess task 는 exit code 1 로 종료되었다.

Quick Facts#

Field Value
exception.class Error (libvips 로부터 전달됨)
exception.message VipsJpeg: Corrupt JPEG data: premature end of data segment
top_frame applications/aerial-map-service/src/code/src/common/util.ts:290-306 (createThumbnail)
runtime Node.js on Fargate, sharp (libvips)
env production, us-west-2

Affected Teams#

Team / Domain Error Count Impact
aerial-map-service 2 (본 클러스터 + 41be567a-8c5e-4e93-8086-00695852a09e) aerial map 546 후처리 실패 — 사용자에게 결과 미노출, AMB720 코드로 상태 저장

두 클러스터는 동일 실행에서 발생한 서로 다른 log line (top-level catch vs 내부 catch) 이며 실제 후처리 실패 건수는 1건이다.

Timeline#

  1. 2026-07-22 00:02:17 KST — postprocess Fargate task 기동, workspace /workspace/1784646137444 생성, memory limit 8192 MB (Datadog info log)
  2. 2026-07-22 00:02:20 KST — pix4d 결과 목록 수신 (report_pdf, report_json, flight_path, thumbnail 등 포함)
  3. 2026-07-22 00:02:23 KSTpix4d report output post-processed
  4. 2026-07-22 00:02:24 KSTpix4d flight path output post-processed
  5. 2026-07-22 00:03:35 KST — sharp/libvips 가 JPEG stream 을 디코딩하는 도중 VipsJpeg: Corrupt JPEG data: premature end of data segment 발생, processAerialPhoto 루프 실패 (pix4d aerial photo post-processed info 로그 없음)
  6. 2026-07-22 00:03:35 KST — inner catch 에서 [CupixAerialMap] postprocess fail ${error.message} 로깅 후 saveError(aerialMapId, 'AMB720') 호출
  7. 2026-07-22 00:03:35 KST — 예외가 재-throw 되어 outer IIFE 의 catch 에서 [CupixAerialMap] postprocess fail - error:(...) / message:(...) 로 재로깅, process.exit(1)

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 20 code refs, 10 log queries
Code path explicitness 3/3 20 file:line refs
Log evidence 3/3 section, query, pattern
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 1/5 critical
Affected files 1/5 18 file(s)
Single repo 1/3 6 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration