View Issue Details

IDProjectCategoryView StatusLast Update
0000901SkyChart1-Softwarepublic12-03-04 19:25
ReporterAndrew Hood Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSLinuxOS Version2.6
Product Version3.5 SVN 
Target Version3.6Fixed in Version3.5 SVN 
Summary0000901: skychart-3.5-1925-linux_i386 error when using search history
DescriptionNB this is not 3.3 SVN but that is the closest option in mantis.

retrieve a previous search item from the history. immediately gives the "quit or ignore and risk corruption" popup. Choosing "OK" does not crash immediately and further searches repeat the same error.

this did not happen with 1914
Steps To Reproducefresh install of 1925 using the same ~/.skychart as SVN1914
Additional Informationrolled back to 1914 without any other change and crash stops.

I have not had 1925 give the same error on Windows.
TagsNo tags attached.
Attached Files
skychart-c1784.tar.gz (7,823 bytes)
skychart-c1784.gdb.log (3,243 bytes)

Activities

Patrick Chevalley

11-11-24 15:21

administrator   ~0001784

I cannot reproduce the problem.
Can you tar and upload here your file .skychart/skychart.ini

NB. I have marked 3.5svn as published in Mantis so it is now available, thank you to notice that.

Andrew Hood

11-11-25 10:48

reporter   ~0001786

File contains skychart.ini and some log info. When I search I get everything before the line about LCLRefCount. Then select "Cancel" from the popup and I get that line and it exits. ldd and uname for reference.

Patrick Chevalley

11-11-25 11:09

administrator   ~0001787

I still cannot reproduce by using your config file.

So please replace the skychart binary by the debug version. Get the file bin-linux_i386-debug-1925.tar.bz2 from:
http://www.ap-i.net/skychart/snapshot/debug/

Run with gdb as indicated on this page: gdb ./skychart
Type the bt command just after the crash, before to type Cancel or OK.

Andrew Hood

11-11-25 12:26

reporter   ~0001788

gdb backtrace as requested

Patrick Chevalley

11-11-25 13:26

administrator   ~0001789

Thank you! the trace is very useful.
I think this is now fixed by revision 1927
http://svn.origo.ethz.ch/viewvc/skychart?view=rev&revision=1927

Please try with this new binary for linux-i386 and confirm if this is solved:
http://www.ap-i.net/pub/tmp/skychart-1927.tgz

Andrew Hood

11-11-25 21:46

reporter   ~0001792

Last edited: 11-11-25 21:56

I have tried 1927 and it no longer gives the error. (The old array out of bounds error I see.) The first time I ran it I got:
(skychart:16018): Gdk-CRITICAL **: gdk_cursor_unref: assertion `cursor->ref_count > 0' failed
when I exited but that has not happened again. It might be a bug in the relatively old gtk+2-2.16.6-i686-1dl

Patrick Chevalley

11-11-25 23:21

administrator   ~0001793

OK, I mark the issue as resolved.

I also have the gdk cursor error almost every time, it just say we are unreferencing a cursor that as no reference.
The problem is probably specific to the Lazarus LCL.

Issue History

Date Modified Username Field Change
11-11-24 13:33 Andrew Hood New Issue
11-11-24 15:21 Patrick Chevalley Note Added: 0001784
11-11-24 15:21 Patrick Chevalley Product Version 3.3 SVN => 3.5 SVN
11-11-24 15:21 Patrick Chevalley Target Version 0.3.0 => 3.6
11-11-24 15:21 Patrick Chevalley Assigned To => Patrick Chevalley
11-11-24 15:21 Patrick Chevalley Status new => feedback
11-11-25 10:45 Andrew Hood File Added: skychart-c1784.tar.gz
11-11-25 10:48 Andrew Hood Note Added: 0001786
11-11-25 10:48 Andrew Hood Status feedback => assigned
11-11-25 11:09 Patrick Chevalley Note Added: 0001787
11-11-25 11:09 Patrick Chevalley Status assigned => feedback
11-11-25 12:25 Andrew Hood File Added: skychart-c1784.gdb.log
11-11-25 12:26 Andrew Hood Note Added: 0001788
11-11-25 12:26 Andrew Hood Status feedback => assigned
11-11-25 13:26 Patrick Chevalley Note Added: 0001789
11-11-25 13:26 Patrick Chevalley Status assigned => feedback
11-11-25 21:46 Andrew Hood Note Added: 0001792
11-11-25 21:46 Andrew Hood Status feedback => assigned
11-11-25 21:56 Andrew Hood Note Edited: 0001792
11-11-25 23:21 Patrick Chevalley Note Added: 0001793
11-11-25 23:21 Patrick Chevalley Status assigned => resolved
11-11-25 23:21 Patrick Chevalley Resolution open => fixed
11-11-25 23:21 Patrick Chevalley Fixed in Version 0.3.0 => 3.5 SVN
12-03-04 19:25 Patrick Chevalley Status resolved => closed