View Issue Details

IDProjectCategoryView StatusLast Update
0001860Virtual Planets AtlasGeneralpublic18-11-03 10:56
ReporterMattia Verga Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0001860: Crash on startup in Fedora 27
DescriptionIn Fedora 27 (with Fedora RPMs) upon starting I get a message window which says "Cannot use find on unsorted list. Press OK to ignore and risk data corruption. Press Cancel to kill the program."

I've tried to generate a gdb backtrace, see the attached file, but it doesn't seem to say much more.

In Fedora 27 we have the same version as Fedora 26, where it used to work fine... maybe is not a virtualplanet fault, but some other system's component? (also same fpc and lazarus versions in F27/F26)
TagsNo tags attached.

Activities

Mattia Verga

17-12-08 11:12

reporter  

virtualplanet-gdb.txt (4,224 bytes)   
$ gdb virtualplanet
GNU gdb (GDB) Fedora 8.0.1-30.fc27
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from virtualplanet...Reading symbols from /usr/lib/debug/usr/bin/virtualplanet-2.0-6.fc27.x86_64.debug...done.
done.
(gdb) run
Starting program: /usr/bin/virtualplanet 
Missing separate debuginfos, use: dnf debuginfo-install glibc-2.26-16.fc27.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 6770.
[New Thread 0x7fffe1ce6700 (LWP 6771)]
[New Thread 0x7fffe0f89700 (LWP 6772)]
[New Thread 0x7fffdbfff700 (LWP 6773)]
[New Thread 0x7fffdb7fe700 (LWP 6774)]
[New Thread 0x7fffdaffd700 (LWP 6775)]
[New Thread 0x7fffda7fc700 (LWP 6776)]
[New Thread 0x7fffd9ffb700 (LWP 6777)]
[New Thread 0x7fffd97fa700 (LWP 6778)]
[Thread 0x7fffd97fa700 (LWP 6778) exited]
[New Thread 0x7fffd97fa700 (LWP 6779)]
[FORMS.PP] ExceptionOccurred 
  Sender=EListError
  Exception=Cannot use find on unsorted list
  Stack trace:
  $000000000052C8B2
  $0000000000420C25
TApplication.HandleException Cannot use find on unsorted list
  Stack trace:
  $000000000052C8B2
  $0000000000420C25
[New Thread 0x7fffd8df6700 (LWP 6780)]
[New Thread 0x7fffb7fff700 (LWP 6781)]
[Thread 0x7fffd97fa700 (LWP 6779) exited]
[Thread 0x7fffd9ffb700 (LWP 6777) exited]
[Thread 0x7fffda7fc700 (LWP 6776) exited]
[Thread 0x7fffdaffd700 (LWP 6775) exited]
[Thread 0x7fffdb7fe700 (LWP 6774) exited]
[Thread 0x7fffdbfff700 (LWP 6773) exited]
[Thread 0x7fffe0f89700 (LWP 6772) exited]
[Thread 0x7fffe1ce6700 (LWP 6771) exited]

Thread 1 "virtualplanet" received signal SIGSEGV, Segmentation fault.
0x00007ffff4e794bc in _dl_catch_error () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install adwaita-gtk2-theme-3.22.3-5.fc27.x86_64 atk-2.26.1-1.fc27.x86_64 bzip2-libs-1.0.6-24.fc27.x86_64 cairo-1.15.8-1.fc27.x86_64 elfutils-libelf-0.170-1.fc27.x86_64 expat-2.2.5-1.fc27.x86_64 fontconfig-2.12.6-4.fc27.x86_64 freetype-2.8-6.fc27.x86_64 gdk-pixbuf2-2.36.11-1.fc27.x86_64 glib2-2.54.2-1.fc27.x86_64 graphite2-1.3.10-3.fc27.x86_64 gtk2-2.24.31-6.fc27.x86_64 gvfs-client-1.34.1-1.fc27.x86_64 harfbuzz-1.4.8-1.fc27.x86_64 libX11-1.6.5-4.fc27.x86_64 libX11-xcb-1.6.5-4.fc27.x86_64 libXau-1.0.8-9.fc27.x86_64 libXcomposite-0.4.4-11.fc27.x86_64 libXcursor-1.1.14-10.fc27.x86_64 libXdamage-1.1.4-11.fc27.x86_64 libXext-1.3.3-7.fc27.x86_64 libXfixes-5.0.3-4.fc27.x86_64 libXi-1.7.9-4.fc27.x86_64 libXinerama-1.1.3-9.fc27.x86_64 libXrandr-1.5.1-4.fc27.x86_64 libXrender-0.9.10-4.fc27.x86_64 libXxf86vm-1.1.4-6.fc27.x86_64 libblkid-2.30.2-1.fc27.x86_64 libcroco-0.6.12-3.fc27.x86_64 libdatrie-0.2.9-6.fc27.x86_64 libdrm-2.4.88-1.fc27.x86_64 libffi-3.1-14.fc27.x86_64 libgcc-7.2.1-2.fc27.x86_64 libglvnd-1.0.0-1.fc27.x86_64 libglvnd-glx-1.0.0-1.fc27.x86_64 libmount-2.30.2-1.fc27.x86_64 libpasastro-1.0-10.20160111svn.fc27.x86_64 libpng-1.6.31-1.fc27.x86_64 librsvg2-2.40.19-1.fc27.x86_64 libselinux-2.7-2.fc27.x86_64 libstdc++-7.2.1-2.fc27.x86_64 libthai-0.1.25-4.fc27.x86_64 libuuid-2.30.2-1.fc27.x86_64 libxcb-1.12-5.fc27.x86_64 libxml2-2.9.5-2.fc27.x86_64 libxshmfence-1.2-6.fc27.x86_64 llvm-libs-4.0.1-3.fc27.x86_64 mesa-dri-drivers-17.2.4-2.fc27.x86_64 mesa-libGL-17.2.4-2.fc27.x86_64 mesa-libGLU-9.0.0-13.fc27.x86_64 mesa-libglapi-17.2.4-2.fc27.x86_64 ncurses-libs-6.0-13.20170722.fc27.x86_64 pango-1.40.14-1.fc27.x86_64 pcre-8.41-3.fc27.x86_64 pcre2-10.30-2.fc27.x86_64 pixman-0.34.0-4.fc27.x86_64 sssd-client-1.16.0-4.fc27.x86_64 xz-libs-5.2.3-4.fc27.x86_64 zlib-1.2.11-4.fc27.x86_64
virtualplanet-gdb.txt (4,224 bytes)   

