Bi-monthly release with minor bug fixes and improvements
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
cmake -DCMAKE_BUILD_TYPE=Debug
tstibor@polaris:~/dev/astronomy/kstars/build/kstars>gdb ./kstars
(gdb) run
Starting program: /home/tstibor/dev/astronomy/kstars/build/kstars/kstars
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe187e700 (LWP 15109)]
[New Thread 0x7fffd7ef2700 (LWP 15110)]
[New Thread 0x7fffd76f1700 (LWP 15111)]
org.kde.kstars: Welcome to KStars 3.0.0
org.kde.kstars: Build: 2018-09-02T09:15:01Z
org.kde.kstars: OS: "debian"
org.kde.kstars: API: "x86_64-little_endian-lp64"
org.kde.kstars: Arch: "x86_64"
org.kde.kstars: Kernel Type: "linux"
org.kde.kstars: Kernel Version: "4.9.0-8-amd64"
[New Thread 0x7fffd6ef0700 (LWP 15112)]
[New Thread 0x7fffc53df700 (LWP 15113)]
[New Thread 0x7fffc458a700 (LWP 15114)]
[New Thread 0x7fffc3d89700 (LWP 15115)]
org.kde.kstars: Processing "unnamedstars.dat" , HTMesh Level 3
org.kde.kstars: Sky Mesh Size: 512
org.kde.kstars: Loaded DSO catalog file: "unnamedstars.dat"
org.kde.kstars: "Star HD20794 not found."
org.kde.kstars: "Star HD98230 not found."
File opened: "/usr/local/share/kstars/ngcic.dat"
org.kde.kstars: Loading NGC/IC objects
File opened: "/home/tstibor/.local/share/kstars/comets.dat"
org.kde.kstars: "Object named NGC 6050A not found"
[New Thread 0x7fffc1017700 (LWP 15116)]
(gdb) bt
#0 0x00007ffff24beabb in QTemporaryFile::fileName() const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1 0x0000555555befcc3 in KSDssDownloader::startSingleDownload (this=0x5555564bf9e0, srcUrl=..., destFileName=..., md=...)
at /home/tstibor/dev/astronomy/kstars/kstars/auxiliary/ksdssdownloader.cpp:233
#2 0x0000555555bafd65 in EyepieceField::slotDownloadDss (this=0x5555565dbe50) at /home/tstibor/dev/astronomy/kstars/kstars/tools/eyepiecefield.cpp:574
#3 0x00007ffff259f5e9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4 0x00007ffff3449422 in QAbstractButton::clicked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#5 0x00007ffff3449674 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6 0x00007ffff344aa67 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7 0x00007ffff344ac44 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8 0x00007ffff33a8278 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
bool dms::setFromString(const QString &str, bool isDeg)
{
int d(0), m(0);
double s(0.0);
bool checkValue(false), badEntry(false), negative(false);
QString entry = str.trimmed();
entry.remove(QRegExp("[hdms'\"°]"));
tstibor@polaris:~/dev/astronomy/kstars/build/kstars>gdb ./kstars
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 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-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 ./kstars...done.
(gdb) break dms.cpp:58
Breakpoint 1 at 0x1018a0: file /home/tstibor/dev/astronomy/kstars/kstars/auxiliary/dms.cpp, line 58.
(gdb) run
Starting program: /home/tstibor/dev/astronomy/kstars/build/kstars/kstars
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe187e700 (LWP 24205)]
[New Thread 0x7fffd7ef2700 (LWP 24206)]
[New Thread 0x7fffd76f1700 (LWP 24207)]
org.kde.kstars: Welcome to KStars 3.0.0
org.kde.kstars: Build: 2018-09-02T09:15:01Z
org.kde.kstars: OS: "debian"
org.kde.kstars: API: "x86_64-little_endian-lp64"
org.kde.kstars: Arch: "x86_64"
org.kde.kstars: Kernel Type: "linux"
org.kde.kstars: Kernel Version: "4.9.0-8-amd64"
[New Thread 0x7fffd6ef0700 (LWP 24208)]
[New Thread 0x7fffc53df700 (LWP 24209)]
Thread 1 "kstars" hit Breakpoint 1, dms::setFromString (this=this@entry=0x7fffffffd180, str=..., isDeg=isDeg@entry=true)
at /home/tstibor/dev/astronomy/kstars/kstars/auxiliary/dms.cpp:58
58 int d(0), m(0);
(gdb) p *str->d
$1 = {<QArrayData> = {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = 4}, <No data fields>}}}, size = 12, alloc = 13,
capacityReserved = 0, offset = 24, static shared_null = {{ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4,
_M_i = -1}, <No data fields>}}}, size = 0, alloc = 0, capacityReserved = 0, offset = 24,
static shared_null = <same as static member of an already seen type>}, {ref = {atomic = {_q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4,
_M_i = 0}, <No data fields>}}}, size = 0, alloc = 0, capacityReserved = 0, offset = 0,
static shared_null = <same as static member of an already seen type>}}}, <No data fields>}
(gdb) p isDeg
$2 = true
#2 dms::setFromString (this=0x7fffffffb068, str=..., isDeg=104)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.