gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ICU / NSDateFormatter crash


From: Riccardo Mottola
Subject: ICU / NSDateFormatter crash
Date: Wed, 12 Jul 2017 23:35:55 +0200
User-agent: Mozilla/5.0 (X11; NetBSD i386; rv:52.0) Gecko/20100101 Thunderbird/52.1.0

Hi All,

on FreeBSD with gcc5 and ICU I get a crash when starting up GWorkspace.

A couple of weeks ago everything worked, this is the first big rebuild (clean) since we transitioned to GIT I attempted.

What could be wrong?

stack 16 shows a sane value to me:

#16 0x2c7cdb22 in -[FModuleCrDate initInterface] (self=<optimized out>,
    _cmd=0x81532d0 <_OBJC_SELECTOR_TABLE+1488>) at FModuleCrDate.m:142
142 formatter = [[NSDateFormatter alloc] initWithDateFormat: @"%m %d %Y"

Riccardo


#0  0x00000000 in ?? ()
#1  0x29c0ad42 in __cxxabiv1::__dynamic_cast (src_ptr=0x2e904a80,
    src_type=0x2973c618 <typeinfo for icu::UObject>,
    dst_type=0x2973d8b8 <typeinfo for icu::UnicodeString>, src2dst=0)
at /usr/ports/lang/gcc5/work/gcc-5.4.0/libstdc++-v3/libsupc++/dyncast.cc:72 #2 0x2942d51d in icu::Calendar::makeInstance(icu::Locale const&, UErrorCode&)
    () from /usr/local/lib/libicui18n.so.58
#3 0x2942d3ba in icu::LocaleCacheKey<icu::SharedCalendar>::createObject(void const*, UErrorCode&) const () from /usr/local/lib/libicui18n.so.58 #4 0x296d190f in icu::UnifiedCache::_get(icu::CacheKeyBase const&, icu::SharedObject const*&, void const*, UErrorCode&) const ()
   from /usr/local/lib/libicuuc.so.58
#5 0x29438906 in void icu::UnifiedCache::get<icu::SharedCalendar>(icu::CacheKey<icu::SharedCalendar> const&, void const*, icu::SharedCalendar const*&, UErrorCode&) const () from /usr/local/lib/libicui18n.so.58 #6 0x29437d78 in void icu::UnifiedCache::getByLocale<icu::SharedCalendar>(icu::Locale const&, icu::SharedCalendar const*&, UErrorCode&) ()
   from /usr/local/lib/libicui18n.so.58
#7 0x2942e90d in icu::Calendar::createInstance(icu::TimeZone*, icu::Locale const&, UErrorCode&) () from /usr/local/lib/libicui18n.so.58 #8 0x293ec0f1 in icu::SimpleDateFormat::construct(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&, UErrorCode&) ()
   from /usr/local/lib/libicui18n.so.58
#9 0x293ee9cf in icu::SimpleDateFormat::SimpleDateFormat(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&, UErrorCode&) ()
   from /usr/local/lib/libicui18n.so.58
#10 0x293eaaed in icu::DateFormat::create(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&) () from /usr/local/lib/libicui18n.so.58 #11 0x293ea9e6 in icu::DateFormat::createDateTimeInstance(icu::DateFormat::EStyle, icu::DateFormat::EStyle, icu::Locale const&) ()
   from /usr/local/lib/libicui18n.so.58
#12 0x2940c092 in udat_open () from /usr/local/lib/libicui18n.so.58
#13 0x28d3c23d in -[NSDateFormatter(PrivateMethods) _resetUDateFormat] (
    self=0x2e9e57f0, _cmd=0x290ddc68 <_OBJC_SELECTOR_TABLE+40>)
    at NSDateFormatter.m:992
#14 0x28d3b7d7 in -[NSDateFormatter init] (self=0x2e9e57f0,
    _cmd=0x290ddcc8 <_OBJC_SELECTOR_TABLE+136>) at NSDateFormatter.m:115
#15 0x28d3a88d in -[NSDateFormatter initWithDateFormat:allowNaturalLanguage:] (
    self=0x2e9e57f0, _cmd=0x2c7d14b8 <_OBJC_SELECTOR_TABLE+952>,
    format=0x2c7d1998 <_OBJC_INSTANCE_3>, flag=0 '\000')
    at NSDateFormatter.m:257
#16 0x2c7cdb22 in -[FModuleCrDate initInterface] (self=<optimized out>,
    _cmd=0x81532d0 <_OBJC_SELECTOR_TABLE+1488>) at FModuleCrDate.m:142
#17 0x08093cc4 in -[Finder loadModules] (self=0x2e8aff70,
    _cmd=0x81531b0 <_OBJC_SELECTOR_TABLE+1200>) at Finder/Finder.m:293
#18 0x08093045 in -[Finder init] (self=<optimized out>,
    _cmd=0x8153040 <_OBJC_SELECTOR_TABLE+832>) at Finder/Finder.m:156
#19 0x0808f87a in +[Finder finder] (self=0x8153660 <_OBJC_Class_Finder>,
    _cmd=0x812f500 <_OBJC_SELECTOR_TABLE+1792>) at Finder/Finder.m:61
#20 0x08058a16 in -[GWorkspace applicationWillFinishLaunching:] (
    self=0x2a852990, _cmd=0x2884fee8 <_OBJC_SELECTOR_TABLE+3080>,
    aNotification=0x2aa9ea90) at GWorkspace.m:484
#21 0x28da9cda in -[NSObject performSelector:withObject:] (self=0x2a852990,
    _cmd=0x290fc3b0 <_OBJC_SELECTOR_TABLE+240>,
    aSelector=0x2884fee8 <_OBJC_SELECTOR_TABLE+3080>, anObject=0x2aa9ea90)
    at NSObject.m:1845
#22 0x28d99772 in -[NSNotificationCenter _postAndRelease:] (self=0x2a93a4b0,
    _cmd=0x290fc3b8 <_OBJC_SELECTOR_TABLE+248>, notification=0x2aa9ea90)
    at NSNotificationCenter.m:1199
#23 0x28d979fc in -[NSNotificationCenter postNotificationName:object:userInfo:]
    (self=0x2a93a4b0, _cmd=0x290fc3c0 <_OBJC_SELECTOR_TABLE+256>,
    name=0x2891fa68 <_OBJC_INSTANCE_50>, object=0x2a84b4b0, info=0x0)
    at NSNotificationCenter.m:1258
#24 0x28d97755 in -[NSNotificationCenter postNotificationName:object:] (
    self=0x2a93a4b0, _cmd=0x2884f9d0 <_OBJC_SELECTOR_TABLE+1776>,
    name=0x2891fa68 <_OBJC_INSTANCE_50>, object=0x2a84b4b0)
    at NSNotificationCenter.m:1238
#25 0x284cd037 in -[NSApplication finishLaunching] (self=0x2a84b4b0,
    _cmd=0x2884fb78 <_OBJC_SELECTOR_TABLE+2200>) at NSApplication.m:1009




reply via email to

[Prev in Thread] Current Thread [Next in Thread]