Patrick Chevalley

17-12-08 11:47

administrator   ~0004333

I not commit change for Virtualplanet and Virtualmoon for a while because I waited for Lazarus 1.8 availability for also upgrade to new Glscene component.
Incidentally I do this change this morning and now everything must work fine with the last svn revision 164.
But this probably require Lazarus 1.8 and FPC 3.0.4 and I am not sure if you already have them for F27, maybe for next F28?

But this specific problem is probably just this change in vpa/vpa.lpr , I not remember what version of FPC/Lazarus need that.

   Application.CreateForm(Tf_avpmain, f_avpmain);
   Application.CreateForm(Tf_craterlist, f_craterlist);
- if not f_avpmain.param.Find('-quit',i) then begin
+ if (f_avpmain.param.IndexOf('-quit')<0) then begin


Mattia Verga

17-12-08 12:16

reporter   ~0004334

Well, F26 and F26 share the same svn revision of VPA. And they have the same fpc and lazarus. So it's strange that in F26 works and in F27 doesn't.

Fedora fpc and lazarus are stuck at fpc 3.0.2 and lazarus 1.6.4. I will try to update VPA to rev 164 and try if it works with these fpc and lazarus... or I will try to modify the line in the code you pointed out.

Thanks

Mattia Verga

17-12-08 13:26

reporter   ~0004335

I've found the glitch: VPA on F26 was still built with lazarus 1.6.2, while VPA on F27 has been rebuilt with lazarus 1.6.4.

I've updated VPA to revision 164 and I can confirm that it works fine with fpc 3.0.2/lazarus 1.6.4.

Thank you

Mattia Verga

17-12-08 13:29

reporter   ~0004336

... err... no, GLscene fails to compile on arm:
https://kojipkgs.fedoraproject.org//work/tasks/7616/23587616/build.log

Patrick Chevalley

17-12-08 13:52

administrator   ~0004337

The param.Find function probably change between fpc 3.0.0 and 3.0.2.

Thank you to confirm that rev 164 work with Lazarus 1.6.4, I will try to maintain compatibility with the upcoming changes.

Glscene is not designed to work on arm. Here it fail to set the 8087 control word (Intel floating point unit), as we can expect on arm.
It is best to set Virtualplanet for i386 and x86_64 only.

Patrick Chevalley

18-11-03 10:56

administrator   ~0005028

I forget to close this issue

Issue History

Date Modified Username Field Change
17-12-08 11:12 Mattia Verga New Issue
17-12-08 11:12 Mattia Verga File Added: virtualplanet-gdb.txt
17-12-08 11:47 Patrick Chevalley Status new => feedback
17-12-08 11:47 Patrick Chevalley Note Added: 0004333
17-12-08 12:16 Mattia Verga Note Added: 0004334
17-12-08 12:16 Mattia Verga Status feedback => new
17-12-08 13:26 Mattia Verga Note Added: 0004335
17-12-08 13:29 Mattia Verga Note Added: 0004336
17-12-08 13:52 Patrick Chevalley Note Added: 0004337
18-11-03 10:56 Patrick Chevalley Status new => resolved
18-11-03 10:56 Patrick Chevalley Resolution open => fixed
18-11-03 10:56 Patrick Chevalley Note Added: 0005028