Bug 374277 - SIGSEGV when doing Data Updates on comets/asteroids
Summary: SIGSEGV when doing Data Updates on comets/asteroids
Status: RESOLVED WORKSFORME
Alias: None
Product: kstars
Classification: Applications
Component: general (other bugs)
Version First Reported In: git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jasem Mutlaq
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-29 08:36 UTC by pauledd
Modified: 2017-07-25 09:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pauledd 2016-12-29 08:36:05 UTC
Kstars does Segmentation fault when I try to update the data for asteroids or comets.

GDB output:

paul@Gummi ~/build/kstars/build $ gdb kstars
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
Copyright (C) 2015 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
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 kstars...done.
(gdb) r
Starting program: /usr/local/bin/kstars 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe26d9700 (LWP 7609)]
Welcome to KStars 2.7.2
[New Thread 0x7fffe1a97700 (LWP 7610)]
"Setting clock:  UTC: Do. Dez. 29 08:29:48 2016 GMT  JD: 2.457.751,85"
Opened the DSO Database. Ready!
Opened the User DB. Ready.
[New Thread 0x7fffdbc37700 (LWP 7611)]
[New Thread 0x7fffdb436700 (LWP 7612)]
[New Thread 0x7fffdac35700 (LWP 7613)]
Processing  "unnamedstars.dat" , HTMesh Level 3
  Sky Mesh Size:  512
Loaded DSO catalog file:  "unnamedstars.dat"
"Star HD61421 not found."
"Star HD10700 not found."
"Star HD20794 not found."
"Star HD2151 not found."
"Star HD190248 not found."
"Star HD142860 not found."
"Star HD1581 not found."
"Star HD1581 not found."
"Star HD98230 not found."
File opened:  "/usr/local/share/kstars/ngcic.dat"
Loading NGC/IC objects
File opened:  "/usr/local/share/kstars/asteroids.dat"
File opened:  "/usr/local/share/kstars/comets.dat"
[New Thread 0x7fffda434700 (LWP 7614)]
"Object named NGC 3314A not found"
No WishList Saved yet
Starting the timer
Daylight Saving Time inactive
Next Daylight Savings Time change (Local Time):  "So. März 26 02:00:00 2017 GMT"
Next Daylight Savings Time change (UTC):  "So. März 26 00:59:59 2017 GMT"
The current Date/Time is:  "Do. Dez. 29 09:29:50 2016 GMT+0100"
glibc >= 2.1 detected.  Using GNU extension sincos()
"Object named NGC 72 not found"
"Object named NGC 78 not found"
"Object named NGC 6050A not found"
"Object named NGC 4666 not found"
"Object named NGC 7318 not found"
"Object named NGC 7839 not found"
"Object named NGC 7840 not found"
"Object named IC 1127 not found"
"Object named IC 2497 not found"
"Object named IC 4703 not found"
[New Thread 0x7fffd8fb4700 (LWP 7665)]
[New Thread 0x7fffbffff700 (LWP 7666)]
[New Thread 0x7fffbf7fe700 (LWP 7667)]
content-type missing in HTTP POST, defaulting to application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() to fix this problem.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff367f9b0 in QProgressDialog::setMaximum(int) () from /usr/lib64/libQt5Widgets.so.5
(gdb) bt
#0  0x00007ffff367f9b0 in QProgressDialog::setMaximum(int) () from /usr/lib64/libQt5Widgets.so.5
#1  0x000000000096fa5e in FileDownloader::setDownloadProgress (this=0x38394d0, bytesReceived=5487, bytesTotal=-1)
    at /home/paul/build/kstars/kstars/auxiliary/filedownloader.cpp:180
#2  0x00000000005cb65b in FileDownloader::qt_static_metacall (_o=0x38394d0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffffffcb50)
    at /home/paul/build/kstars/build/kstars/moc_filedownloader.cpp:110
#3  0x00007ffff2466f90 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#4  0x00007ffff44ecd4b in QNetworkReply::downloadProgress(long long, long long) () from /usr/lib64/libQt5Network.so.5
#5  0x00007ffff445327a in ?? () from /usr/lib64/libQt5Network.so.5
#6  0x00007ffff44eda28 in ?? () from /usr/lib64/libQt5Network.so.5
#7  0x00007ffff2468021 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#8  0x00007ffff347426c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#9  0x00007ffff347975e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#10 0x00007ffff243f70a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007ffff244175a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007ffff248e7f3 in ?? () from /usr/lib64/libQt5Core.so.5
#13 0x00007fffece48d6d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#14 0x00007fffece49050 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007fffece490fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007ffff248e86f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#17 0x00007ffff243e56a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#18 0x00007ffff244602c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#19 0x000000000045dec1 in main (argc=1, argv=0x7fffffffd588) at /home/paul/build/kstars/kstars/main.cpp:277
(gdb) q
A debugging session is active.

        Inferior 1 [process 7604] will be killed.

Quit anyway? (y or n) y