Ticket #1648 (assigned defect)
S-57 Update Crash with ATTF
| Reported by: | warmerdam | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.8.1 |
| Component: | OGR_SF | Version: | 1.4.0 |
| Severity: | normal | Keywords: | s57 |
| Cc: | blackmoreb |
Description
ogrinfo crashes when attempting to open JP352BRG.000/001. Traceback:
(gdb) where 5
#0 0x00002aaaaae2e5c1 in DDFField::GetRepeatCount (this=0x0)
at ddffield.cpp:207
#1 0x00002aaaab1caecc in S57Reader::ApplyRecordUpdate (this=0x2aaaaeab5010,
poTarget=0x60e770, poUpdate=0x663830) at s57reader.cpp:2484
#2 0x00002aaaab1cb2f2 in S57Reader::ApplyUpdates (this=0x2aaaaeab5010,
poUpdateModule=0x7fffffe387d0) at s57reader.cpp:2618
#3 0x00002aaaab1cb612 in S57Reader::FindAndApplyUpdates (
this=0x2aaaaeab5010, pszPath=0x51fb30 "JP352BRG.000")
at s57reader.cpp:2718
#4 0x00002aaaab1c5b2a in S57Reader::Ingest (this=0x2aaaaeab5010)
at s57reader.cpp:444
It appears the update adds some attributes to ATTF, but the .000 file had no ATTF at all.
Change History
Note: See
TracTickets for help on using
tickets.
