rh-lab-q / rpg

RPG is tool, that guides people through the creation of a RPM package
GNU General Public License v2.0
22 stars 11 forks source link

Replace Makedepend #350

Open onionka opened 8 years ago

onionka commented 8 years ago

Replace Makedepend with non-bugged one.

I tried build my project, but makedepend failed with SIGSEGV. There is Boost used, so it may be caused by heavy dependencies, but still, this should not happened.

$ valgrind makedepend -w 1000 /tmp/rpg-BEFA-Library-061df52/extracted/tests/main.cpp -f-

==17975== Stack overflow in thread 1: can't grow stack to 0xffe801ff8
==17975== Can't extend stack to 0xffe8010a8 during signal delivery for thread 1:
==17975==   no stack segment
==17975== 
==17975== Process terminating with default action of signal 11 (SIGSEGV)
==17975==  Access not within mapped region at address 0xFFE8010A8
==17975==    at 0x403148: ??? (in /usr/bin/makedepend)
==17975==  If you believe this happened as a result of a stack
==17975==  overflow in your program's main thread (unlikely but
==17975==  possible), you can try to increase the size of the
==17975==  main thread stack using the --main-stacksize= flag.
==17975==  The main thread stack size used in this run was 8388608.
==17975== Stack overflow in thread 1: can't grow stack to 0xffe801f70
==17975== 
==17975== Process terminating with default action of signal 11 (SIGSEGV)
==17975==  Access not within mapped region at address 0xFFE801F70
==17975==    at 0x48016C0: _vgnU_freeres (in /usr/lib64/valgrind/vgpreload_core-amd64-linux.so)
==17975==  If you believe this happened as a result of a stack
==17975==  overflow in your program's main thread (unlikely but
==17975==  possible), you can try to increase the size of the
==17975==  main thread stack using the --main-stacksize= flag.
==17975==  The main thread stack size used in this run was 8388608.
onionka commented 8 years ago

This is low priority because binary RPM will be built without error.