Hello,
the source file 'fnewqsodefvalues.pas' is missing in source package. Is that a old/new file without relevance? I have deleted the loading of this file in cqrlog.lpi.
After starting the project breaks at line 865 in LCLProc
<code>
procedure RaiseGDBException(const Msg: string);
begin
debugln(rsERRORInLCL, Msg);
// creates an exception, that gdb catches:
debugln(rsCreatingGdbCatchableError);
DumpStack;
if (length(Msg) div (length(Msg) div 10000))=0 then ;
end;
</code>
Normally, the debugger stops when it catch in error. Here, the program stops at above line.
If I run it from console, it stops with this error every time the 'Edit QSO' window is called:
<code>
ERROR in LCL: TGtk2WidgetSet.StretchCopyArea DestDC=0000000002C54878 Drawable=nil
Creating gdb catchable error:
$00000000006E6705 line 676 of lazloggerbase.pas
$00000000006A2316 line 1406 of lclproc.pas
$00000000006A044B line 864 of lclproc.pas
$00000000007902B9 line 4001 of gtk2widgetset.inc
$000000000078FF1C line 4064 of gtk2widgetset.inc
$00000000007A9A5E line 9396 of gtk2winapi.inc
$0000000000738871 line 469 of include/lclintf.inc
$000000000071A4AD line 251 of include/rasterimage.inc
$0000000000724507 line 54 of include/canvas.inc
TApplication.HandleException Invalid floating point operation
Stack trace:
$00000000006A047C line 865 of lclproc.pas
</code>
Which version of Lazarus/Freepascal do you use? I use Lazarus 1.1 (the CodeTyphon Package) with LMDE.
73, Tom
Thu, 2012-10-18 23:32
#1
fnewqsodefvalues.pas is missing in source package / Debug error
Hi Tom,
I use FreePascal version 2.4.4-3.1 and Lazarus 0.9.30.2-2 to build cqrlog. It works without any problem. I didn't try it with devel version of fpc/Lazarus. I have use version included in Ubuntu 12.04 to build packages.
73 Petr, OK2CQR
--
http://HamQTH.com/ok2cqr
https://ok2cqr.com
Hi Petr,
I installed on a blank HD Ubuntu 12.04 64-Bit and did a apt-get install cqrlog. I see only a blank splash screen, nothing else happens. No message in .xsession-errors, no output on console, no errors. Only after a install from your repository I could start CQRLOG.
I installed the latest sources 1.5.2, the Lazarus Package and try to run it. It was okay, until I stop CQRLOG. Then I got a External:SIGSEGV and a TWinControl.WMSize loop detected, the widgetset does not like the LCL bounds or sends unneeded wmsize messages:sbHorizontal:TScrollBar BoundsRealized=l=0,t=286,r=721,b=301 NewBoundsRealized=l=0,t=286,r=0,b=301. After click on OK the complete IDE dies.
I think, this has something to do with Unity and the graphic engine and possible with Ubuntu 12.04 in a VMWare Workstation 9 VM. There are some known bugs. This only as information for you.
Long time I preferred Ubuntu for the desktop, but since Unity I switched my development system to LMDE and don't support Ubuntu longer for my software. Ubuntu/Unity is the pure horror!
I attempt to expand CQRLOG with a small PDF print function. In former times I used FastReport with Delphi and the free package is integrated in CodeTyphon, which I use for my development. (http://pilotlogic.com, but never install Lazarus and Codetyphon on the same machine!)
But it's not so important, it was only a test ;-) Thanks for your support.
73, Tom, DL7BJ