<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>1825</bug_id>
          
          <creation_ts>2011-12-12 19:32:59 +0000</creation_ts>
          <short_desc>Application &apos;Dates&apos; can not be launched with 20111207 build</short_desc>
          <delta_ts>2012-01-12 23:09:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>patch out. Dec16</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>liang.li2</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17581</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-12-12 19:32:59 +0000</bug_when>
    <thetext>Tree/branch: poky/1.2_M1
Commit: b9d3a5224c7f76f273d5919a88b7460d35ad2574
Image location:
http://autobuilder.pokylinux.org/pub/nightly/20111207-2/machines/

When I click the &apos;Dates&apos; icon on the desktop, there is no response. The application could not be launched.

This issue happens on qemuarm/mips, beagleboard and doesn&apos;t happen with Yocto 1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17598</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-12-13 08:35:01 +0000</bug_when>
    <thetext>I think this may be related to 1711 since if dbus gets messed up (messagebus user not set on dbus files) then dbus might fail to load and dates is dependent on dbus being working. Could we check the permissions in the images and see if they&apos;re correct in some and not correct in others?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17637</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-12-13 22:05:15 +0000</bug_when>
    <thetext>This may be related to the libical update</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17651</commentid>
    <comment_count>3</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-12-14 17:20:54 +0000</bug_when>
    <thetext>After revert the libical upgrade, dates can be launched. Libical provides 3 lib : libicalss.so, libicalvcal.so, and libical.so. Just taking place of libical.so by the one from old libical can fix it.

gdb showed some dates_view instance initialization failure and cause dates runs crazy from that time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17659</commentid>
    <comment_count>4</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-12-15 06:17:27 +0000</bug_when>
    <thetext>A big static function make debug difficult, and sometimes the bug disappear with gdb attached:(

Now suspicious function is icaltimezone_get_utc_offset @ dates_view.c:893(jana_ecal_utils_guess_location)

Continue on debugging...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17698</commentid>
    <comment_count>5</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-12-16 00:12:52 +0000</bug_when>
    <thetext>hang in dates is as following:
dates_view_init ( as initialise function called by g_object_new )
=&gt; dates_view_config_get_tzid
=&gt; jana_ecal_utils_guess_location
---------- libical----------
=&gt; icaltimezone_get_tznames
=&gt; icaltimezone_load_builtin_timezone

where, a new mutex is added to support pthread in 0.47, but not unlocked properly in some case.

So the root cause is that this function was called without releasing mutex, then 2nd call in above tracing lead deadlock.

Patch already out, will push upstream also.

Hang point doesn&apos;t show any useful info. Huge inline code make debug very difficult, as the line no. reported by gdb is not reliable. I have to go through assembly to locate the right place. Next time, should remove inline function first to speed up debug...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17705</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-12-16 08:20:34 +0000</bug_when>
    <thetext>Should be fixed with http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=776918063d830dc8f843cafd88f3cb9760f00c7a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18116</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-01-12 23:07:38 +0000</bug_when>
    <thetext>Verified with 1.2 M2 RC1 
&apos;Dates&apos; works now.

Tree/Branch: poky/1.2_M1
Poky Commit: b806f726b1db2cb605869c1022ef727c1110255b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18117</commentid>
    <comment_count>8</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2012-01-12 23:09:30 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Verified with 1.2 M2 RC1 
&gt; &apos;Dates&apos; works now.
&gt; 
&gt; Tree/Branch: poky/1.2_M1
&gt; Poky Commit: b806f726b1db2cb605869c1022ef727c1110255b

Sorry, I made a mistake with gitinfo. Should be:
Tree/branch: poky/1.2_M2
Commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>