Russian Qt Forum
Ноябрь 26, 2024, 06:43 *
Добро пожаловать, Гость. Пожалуйста, войдите или зарегистрируйтесь.
Вам не пришло письмо с кодом активации?

Войти
 
  Начало   Форум  WIKI (Вики)FAQ Помощь Поиск Войти Регистрация  

Страниц: [1]   Вниз
  Печать  
Автор Тема: Segmentation fault в новом чистом проекте. Qt5.0.2 Ubuntu 13.04  (Прочитано 2769 раз)
dmitry.p
Гость
« : Май 09, 2013, 09:34 »

Привет

Установил дистрибутив Qt 5.0.2
Создаю новый проект Приложения->Приложение Qt Quick 2(встроенные элементы)
Тут же компилирую, не добавляя ни одной своей строчки, и получаю "Приложение остановлено, так как оно получило сигнал от операционной системы. Сигнал: SIGSEGV Назначение: Segmentation fault" при запуске с отладкой.
0   ??   /lib/i386-linux-gnu/libc.so.6      0xb705c18b   
1   g_str_equal   /lib/i386-linux-gnu/libglib-2.0.so.0      0xb6482803   
2   g_hash_table_lookup   /lib/i386-linux-gnu/libglib-2.0.so.0      0xb6481e41   
3   g_quark_from_static_string   /lib/i386-linux-gnu/libglib-2.0.so.0      0xb64a2cce   
4   ??   /usr/lib/i386-linux-gnu/libgobject-2.0.so.0      0xb390d812   
5   ??   /lib/ld-linux.so.2      0xb7fed216   
6   ??   /lib/ld-linux.so.2      0xb7fed2fc   
7   ??   /lib/ld-linux.so.2      0xb7ff12b6   
8   ??   /lib/ld-linux.so.2      0xb7fed05e   
9   ??   /lib/ld-linux.so.2      0xb7ff0af4   
10   ??   /lib/i386-linux-gnu/libdl.so.2      0xb6559cce   
11   ??   /lib/ld-linux.so.2      0xb7fed05e   
12   ??   /lib/i386-linux-gnu/libdl.so.2      0xb655a422   
13   dlopen   /lib/i386-linux-gnu/libdl.so.2      0xb6559d87   
14   ??   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5      0xb74109df   
15   ??   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5      0xb740bc04   
16   ??   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5      0xb740c09e   
17   QPluginLoader::load()   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5      0xb74003bb   
18   QQmlInspectorService::loadInspectorPlugins()   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5      0xb7c19733   
19   QQmlInspectorService::updateState()   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5      0xb7c1aa98   
20   QQmlInspectorService::addView(QObject*)   /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5      0xb7c1af9f   
...   <Более>            

В чем может быть причина такого поведения?
Записан
GreatSnake
Джедай : наставник для всех
*******
Offline Offline

Сообщений: 2921



Просмотр профиля
« Ответ #1 : Май 09, 2013, 11:35 »

...   <Более>            
Самое главное и не показал.
Записан

Qt 5.11/4.8.7 (X11/Win)
dmitry.p
Гость
« Ответ #2 : Май 09, 2013, 14:16 »


