ForumFabaria Gest discussion

Risolto

Fedora 22: crashreport Fabariagest 1.0.0

Caterpillar Caterpillar 3 visualizzazioni
#1

Vi allego il seguente crashreport (Fedora 22)

[user@localhost fabaria_gest]$ gdb --args fabaria_gest
GNU gdb (GDB) Fedora 7.9-11.fc22
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
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:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fabaria_gest...Reading symbols from /usr/lib/debug/opt/fabaria_gest/fabaria_gest.debug...(no debugging symbols found)...done.
(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/fabaria_gest/fabaria_gest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 2343.
[New Thread 0x7fffe17da700 (LWP 2342)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000447bf4 in QBasicAtomicInt::ref() ()
(gdb) backtrace
No stack

19 Ottobre 2015 13:04 #17

Allora, mi son fatto dire come si compilano programmi Qt in modalità debug. Serve la flag -DCMAKE_BUILD_TYPE=Debug
perciò ho eseguito
$ cmake -DCMAKE_BUILD_TYPE=Debug -DMAKE_INSTALL_PREFIX=directory -DWANT_QT5=ON -DWANT_QWTQT5=ON
poi dopo l’installzione ho eseguito
$ gdb fabaria_gest
GNU gdb (GDB) Fedora 7.9.1-19.fc22
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
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:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from fabaria_gest...done.
(gdb) run
Starting program: /opt/fabaria_gest/fabaria_gest
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Detaching after fork from child process 19559.
ASSERT failure in QList::at: "index out of range", file /usr/include/qt5/QtCore/qlist.h, line 510
[New Thread 0x7fffe0797700 (LWP 19558)]

Program received signal SIGABRT, Aborted.
0x00007ffff3dad9c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) backtrace
#0 0x00007ffff3dad9c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x00007ffff3daf65a in __GI_abort () at abort.c:89
#2 0x00007ffff4a6aaf1 in QMessageLogger::fatal(char const*, ...) const (context=..., message=) at global/qlogging.cpp:1575
#3 0x00007ffff4a6aaf1 in QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7fffffffd660, msg=msg@entry=0x7ffff4d0ee98 "ASSERT failure in %s: "%s", file %s, line %d")
at global/qlogging.cpp:777
#4 0x00007ffff4a65cb1 in qt_assert_x(char const*, char const*, char const*, int) (where=, what=, file=, line=) at global/qglobal.cpp:2978
#5 0x000000000050cdaf in QList::at(int) const (this=0x7fffffffd6f0, i=1) at /usr/include/qt5/QtCore/qlist.h:510
#6 0x00000000006bc466 in getSystemInfo() () at /home/user/fabariagest-1.0/fabaria/defines.h:103
#7 0x00000000006bf011 in main(int, char**) (argc=1, argv=0x7fffffffde18) at /home/user/fabariagest-1.0/fabaria/main.cpp:170
(gdb)

Come si può vedere è un backtrace notevolmente più dettagliato dei precedenti

Statistiche Topic

15Risposte
3Visualizzazioni
3Partecipanti

Partecipanti

3

Utenti unici nella discussione

Topic correlati