Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-09

laz report crash IDE on startup with builded Option -dDisableWrapperFunctions

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

FreeMan

Hello,
svn fpc r31772 & lazarus r49851 osx 10.10.4 qtx64

I builded IDE -dDisableWrapperFunctions param, when start IDE, IDE crashed. I get This lines from terminal.
/opt/lazarus/components/lazreport/source/lr_desgn.pas line 8146

[FORMS.PP] ExceptionOccurred
Sender=EResNotFound
Exception=Resource "lrd_ins_fields" not found
Stack trace:
$00000001000BF3B1
$00000001000BF5E1
$000000010101CD81
$000000010101D026
TApplication.HandleException Resource "lrd_ins_fields" not found Stack trace:
$00000001000BF3B1
$00000001000BF5E1
$000000010101CD81
$000000010101D026
Exception at 00000001000BF3B1: EResNotFound:
Resource "lrd_ins_fields" not found.

Reply by email

FreeMan
to FreeMan

/opt/lazarus/components/lazreport/images/package_images.bat rename to "package_images.sh" and path delimeter "\" to "/" and delete last win command "pause". Give execute permission this file and run in terminal then rebuild lazarus.
I get this error just when try use "-dDisableWrapperFunctions"

FreeMan wrote 30 lines
Hello, svn fpc r31772 & lazarus r49851 osx 10.10.4 qtx64 I builded IDE -dDisableWrapperFunctions param, when start IDE, IDE crashed. I get This lines from terminal. /opt/lazarus/components/lazreport/source/lr_desgn.pas line 8146 [FORMS.PP] ExceptionOccurred Sender=EResNotFound Exception=Resource "lrd_ins_fields" not found Stack trace: $00000001000BF3B1 $00000001000BF5E1 $000000010101CD81 $000000010101D026 TApplication.HandleException Resource "lrd_ins_fields" not found Stack trace: $00000001000BF3B1 $00000001000BF5E1 $000000010101CD81 $000000010101D026 Exception at 00000001000BF3B1: EResNotFound: Resource "lrd_ins_fields" not found. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: package_images.sh
Type: application/x-sh
Size: 187 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150920/eec9c34c/attachment.sh>

Reply by email

Jesus Reyes
to FreeMan: svn fpc r31772 & lazarus r49851 osx 10.10.4 qtx64 I builded IDE -dDisableWrapperFunctions…

It happens here too, only under OS X.

Recompiling LazReport clean (LazReport package More>>Recompile clean) and then recompiling Lazarus fix it for me.

Jesus Reyes A.

--------------------------------------------
El dom 20-sep-15, FreeMan escribi?:

crashed. I get This lines from terminal.
/opt/lazarus/components/lazreport/source/lr_desgn.pas???line 8146

[FORMS.PP] ExceptionOccurred
???Sender=EResNotFound
???Exception=Resource "lrd_ins_fields" not
found
???Stack trace:
???$00000001000BF3B1
???$00000001000BF5E1
???$000000010101CD81
???$000000010101D026
TApplication.HandleException Resource "lrd_ins_fields" not found
???Stack trace:
???$00000001000BF3B1
???$00000001000BF5E1
???$000000010101CD81
???$000000010101D026
Exception at 00000001000BF3B1: EResNotFound:
Resource "lrd_ins_fields" not found.

Reply by email

FreeMan
to Jesus Reyes

Hi Jesus,
I get this error, not while make or building lazarus in terminal. In terminal, download svn lazarus, then make, then run lazbuild, every think is normal, when I try run IDE, then crash. I sended bash script, I run this script then rebuild lazarus from terminal, now working normal. I'm not test other os.
Thank you

Jesus Reyes wrote 5 lines
It happens here too, only under OS X. Recompiling LazReport clean (LazReport package More>>Recompile clean) and then recompiling Lazarus fix it for me. Jesus Reyes A.

Reply by email

Jesus Reyes A.
to FreeMan

En Sun, 20 Sep 2015 10:43:30 -0500, FreeMan
escribi?:

Show quoted text 8 lines
Hi Jesus, I get this error, not while make or building lazarus in terminal. In terminal, download svn lazarus, then make, then run lazbuild, every think is normal, when I try run IDE, then crash. I sended bash script, I run this script then rebuild lazarus from terminal, now working normal. I'm not test other os. Thank you

I always had the .sh file, I probably added it locally and forgot to commit it. It's done in r49855.

Anyway there seems to be a compiler error under OSX that sometimes it fails to link in the .res files, it sometimes happen here when I modify LazReport (when I forgot to clean it first) and recompile Lazarus. I was not able to reproduce it in a simpler project so I have not reported it.

Jesus Reyes A.

Reply by email