We're updating the issue view to help you get more done. 

RBNF: c'tor with no data, crashes on clone

Description

symptoms:

  • on a system with no ICU data, use ustdio to do u_fprintf(..., "%V")
    (spellout)

  • it will allocate a RuleBasedNumberFormat(URBNFRuleSetTag tag, const Locale&
    alocale, UErrorCode& status) which will fail (not finding the localized spellout
    data)

  • then, ustdio will attempt to unum_clone() the failed RBNF.

  • unum_clone calls something that calls RBNF::getRules()

  • getRules() fails because ruleSets is NULL

Environment

Status

Assignee

Douglas Felt

Reporter

TracBot

Labels

tracCreated

Apr 22, 2003, 2:04 AM

tracOwner

doug

tracProject

ICU4C

tracReporter

srl@a95c9666650cfc8d

tracResolution

fixed

tracReviewer

srl

tracStatus

closed

Components

Fix versions

Priority

blocker