On 13/08/2019 09:13, Michael Grunditz wrote:
> Any ideas what it might be with the null in fsclose?
I'm not sure what you mean, fsclose doesn't deal with filenames?
> Can it be pathnames translations?
No, the filenames below look OK to me and are similar to what I have.
If fsopen returns a valid fd (i.e., not -1), then you know it opened
the file successfully.
Is it still crashing in fc_Patternreference? I would check the incoming
arguments to make sure they're valid and if not trace back the call
chain to see what provided the invalid argument.
I assume you're using shared libraries? You can use *SOMAddress to find
the offset in the fontconfig library of the crash and then load it into
!Zap to look at the disassembler and find the rogue instruction. Cross
reference that with registers from *showregs and you should see a reason
for the crash. It may be something obvious like a NULL value on entry.
> On Sun, 11 Aug 2019 at 16:12, Michael Grunditz
> <michael.grunditz@gmail.com> wrote:
>>
>> In message <CAAqgp_Rzki8WaKbG01qx7qgyckjzKKiRAFzoZvFPSAVtVArb0g@mail.gmail
>> .com> you wrote:
>>
>>> On Sun, 11 Aug 2019 at 13:02, Alex Macfarlane Smith
>>> <alex@archifishal.co.uk> wrote:
>>>>
>>>>> In message <c2905dba-6c1b-90ce-a4b6-6b411f58c0ba@sky.com>
>>>>> Lee Noar <leenoar@sky.com> wrote:
>>>>>
>>>>>> On 08/08/2019 22:19, Michael Grunditz wrote:
>>>>>>> In message <b38eba9f-d632-fc7a-60a0-b68a1ea5f643@sky.com>
>>>>>
>>>>>
>>>>>> If you are able to recompile UnixLib, it can be useful to put some
>>>>>> debug info in __fsopen and __fsstat to see what files are being
>>>>>> accessed.
>>>>>
>>>>>> Lee.
>>>>>
>>>>> More printouts :
>>>>>
>>>>> It expands paths for fsstat , are they too long?
>>>>>
>>>>> open: <UnixFC$Dir>.fonts.fonts/conf
>>>>> open: UnixFont:truetype
>>>>> open: UnixFC:cache.8c8c87c04bac0d8a276f876f0ed7af16-arm-riscos/cache-4
>>>>> fstat: ADFS::Backup.$.!UnixFC.cache.8c8c87c04bac0d8a276f876f0ed7af16-arm-r
>>>>> iscos/cache-4
>>>>> open: UnixFont:truetype.ttf-bitstream-vera
>>>>> open: UnixFC:cache.9ca7ddc6a18fafa713ae4595326c1c67-arm-riscos/cache-4
>>>>> fstat: ADFS::Backup.$.!UnixFC.cache.9ca7ddc6a18fafa713ae4595326c1c67-arm-r
>>>>> iscos/cache-4
>>>>> font error 1:
>>
>> fsclose always ends up with null in filename ..
>
> _______________________________________________
> GCCSDK mailing list gcc@gccsdk.riscos.info
> Bugzilla: http://www.riscos.info/bugzilla/index.cgi
> List Info: http://www.riscos.info/mailman/listinfo/gcc
> Main Page: http://www.riscos.info/index.php/GCCSDK
>
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment