[Lazarus] IDE invocation of lhelp, probable endianness issue

Sven Barth pascaldragon at googlemail.com
Wed Aug 22 14:35:47 CEST 2012


Am 22.08.2012 14:30, schrieb Mattias Gaertner:
> On Wed, 22 Aug 2012 09:40:22 +0000
> Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
>
>> Mattias Gaertner wrote:
>>> On Wed, 22 Aug 2012 08:59:26 +0000
>>> Mark Morgan Lloyd <markMLl.lazarus at telemetry.co.uk> wrote:
>>>
>>>> On Linux running on either SPARC or PPC, trying to invoke
>>>> context-sensitive help (i.e. F1 key over a keyword) fails with a
>>>> dialogue e.g. "Unknown error showing
>>>> /forms/tapplication/initialize.html". There's no error addresses etc. on
>>>> the console, the exception doesn't break the IDE.
>>>
>>> Sounds like a bug in lhelp. Can you start lhelp standalone and check?
>>
>> With the dialogue displayed, the IDE is unresponsive but lhelp is
>> running. In that state, lhelp allows me to select a file but fails on
>> SPARC (not tested PPC, don't believe I see this on ARM) with a bus error.
>>
>> Running lhelp from a shell using gdb gives me
>>
>> Program received signal SIGBUS, Bus error.
>> [Switching to Thread 16384 (LWP 25970)]
>> 0x0038c844 in _$CHMREADER$_Ll594 () at src/chmreader.pas:1144
>> 1144                        ind:=LEToN(plongint(head)^);
>
> I'm not familiar with the chmreader code.
> Please create a bug report.

At least it's a pointer dereference... so there must indeed be some 
misalignment going on...

Regards,
Sven





More information about the Lazarus mailing list