[dmd-beta] D2 2.058 beta 4
Jacob Carlborg
doob at me.com
Mon Feb 13 12:31:03 PST 2012
On 13 feb 2012, at 21:16, Walter Bright wrote:
>
>
> On 2/13/2012 12:03 PM, Jacob Carlborg wrote:
>> My serialization library Orange doesn't work with this beta. I get a segmentation fault. The backtrace from GDB seems to indicate some sort of infinite loop or recursion. I see some traces of "__lambda" in the backtrace but that is not used anywhere in my code.
>>
>> This is the part of the GDB backtrace that repeats itself.
>
>
> I'm sorry, but a back trace from your code is not useful to figuring out what went wrong. I don't have your code, know what you're doing, when did this problem appear, anything.
Yeah, I know, sorry. I just posted so you guys know while I'm working on a test case. Hmm, when I'm looking at the backtrace it might be another problem. It might be a problem with array appending or the GC, in this method:
https://github.com/jacob-carlborg/orange/blob/master/orange/xml/PhobosXml.d#L764
The above method is the last step in the backtrace that is part of my code.
This is the start of the backtrace:
#0 0x0000000100042ed0 in D2gc3gcx2GC11queryNoSyncMFPvZS2gc3gcx7BlkInfo ()
#1 0x0000000100042e35 in D2gc3gcx2GC5queryMFPvZS2gc3gcx7BlkInfo ()
#2 0x00000001000414b0 in gc_query ()
#3 0x000000010004ae0d in _d_arrayappendcTX ()
#4 0x000000010000b7f6 in D6orange3xml9PhobosXml7Element10attributesMFZAC6orange3xml9PhobosXml9Attribute17__foreachbody1522MFKAyaKAyaZi ()
#5 0x0000000100046eae in _aaApply2 ()
#6 0x000000010000b76c in D6orange3xml9PhobosXml7Element10attributesMFZAC6orange3xml9PhobosXml9Attribute ()
#7 0x0000000100001c67 in D6orange3xml11XmlDocument19__T11XmlDocumentTaZ11XmlDocument4Node10attributesMFZS6orange3xml11XmlDocument19__T11XmlDocumentTaZ11XmlDocument12VisitorProxy ()
#8 0x0000000100002042 in D6orange3xml11XmlDocument19__T11XmlDocumentTaZ11XmlDocument10QueryProxy9attributeMFDFS6orange3xml11XmlDocument19__T11XmlDocumentTaZ11XmlDocument4NodeZbZS6orange3xml11XmlDocument19__T11XmlDocumentTaZ11XmlDocument10QueryProxy ()
#9 0x0000000100006cab in D6orange13serialization8archives10XmlArchive18__T10XmlArchiveTaZ10XmlArchive10getElementMFAyaAyaAyabZS6orange3xml11XmlDocument19__T11XmlDocumentTaZ11XmlDocument4Node ()
--
/Jacob Carlborg
More information about the dmd-beta
mailing list