Thread 5 (Thread 0xb35ffb40 (LWP 2952)):
#0  0xb7fdd424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6ff9dcb in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0xb64a22db in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0xb64936d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0xb6493831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0xb7461387 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#6  0xb7412336 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#7  0xb7412774 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#8  0xb7255a88 in QThread::exec() () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#9  0xb7c1798c in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5
No symbol table info available.
#10 0xb725aaa7 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#11 0xb68f7d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#12 0xb70093de in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0xb39cfb40 (LWP 2951)):
#0  0xb7fdd424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb68fdbf5 in sem_wait@@GLIBC_2.1 () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0xb6c763a6 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5V8.so.5
No symbol table info available.
#3  0xb6ba5f18 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5V8.so.5
No symbol table info available.
#4  0xb6c77dbb in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5V8.so.5
No symbol table info available.
#5  0xb6c7645b in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5V8.so.5
No symbol table info available.
#6  0xb68f7d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0xb70093de in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0xb41d0b40 (LWP 2950)):
#0  0xb7fdd424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6ff9dcb in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0xb64a22db in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0xb64936d0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0xb6493831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#5  0xb7461387 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#6  0xb7412336 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#7  0xb7412774 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#8  0xb7255a88 in QThread::exec() () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#9  0xb7b95eaf in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5
No symbol table info available.
#10 0xb725aaa7 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#11 0xb68f7d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#12 0xb70093de in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0xb4b81b40 (LWP 2949)):
#0  0xb7fdd424 in __kernel_vsyscall ()
No symbol table info available.
#1  0xb6ff9dcb in poll () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#2  0xb62a6200 in ?? () from /usr/lib/i386-linux-gnu/libxcb.so.1
No symbol table info available.
#3  0xb62a7e89 in xcb_wait_for_event () from /usr/lib/i386-linux-gnu/libxcb.so.1
No symbol table info available.
#4  0xb4d559d3 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/plugins/platforms/libqxcb.so
No symbol table info available.
#5  0xb725aaa7 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#6  0xb68f7d78 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
No symbol table info available.
#7  0xb70093de in clone () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0xb511ab00 (LWP 2945)):
#0  0xb705c18b in ?? () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
#1  0xb6482803 in g_str_equal () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2  0xb6481e41 in g_hash_table_lookup () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3  0xb64a2cce in g_quark_from_static_string () from /lib/i386-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#4  0xb390d812 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
No symbol table info available.
#5  0xb7fed216 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#6  0xb7fed2fc in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#7  0xb7ff12b6 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#8  0xb7fed05e in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#9  0xb7ff0af4 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#10 0xb6559cce in ?? () from /lib/i386-linux-gnu/libdl.so.2
No symbol table info available.
#11 0xb7fed05e in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#12 0xb655a422 in ?? () from /lib/i386-linux-gnu/libdl.so.2
No symbol table info available.
#13 0xb6559d87 in dlopen () from /lib/i386-linux-gnu/libdl.so.2
No symbol table info available.
#14 0xb74109df in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#15 0xb740bc04 in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#16 0xb740c09e in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#17 0xb74003bb in QPluginLoader::load() () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Core.so.5
No symbol table info available.
#18 0xb7c19733 in QQmlInspectorService::loadInspectorPlugins() () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5
No symbol table info available.
#19 0xb7c1aa98 in QQmlInspectorService::updateState() () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5
No symbol table info available.
#20 0xb7c1af9f in QQmlInspectorService::addView(QObject*) () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Qml.so.5
No symbol table info available.
#21 0xb7e7312a in ?? () from /opt/Qt5.0.2/5.0.2/gcc/lib/libQt5Quick.so.5
No symbol table info available.
#22 0x0804a084 in QtQuick2ApplicationViewer::QtQuick2ApplicationViewer (this=0xbffff678, parent=0x0) at ../untitled3/qtquick2applicationviewer/qtquick2applicationviewer.cpp:44
No locals.
#23 0x08049c9d in main (argc=1, argv=0xbffff754) at ../untitled3/main.cpp:8
        app = <incomplete type>
        viewer = {<QQuickView> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0xb7fbfa34 <QQuickView::staticMetaObject>, stringdata = 0x804ab00 <qt_meta_stringdata_QtQuick2ApplicationViewer>, data = 0x804ab40 <qt_meta_data_QtQuick2ApplicationViewer>, static_metacall = 0x804a67c <QtQuick2ApplicationViewer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x804a952 <__libc_csu_init+82>}
warning: RTTI symbol not found for class 'QQuickView'
Записан
spirits25
Гость
« Ответ #3 : Май 27, 2013, 17:18 »

Решил проблему? У меня в старом проекте
Код:
Program received signal SIGABRT, Aborted.
0x00007ffff3ed61b5 in raise () from /lib/libc.so.6
Пока не знаю как решить..
Записан
Страниц: [1]   Вверх
  Печать  
 
Перейти в:  


Страница сгенерирована за 0.057 секунд. Запросов: 23.