El 24/06/12 11:40, Konstantin Tokarev escribió:
> 
> 
> 24.06.2012, 13:27, "Linos" <[email protected]>:
>> El 23/06/12 20:33, Diego Iastrubni escribió:
>>
>>>>  I have tried copying config.h in a .config file in the project directory 
>>>> but
>>>>  still i have the same result, what i am missing? how could i enable this 
>>>> code
>>>>  portions other than change all the files to include config.h? Thanks!
>>>  Did you add config.h to the file list? (you are using a generic project, 
>>> right?)
>>
>> I am using the autotools project opening the Makefile.am, but if this should 
>> be
>> working i think i know what's happening, i am opening the ZoneMinder
>> src/Makefile.am because i am been hitting by this bug
>> https://bugreports.qt-project.org/browse/QTCREATORBUG-7503 that i reported, i
>> can't open the project root Makefile.am so QtCreator it is ignoring the root
>> config.h although i have copied to the src directory because it is not part 
>> of
>> the project at this level.
> 
> Could you provide backtrace from debug version of QtCreator?
> 

Yes, here it is:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd98c9700 (LWP 25671)]
0x00007ffff52fcd58 in _int_malloc () from /lib/libc.so.6
(gdb) bt
#0  0x00007ffff52fcd58 in _int_malloc () from /lib/libc.so.6
#1  0x00007ffff52ffb20 in malloc () from /lib/libc.so.6
#2  0x00007ffff622072a in queued_activate (argv=0x7fffd90ca1c0,
c=0x7fffc40136b0, signal=4, sender=0x7fffd98c8a10)
    at kernel/qobject.cpp:3419
#3  QMetaObject::activate (sender=0x7fffd98c8a10, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x7fffd90ca1c0)
    at kernel/qobject.cpp:3507
#4  0x00007fffe46ff4b3 in
AutotoolsProjectManager::Internal::MakefileParser::status (this=0x7fffd98c8a10,
_t1=...)
    at .moc/debug-shared/moc_makefileparser.cpp:99
#5  0x00007fffe46ff36f in
AutotoolsProjectManager::Internal::MakefileParser::qt_static_metacall
(_o=0x7fffd98c8a10, _c=
    QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffd90ca350) at
.moc/debug-shared/moc_makefileparser.cpp:50
#6  0x00007ffff622043f in QMetaObject::activate (sender=0x7fffd98c85f0,
m=<optimized out>, local_signal_index=<optimized out>, argv=
    0x7fffd90ca350) at kernel/qobject.cpp:3547
#7  0x00007fffe46ff4b3 in
AutotoolsProjectManager::Internal::MakefileParser::status (this=0x7fffd98c85f0,
_t1=...)
    at .moc/debug-shared/moc_makefileparser.cpp:99
#8  0x00007fffe46ff36f in
AutotoolsProjectManager::Internal::MakefileParser::qt_static_metacall
(_o=0x7fffd98c85f0, _c=
    QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffd90ca4e0) at
.moc/debug-shared/moc_makefileparser.cpp:50
#9  0x00007ffff622043f in QMetaObject::activate (sender=0x7fffd98c81d0,
m=<optimized out>, local_signal_index=<optimized out>, argv=
    0x7fffd90ca4e0) at kernel/qobject.cpp:3547
#10 0x00007fffe46ff4b3 in
AutotoolsProjectManager::Internal::MakefileParser::status (this=0x7fffd98c81d0,
_t1=...)
    at .moc/debug-shared/moc_makefileparser.cpp:99
#11 0x00007fffe46ff36f in
AutotoolsProjectManager::Internal::MakefileParser::qt_static_metacall
(_o=0x7fffd98c81d0, _c=
    QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffd90ca670) at
.moc/debug-shared/moc_makefileparser.cpp:50
#12 0x00007ffff622043f in QMetaObject::activate (sender=0x7fffd98c7db0,
m=<optimized out>, local_signal_index=<optimized out>, argv=
    0x7fffd90ca670) at kernel/qobject.cpp:3547
#13 0x00007fffe46ff4b3 in
AutotoolsProjectManager::Internal::MakefileParser::status (this=0x7fffd98c7db0,
_t1=...)
    at .moc/debug-shared/moc_makefileparser.cpp:99

The last steps get repeated much more times, if you need to reproduce it
download ZoneMinder 1.25.0 and open the root Makefile.am with Creator.

Regards,
Miguel Angel.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to