<?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>1779</bug_id>
          
          <creation_ts>2011-11-21 22:49:45 +0000</creation_ts>
          <short_desc>gsettings-data-convert segfault on sdk image</short_desc>
          <delta_ts>2012-01-18 18:38:41 +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>core</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. Dec 29</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>hongnax.xu</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</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>17312</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-11-21 22:49:45 +0000</bug_when>
    <thetext>Tree/Branch: Poky/master
Commit: f2d077255d9ddf9b87e9a781b989bcce69047cf5

With latest commit, gsteetings-data-convert would report segfault on sdk image. I find the issue on both qemux86 and qemux86-64 sato-sdk image. Meanwhile, there is no such issue on sato image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17499</commentid>
    <comment_count>1</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-12-05 17:31:37 +0000</bug_when>
    <thetext>Sorry I make a mistake here, it should be &quot;gsettings-data-convert&quot;, which will segfault on sdk image. It comes from gconf-3.2.3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17501</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-12-05 18:01:11 +0000</bug_when>
    <thetext>I checked latest qemux86 sato-sdk images from autobuilder, commit e5b9ac3b71b6c16fb9a629f12e4d83103db2d5b0. The issue still exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17596</commentid>
    <comment_count>3</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2011-12-13 08:07:29 +0000</bug_when>
    <thetext>Jiajun, What is gsettings-data-convert and which recipe is it from?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17632</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-12-13 16:41:05 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Jiajun, What is gsettings-data-convert and which recipe is it from?

It comes from gconf-3.2.3, which is used to migrate users&apos; gconf database to gsettings.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17689</commentid>
    <comment_count>5</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2011-12-15 19:27:39 +0000</bug_when>
    <thetext>Give it to Edwin since Edwin is maintaining Gnome stuffs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17690</commentid>
    <comment_count>6</comment_count>
    <who name="Shane Wang">shane.wang</who>
    <bug_when>2011-12-15 20:11:37 +0000</bug_when>
    <thetext>Edwin, Dexuan got some ideas on it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17694</commentid>
    <comment_count>7</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-12-15 22:59:37 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; Edwin, Dexuan got some ideas on it.

sato is ok because it doesn&apos;t have /usr/share/GConf/gsettings/ -- sato-sdk has this and gets this issue. Maybe there is something missing?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17765</commentid>
    <comment_count>8</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-12-20 11:44:02 +0000</bug_when>
    <thetext>Any update on the bug? It&apos;s still in the new state</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17863</commentid>
    <comment_count>9</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-12-26 18:56:44 +0000</bug_when>
    <thetext>segmentation comes from NULL pointer reference.

---- gsettings-data-convert ----
main=&gt;
handle_dir=&gt;
handle_file=&gt;
---- glib ----
g_settings_new
g_settings_delay(settings)=&gt;
g_delayed_settings_backend_new(settings-&gt;priv-&gt;backend)

The issue here is the settings-&gt;priv-&gt;backend is NULL, so reference in g_delayed_settings_backend_new cause seg fault.

The root cause for the NULL is that schemas is not properly installed with error mesg from g_settings_new:
(gsettings-data-convert:1205): GLib-GIO-CRITICAL **: Settings schema &apos;org.gnome.crypto.cache&apos; is not installed

To install schemas, we need file &quot;gschemas.compiled&quot; under /usr/share/glib-2.0/schemas. (see glib&apos;s source code initialise_schema_sources @ gio/gsettingsschema.c)

This file made by glib-compile-schemas from glib-utils.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17923</commentid>
    <comment_count>10</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-01-03 09:29:54 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2d8a747801412db1d11e46cd26338d0545f468f2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18242</commentid>
    <comment_count>11</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-01-18 18:05:35 +0000</bug_when>
    <thetext>The bug is not reproducible on crownbay_sato-sdk, qemux86 and qemux86-64 sato-sdk image,so set the status closed.If anyone encounter this bug, pls reopen it.

Commit information:

Tree/Branch: Poky/1.2_M2
Commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18245</commentid>
    <comment_count>12</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2012-01-18 18:18:19 +0000</bug_when>
    <thetext>Hongna,
Fixed+Verified is more accurate than &quot;not reproducible&quot; here:)

(In reply to comment #11)
&gt; The bug is not reproducible on crownbay_sato-sdk, qemux86 and qemux86-64
&gt; sato-sdk image,so set the status closed.If anyone encounter this bug, pls
&gt; reopen it.
&gt; 
&gt; Commit information:
&gt; 
&gt; Tree/Branch: Poky/1.2_M2
&gt; Commit: 0f4d99d207b224bb9ce23de00a48f795ae20b3a0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18247</commentid>
    <comment_count>13</comment_count>
    <who name="Hongna Xu">hongnax.xu</who>
    <bug_when>2012-01-18 18:38:41 +0000</bug_when>
    <thetext>(In reply to comment #12)
&gt; Hongna,
&gt; Fixed+Verified is more accurate than &quot;not reproducible&quot; here:)

I am sorry for that, I will take it more seriously next time :(</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>