×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

fitsviewer causes crash to desktop

  • Posts: 535
  • Thank you received: 109
from ekosdebugger:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe3143640 (LWP 52213)]
[New Thread 0x7fffe18b2640 (LWP 52214)]
[New Thread 0x7fffe10b1640 (LWP 52215)]
[New Thread 0x7fffe08b0640 (LWP 52216)]
[New Thread 0x7fffd3f9d640 (LWP 52217)]
[New Thread 0x7fffd358e640 (LWP 52219)]
[New Thread 0x7fffc7fff640 (LWP 52220)]
[New Thread 0x7fffbffff640 (LWP 52221)]
[New Thread 0x7fffb7fff640 (LWP 52222)]
[New Thread 0x7fffaffff640 (LWP 52223)]
[New Thread 0x7fffa7fff640 (LWP 52224)]
[New Thread 0x7fff9ffff640 (LWP 52225)]
[New Thread 0x7fff97fff640 (LWP 52226)]
[New Thread 0x7fff8ffff640 (LWP 52227)]
[New Thread 0x7fff7ffff640 (LWP 52228)]
[New Thread 0x7fffc55ee640 (LWP 52229)]
[New Thread 0x7fff7bc6a640 (LWP 52230)]
[New Thread 0x7fff73fff640 (LWP 52231)]
[New Thread 0x7fff6bfff640 (LWP 52232)]
[New Thread 0x7fff63fff640 (LWP 52233)]
[New Thread 0x7fff5bfff640 (LWP 52234)]
[New Thread 0x7fff53fff640 (LWP 52235)]
[New Thread 0x7fffbd326640 (LWP 52238)]
[New Thread 0x7fffbcb25640 (LWP 52239)]
[New Thread 0x7fffb5ffe640 (LWP 52240)]
[New Thread 0x7fffb57fd640 (LWP 52241)]
[Thread 0x7fffbd326640 (LWP 52238) exited]
[Thread 0x7fffbcb25640 (LWP 52239) exited]
[New Thread 0x7fffbcb25640 (LWP 52245)]
[Thread 0x7fffbcb25640 (LWP 52245) exited]
[New Thread 0x7fffbcb25640 (LWP 52246)]
[Thread 0x7fffbcb25640 (LWP 52246) exited]
[New Thread 0x7fffbcb25640 (LWP 52247)]
[Thread 0x7fffbcb25640 (LWP 52247) exited]
[New Thread 0x7fffbcb25640 (LWP 52248)]
[New Thread 0x7fffbd326640 (LWP 52249)]
[New Thread 0x7fffad72b640 (LWP 52250)]
[New Thread 0x7fffacf2a640 (LWP 52251)]
[New Thread 0x7fffa5ffe640 (LWP 52252)]
[New Thread 0x7fffa57fd640 (LWP 52253)]
[New Thread 0x7fffa4ffc640 (LWP 52254)]
[New Thread 0x7fff8d05c640 (LWP 52257)]
[Thread 0x7fff8d05c640 (LWP 52257) exited]
Thread 13 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9ffff640 (LWP 52225)]
0x0000555555824194 in FITSData::loadWCS (this=0x55555c5b5dd0) at /usr/src/debug/kstars-3.5.0.git-20201103191321.fc33.x86_64/kstars/fitsviewer/fitsdata.cpp:2241
2241	                p->ra  = world[0];
#0  0x0000555555824194 in FITSData::loadWCS (this=0x55555c5b5dd0) at /usr/src/debug/kstars-3.5.0.git-20201103191321.fc33.x86_64/kstars/fitsviewer/fitsdata.cpp:2241
#1  0x00005555557ffe22 in QtConcurrent::StoredMemberFunctionPointerCall0<bool, FITSData>::runFunctor (this=0x55555c685890) at /usr/include/qt5/QtConcurrent/qtconcurrentstoredfunctioncall.h:187
#2  0x00005555556f05ad in QtConcurrent::RunFunctionTask<bool>::run (this=0x55555c685890) at /usr/include/qt5/QtCore/qresultstore.h:143
#3  0x00007ffff527cdca in QThreadPoolThread::run() () from /lib64/libQt5Core.so.5
#4  0x00007ffff52794bc in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007ffff63343f9 in start_thread () from /lib64/libpthread.so.0
#6  0x00007ffff47a1b03 in clone () from /lib64/libc.so.6
Last edit: 3 years 5 months ago by Jim. Reason: better debuginfo
3 years 5 months ago #62375

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109
If I turn off "Auto WCS" in the Configure FITS options, it does not crash.

