Bug 305094 - KDevelop crashes on CMake configuration => specific CMake macro ?
Summary: KDevelop crashes on CMake configuration => specific CMake macro ?
Status: RESOLVED DUPLICATE of bug 296348
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 16:02 UTC by Nicolas SAUBAT
Modified: 2012-09-10 09:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas SAUBAT 2012-08-13 16:02:16 UTC
Hi,

I hope this is not a repost of an already solved bug.
On my Ubuntu 12.04 (fresh install, tested on 32 and 64 bits version of that OS) KDevelop crashes when opening / creating a CMake project from a CMakeLists.txt file. 
I've isolated the CMake line that produces the segmentation fault, it's a SET of the CMAKE_MODULE_PATH variable.

set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CAMITK_SOURCE_DIR}/cmake/modules)

Commenting this line allows KDevelop to create / open the project. But not configure, build correctly the project as this line is needed.
(FYI the project itself is a C++ medical framework (tool kit) for Computer Assisted Medical Interventions (CAMI) : http://camitk.imag.fr).

Don't know if that bug comes from whether CMake or KDevelop (but i'm able to configure and build my project using Cmake-gui genereating a makefile and compiling it with gcc).

Here is the backtrace, which is commented 'probably not usefull for developpers.

Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb2840740 (LWP 18445))]

