View Issue Details

IDProjectCategoryView StatusLast Update
0000273SkyChart1-Softwarepublic07-10-18 18:45
ReporterJacques Montier Assigned ToPatrick Chevalley  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platformx86OSGentoo LinuxOS Version2.6
Product Version3.0.1.2 
Summary0000273: Skychart crashes at startup
DescriptionHi,

I downloaded the skychart_v3_beta012_source.tar.gz tarball,unzipped it and compiled it with Lazarus-0.9.22-r1 and fpc-2.0.4 in /usr/share/apps directory.
When i launch cdc, i get :

2007-06-11T11:35:50.007 Start trace
2007-06-11T11:35:50.007 Try language: fr, en
2007-06-11T11:35:50.007 Language: Internal language
2007-06-11T11:35:50.191 libgetdss.so not found
2007-06-11T11:35:50.359 Connected to SQL database /home/montier/cartes_[FORMS.PP] ExceptionOccurred
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $B78C5680 LOADLIBODBC32, line 490 of iphtml.pas
TApplication.HandleException Access violation
  Stack trace:
  $B78C5680 LOADLIBODBC32, line 490 of iphtml.pas
GTKWindowStateEventCB :TPromptDialog new_window_state=0 changed_mask=1
GTKWindowStateEventCB :TPromptDialog 0 [RMVDStPr]
TApplication.HandleException: there was another exception during showing the first exception
  Stack trace:
  $00000000
  $08091EFD TSKYCHART__INITCOORDINATES, line 542 of cu_skychart.pas
  $08090475 TSKYCHART__REFRESH, line 225 of cu_skychart.pas
  $080E7383 TF_CHART__REFRESH, line 426 of pu_chart.pas
  $080E866C TF_CHART__REFRESHTIMERTIMER, line 654 of pu_chart.pas
  $0829D105 TCUSTOMTIMER__DOONTIMER, line 176 of customtimer.pas
  $0829D081 TCUSTOMTIMER__TIMER, line 152 of customtimer.pas
  $082C12F4 GTKTIMERCB, line 2617 of /var/tmp/portage/dev-lang/lazarus-0.9.22-r1/work/lazarus/lcl/interfaces/gtk/gtkcallback.inc[TGtkWidgetSet.Destroy] DC$
[TGtkWidgetSet.Destroy] WARNING: There are 3 unreleased DCs, a detailed dump follows:
 B706FE68 B5782F48 B706A028
[TGtkWidgetSet.Destroy] WARNING: There are 12 unreleased GDIObjects, a detailed dump follows:
 B72588C8 B7258628 B72583E8 B7258388 B72582C8 B7258148 B72585C8
[TGtkWidgetSet.Destroy] gdiBitmap: 4
[TGtkWidgetSet.Destroy] gdiBrush: 2
[TGtkWidgetSet.Destroy] gdiFont: 2
[TGtkWidgetSet.Destroy] gdiPen: 2
[TGtkWidgetSet.Destroy] gdiRegion: 2
s:
 B72588C8 B7258628 B72583E8 B7258388 B72582C8 B7258148 B72


Thanks for your help

Cheers,

Jacques
TagsNo tags attached.

Activities

Patrick Chevalley

07-06-13 14:50

administrator   ~0000452

Hi Jacques,

At the moment it is quit a pain to run the program starting with the source code only because it require a bunch of data files to run correctly.
On the page
http://www.ap-i.net/skychart/fr/documentation/installation_et_compilation_du_code_source
I suggest to start with the binary package to install all the data structure but I understand this is not a nice solution.

What I need to do is a makefile to copy the data files from the source structure to the right place for execution, and also compile the gcc library libgetdss and libplan404 even if they are not absolutely require to start.

So the quick solution is to install the binary skychart_v3_beta012_linux386.tar.gz, remove skychart executable, libgetdss.so and libplan404.so.
Run make on library/getdss and library/plan404 , copy again the libgetdss.so and libplan404.so.
Copy your compiled cdc or set Run-Run Parameters-Working Directory to run from the Lazarus IDE.

Jacques Montier

07-06-15 13:00

reporter   ~0000456

Hi Patrick,

make on library/getdss is ok
make on library/plan404 comes with the error :

gcc -O3 -ffast-math -c plan404.c -o obj/plan404.o
Messages de l'assembleur:
FATAL: ne peut créer obj/plan404.o: Aucun fichier ou répertoire de ce type
make: *** [obj/plan404.o] Erreur 1

The /library/plan404 directory contains the files :

cmoon.c demo404.res ear404.c example.c Makefile mer404.c plan404.c plantbl.h readme_lib.txt ven404.c
demo404.conf demo404u.pas epsiln.c example.opt Makefile.darwin msc.mak plan404.def plu404.c sat404.c
demo404.dpr demo404u.xfm erreur.txt gplan.c makefile.example nep404.c plan404.dsp precess.c sidrlt.c
demo404.kof descrip.mms example.ans jup404.c mar404.c nutate.c plan404.h readme ura404.c

Patrick Chevalley

07-06-15 14:13

administrator   ~0000457

Oops! sorry the source package do not contain the output directory.
do :
cd library/plan404
mkdir obj
make

Jacques Montier

07-06-16 16:50

reporter   ~0000458

Hi Patrick,

I extracted the binary package skychart_v3_beta012_linux386.tar.gz.
When I run the skychart executable, it complains about missing libgdk_pixbuf.so.2.
So i made a symlink pointing to my /usr/lib/libgdk_pixbuf_xlib-2.0.so and now everything is fine !

Cheers

Jacques

Issue History

Date Modified Username Field Change
07-06-11 11:56 Jacques Montier New Issue
07-06-13 14:50 Patrick Chevalley Note Added: 0000452
07-06-13 14:50 Patrick Chevalley Assigned To => Patrick Chevalley
07-06-13 14:50 Patrick Chevalley Status new => assigned
07-06-15 13:00 Jacques Montier Note Added: 0000456
07-06-15 14:13 Patrick Chevalley Note Added: 0000457
07-06-16 16:50 Jacques Montier Note Added: 0000458
07-10-18 18:45 Patrick Chevalley Status assigned => closed
07-10-18 18:45 Patrick Chevalley Resolution open => fixed