Jim
3 years 5 months ago #62376

Please Log in or Create an account to join the conversation.

  • Posts: 535
  • Thank you received: 109
Turning WCS on, with full debuginfos for the backtrace:

<code>#0 __vfprintf_internal (s=0x7f06b4bb5, format=0x7f078aaed4dc "%s:%i:%s: ", ap=0x7f072dffd0c0, mode_flags=2) at vfprintf-internal.c:1359
#1 0x00007f07886deae3 in ___fprintf_chk (fp=<optimized out>, flag=<optimized out>, format=<optimized out>) at fprintf_chk.c:33
#2 0x00007f078aa966bd in fprintf (__fmt=<optimized out>, __stream=<optimized out>, __stream=<optimized out>, __fmt=<optimized out>) at /usr/include/bits/stdio2.h:103
#3 error_reportv (e=0x7f06b4bb5160, module=module@entry=0x7f078aaedc90 "/builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/libkd/kdtree_internal.c", line=line@entry=2207, func=func@entry=0x7f078aaefb60 <__func__.19.lto_priv.2> "kdtree_build_2_ddd",
fmt=fmt@entry=0x7f078aaef1d8 "Data, N, or D is zero", va=va@entry=0x7f072dffd1e0) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/util/errors.c:183
#4 0x00007f078aa96812 in report_error (modfile=0x7f078aaedc90 "/builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/libkd/kdtree_internal.c", modline=2207, modfunc=0x7f078aaefb60 <__func__.19.lto_priv.2> "kdtree_build_2_ddd",
fmt=0x7f078aaef1d8 "Data, N, or D is zero") at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/util/errors.c:139
#5 0x00007f078aaa2966 in kdtree_build_2_ddd (kd=<optimized out>, indata=<optimized out>, N=<optimized out>, D=<optimized out>, Nleaf=5, treetype=<optimized out>, options=<optimized out>, minval=<optimized out>, maxval=<optimized out>)
at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/libkd/kdtree_internal.c:2207
#6 0x00007f078aacbda2 in kdtree_build (kd=<optimized out>, data=<optimized out>, N=<optimized out>, D=<optimized out>, Nleaf=<optimized out>, treetype=<optimized out>, options=2) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/libkd/kdtree.c:24
#7 0x00007f078aa60d98 in verify_field_preprocess (fieldxy=0x7f06b402dbe0) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/blind/verify.c:92
#8 0x00007f078aa58aa4 in solver_preprocess_field (solver=solver@entry=0x56330b151db8) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/blind/solver.c:644
#9 0x00007f078aa5ba6b in solve_fields (bp=bp@entry=0x56330b151db8, verify_wcs=verify_wcs@entry=0x0) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/blind/blind.c:1015
#10 0x00007f078aa5c416 in blind_run (bp=bp@entry=0x56330b151db8) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/blind/blind.c:473
#11 0x00007f078aa5d021 in engine_run_job (engine=0x7f06b4001c80, job=0x56330b151d80) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/astrometry/blind/engine.c:530
#12 0x00007f078aa1f110 in InternalSextractorSolver::runInternalSolver (this=0x56330b151a90) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/internalsextractorsolver.cpp:1183
#13 0x00007f078aa16f58 in InternalSextractorSolver::run (this=0x56330b151a90) at /builddir/build/BUILD/stellarsolver-1.4.git/stellarsolver/internalsextractorsolver.cpp:152
#14 0x00007f07891a84bc in QThreadPrivate::start (arg=0x56330b151a90) at thread/qthread_unix.cpp:329
#15 0x00007f078a2633f9 in start_thread (arg=0x7f072dffe640) at pthread_create.c:463
#16 0x00007f07886d0b03 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
</code>

@rlancaste This looks a lot like the same problem I posted in the Stellarsolver thread, and it would make sense as WCS is probably used when solving and slewing from an image.

Jim
Last edit: 3 years 5 months ago by Jim.
3 years 5 months ago #62423

Please Log in or Create an account to join the conversation.

Time to create page: 0.264 seconds