Thread 14 (Thread 0xb07b3b40 (LWP 18450)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f55380 in __GI___poll (fds=0xafe00c78, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb510ba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50fe0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50fe56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb07b8134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
#6  0xb51216b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5cc8d4c in start_thread (arg=0xb07b3b40) at pthread_create.c:308
#8  0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xafdffb40 (LWP 18451)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f55380 in __GI___poll (fds=0xaf402398, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb510ba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50fe0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50fe56b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb10451ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb51216b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb5cc8d4c in start_thread (arg=0xafdffb40) at pthread_create.c:308
#8  0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xac141b40 (LWP 18466)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5cccd13 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0xb5f71434 in __pthread_cond_timedwait (cond=0x88d6178, mutex=0x88d6160, abstime=0xac141268) at forward.c:152
#3  0xb6c3f2df in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb566a9fa in ?? () from /usr/lib/libkdevplatformlanguage.so.5
#5  0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb5cc8d4c in start_thread (arg=0xac141b40) at pthread_create.c:308
#7  0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xa9957b40 (LWP 18474)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f55380 in __GI___poll (fds=0xafe0b7d8, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb510ba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50fe0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50fe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6d86887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6d5250d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6d527a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6c3b94c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb6d2fb5d in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5cc8d4c in start_thread (arg=0xa9957b40) at pthread_create.c:308
#12 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xa9156b40 (LWP 18476)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f5caf1 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0xb6d2de26 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#3  0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb5cc8d4c in start_thread (arg=0xa9156b40) at pthread_create.c:308
#5  0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xa8147b40 (LWP 18503)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5ccc96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb5f713dc in __pthread_cond_wait (cond=0xb4c0ba30, mutex=0xb4c0ba18) at forward.c:139
#3  0xb44da263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb44da37f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb5cc8d4c in start_thread (arg=0xa8147b40) at pthread_create.c:308
#6  0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xa8948b40 (LWP 18504)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f55380 in __GI___poll (fds=0xaf402b90, nfds=1, timeout=9999) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb510ba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50fe0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50fe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6d86887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6d5250d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6d527a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6c3b94c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb6c3ba3b in QThread::run() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#10 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5cc8d4c in start_thread (arg=0xa8948b40) at pthread_create.c:308
#12 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xaf3ffb40 (LWP 18776)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5ccc96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb5f713dc in __pthread_cond_wait (cond=0x91901e8, mutex=0x91901d0) at forward.c:139
#3  0xb6c3f350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb4c1eacc in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4c2195b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4c1e63a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4c21a5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4c1e533 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4c204e4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4c2059a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb5cc8d4c in start_thread (arg=0xaf3ffb40) at pthread_create.c:308
#13 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa58ceb40 (LWP 18863)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f55380 in __GI___poll (fds=0x9134208, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb510ba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50fe0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50fe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6d86887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6d5250d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6d527a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6c3b94c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb576dd16 in ?? () from /usr/lib/libkdevplatformlanguage.so.5
#10 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5cc8d4c in start_thread (arg=0xa58ceb40) at pthread_create.c:308
#12 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa50cdb40 (LWP 18864)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5f55380 in __GI___poll (fds=0xaf409620, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb510ba7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb50fe0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb50fe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6d86887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6d5250d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6d527a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb6c3b94c in QThread::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#9  0xb576dd16 in ?? () from /usr/lib/libkdevplatformlanguage.so.5
#10 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#11 0xb5cc8d4c in start_thread (arg=0xa50cdb40) at pthread_create.c:308
#12 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa40ccb40 (LWP 18869)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5ccc96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb5f713dc in __pthread_cond_wait (cond=0x883e580, mutex=0x883e568) at forward.c:139
#3  0xb6c3f350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb4c1eacc in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4c2195b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4c1e63a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4c21a5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4c1e533 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4c204e4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4c2059a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb5cc8d4c in start_thread (arg=0xa40ccb40) at pthread_create.c:308
#13 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa38cbb40 (LWP 18870)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5ccc96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb5f713dc in __pthread_cond_wait (cond=0x883e580, mutex=0x883e568) at forward.c:139
#3  0xb6c3f350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb4c1eacc in ?? () from /usr/lib/libthreadweaver.so.4
#5  0xb4c2195b in ?? () from /usr/lib/libthreadweaver.so.4
#6  0xb4c1e63a in ?? () from /usr/lib/libthreadweaver.so.4
#7  0xb4c21a5c in ?? () from /usr/lib/libthreadweaver.so.4
#8  0xb4c1e533 in ?? () from /usr/lib/libthreadweaver.so.4
#9  0xb4c204e4 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0xb4c2059a in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#11 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb5cc8d4c in start_thread (arg=0xa38cbb40) at pthread_create.c:308
#13 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa6f19b40 (LWP 19024)):
[KCrash Handler]
#7  0xb6c5d2ab in qHash(QString const&) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xab4cd710 in ?? () from /usr/lib/libkdev4cmakecommon.so
#9  0xab4f1dce in VariableMap::insert(QString const&, QStringList const&, bool) () from /usr/lib/libkdev4cmakecommon.so
#10 0xab4dab21 in CMakeProjectVisitor::visit(StringAst const*) () from /usr/lib/libkdev4cmakecommon.so
#11 0xab4c7eba in ?? () from /usr/lib/libkdev4cmakecommon.so
#12 0xab4e5e78 in ?? () from /usr/lib/libkdev4cmakecommon.so
#13 0xab4e9609 in CMakeProjectVisitor::visit(MacroCallAst const*) () from /usr/lib/libkdev4cmakecommon.so
#14 0xab4c7587 in ?? () from /usr/lib/libkdev4cmakecommon.so
#15 0xab4e5e78 in ?? () from /usr/lib/libkdev4cmakecommon.so
#16 0xab4e9609 in CMakeProjectVisitor::visit(MacroCallAst const*) () from /usr/lib/libkdev4cmakecommon.so
#17 0xab4c7587 in ?? () from /usr/lib/libkdev4cmakecommon.so
#18 0xab4e5e78 in ?? () from /usr/lib/libkdev4cmakecommon.so
#19 0xab4fb19d in CMakeParserUtils::includeScript(QString const&, KDevelop::ReferencedTopDUContext, CMakeProjectData*, QString const&, QMap<QString, QString> const&) () from /usr/lib/libkdev4cmakecommon.so
#20 0xa6f7b979 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#21 0xa6f7dd83 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#22 0xb5862eb5 in ?? () from /usr/lib/libkdevplatformproject.so.5
#23 0xb58627b8 in ?? () from /usr/lib/libkdevplatformproject.so.5
#24 0xb58628de in ?? () from /usr/lib/libkdevplatformproject.so.5
#25 0xb6c3139b in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#26 0xb6c3ede0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#27 0xb5cc8d4c in start_thread (arg=0xa6f19b40) at pthread_create.c:308
#28 0xb5f63ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb2840740 (LWP 18445)):
#0  0xb77c8424 in __kernel_vsyscall ()
#1  0xb5ccc96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb5f713dc in __pthread_cond_wait (cond=0x9292f70, mutex=0x9292f58) at forward.c:139
#3  0xb6c3f350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#4  0xb6c30b81 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#5  0xb6c32598 in QThreadPool::~QThreadPool() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#6  0xb6c325f2 in QThreadPool::~QThreadPool() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#7  0xb6c32628 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#8  0xb5eabf61 in __run_exit_handlers (status=1, listp=0xb601a3e4, run_list_atexit=true) at exit.c:78
#9  0xb5eabfed in __GI_exit (status=1) at exit.c:100
#10 0xb0a9fabf in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#11 0xb711f4c9 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#12 0xb711f504 in ?? () from /usr/lib/libkdeui.so.5
#13 0xb53b6b74 in _XIOError () from /usr/lib/i386-linux-gnu/libX11.so.6
#14 0xb53b440f in _XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#15 0xb53a5118 in XEventsQueued () from /usr/lib/i386-linux-gnu/libX11.so.6
#16 0xb62f68f3 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#17 0xb50fd872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#18 0xb50fdfaf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#19 0xb50fe201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb6d868e7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#21 0xb62f6aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#22 0xb6d5250d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#23 0xb6d527a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb6d57eba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#25 0xb623ba74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#26 0x0805119f in ?? ()
#27 0xb5e924d3 in __libc_start_main (main=0x804ba70, argc=1, ubp_av=0xbf87da94, init=0x80531c0 <__libc_csu_init>, fini=0x8053230 <__libc_csu_fini>, rtld_fini=0xb77d8270 <_dl_fini>, stack_end=0xbf87da8c) at libc-start.c:226
#28 0x08051991 in _start ()


Any idea ?
Thanks for your help.
Nicolas.
Comment 1 Nicolas SAUBAT 2012-08-28 09:32:25 UTC
Hi agin,

I've been surprised not to have any answer to this post. Did I miss something in the edition of the bug, or you guys were on holidays ?
Nevertheless, I've fixed the bug with my team, not knowing exactly why. 
Here is how we did, hoping this will help someone (or someone can help us understand this bug).

In a CMakeLists.txt file we used the CMake command :

add_subdirectory() for every subdirectories in a specific order (for dependance purpose). We add 9 subdirectories this way, each of them including a CMakeLists.txt file.
Replacing these "add_subdirectory()" commands with a list and a loop accross it

# get all subdirectories in a variable
get_subdirectories(COMPONENTS_LIST)
# Add subdirectories in CMake project
foreach(COMPONENT_NAME ${COMPONENTS_LIST})
  add_subdirectory(${COMPONENT_NAME})
endforeach()

does the same (only the order changes), but no more segmentation fault in our case.

Hope this will help, bye.
Comment 2 Milian Wolff 2012-08-31 14:43:28 UTC
multithreading bug, probably you can still get the crashes even with your cmakelists.txt change. should be fixed in the new release though, see bug 296348 .

*** This bug has been marked as a duplicate of bug 296348 ***
Comment 3 Nicolas SAUBAT 2012-09-10 09:10:21 UTC
Thanks for your answer.
I'm waiting for the new release  to fix the bug ! Thanks !