[Lazarus] IDE invocation of lhelp, probable endianness issue

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Wed Aug 22 16:39:29 CEST 2012


Mattias Gaertner wrote:
> 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.

I've raised the IDE exception (SPARC and PPC Linux but not SPARC 
Solaris) as http://mantis.freepascal.org/view.php?id=22696

I've raised the lhelp exception (SPARC Linux plus SPARC Solaris 10) as 
http://mantis.freepascal.org/view.php?id=22697

Unfortunately, I've put gdb output in #22696 which isn't relevant: that 
error is silent apart from the modal dialogue and the output is relevant 
to #22697. My apologies for the mess and any confusion caused.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list