Re: Firefox crash When using rdf:files in a composite datasource with my rdf datasource component!

BenKwan <[email protected]> Mon, 22 Jun 2009 18:46:34 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.rdf
Organization http://groups.google.com
Message-ID <02c18274-6d33-4313-aa81-6a5b7d367489@x29g2000prf.googlegroups.com>
On Jun 22, 7:01=A0pm, Neil <[email protected]> wrote:
> BenKwan wrote:
> ><tree id=3D"filelisttree_ben1" flex=3D"1" datasources=3D"rdf:files rdf:c=
efilerdfdatasource" ref=3D"http://mydomain.com/rdf#root">
>
> >when i open this xul by chrome,it diplay the C disk And D disk ,but when=
 i toggle the node of C disk,the firefox crash! And toggling the node of C =
disk is OK.
>
> Out of interest, does this crash:
>
> <tree id=3D"filelisttree_ben1" flex=3D"1" datasources=3D"rdf:files" ref=
=3D"NC:FilesRoot">
>
> I know RDF uses unsafe pointers in some cases so this could possibly be
> your problem - there was a similar issue with the extension manager data
> source. Unfortunately the crashes this produces are hard to diagnose.
>
> --
> Warning: May contain traces of nuts.

in order to test,i have 3 tree:

<tree id=3D"filelisttree" flex=3D"1" datasources=3D"rdf:files"
ref=3D"NC:FilesRoot">

<tree id=3D"filelisttree_ben" flex=3D"1" datasources=3D"rdf:files
chrome://test/content/filerdf.rdf" ref=3D"http://
addressbook.desktopx.org/rdf#root">

<tree id=3D"filelisttree_ben1" flex=3D"1" datasources=3D"rdf:files
rdf:cefilerdfdatasource" ref=3D"http://addressbook.desktopx.org/
rdf#root">

the first and the second tree perform good! And the last one crashs.
In the second tree the filerdf.rdf is generated by invoke the FlushTo
method of the datasources "rdf:cefilerdfdatasource". I am puzzled by
why the third one crashs. And according to my test, its crash is
different betweent WinXP and WinVista. In Vista,only and once when i
toggle any file node in C disk of the tree, the FF  crash. But in
WinXp ,it crash ruleless.

and i am building a debug version ff to test and find out the problem!