[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#945907: qtmultimedia-opensource-src: FTBFS on hppa - stack overflow



Source: qtmultimedia-opensource-src
Version: 5.11.3-2
Severity: normal

Dear Maintainer,

The build fails in the testsuite:

make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto/unit/qcamerawidgets'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto/unit/qcameraviewfinder'
cd qmediaplayerwidgets/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/auto/unit/qmediaplayerwidgets/qmediaplayerwidgets.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' QMAKE_STRIP=: PREFIX=/usr QT_BUILD_PARTS+=tests ) && make -f Makefile check
cd qaudiorecorder/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/tests/auto/unit/qaudiorecorder/qaudiorecorder.pro 'QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' 'QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' QMAKE_STRIP=: PREFIX=/usr QT_BUILD_PARTS+=tests ) && make -f Makefile check
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/auto/unit/qabstractvideosurface'
/<<PKGBUILDDIR>>/tests/auto/unit/qabstractvideosurface/target_wrapper.sh  ./tst_qabstractvideosurface 
make[4]: *** [Makefile:456: check] Segmentation fault
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto/unit/qdeclarativemultimediaglobal'
make[3]: *** [Makefile.multimediaqml:473: sub-qdeclarativemultimediaglobal-check] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests/auto/unit'
make[2]: *** [Makefile:405: sub-multimediaqml-pro-check] Error 2
make[2]: *** Waiting for unfinished jobs....

tst_qdeclarativemultimediaglobal drops core due to a stack overflow:

dave@atlas:~/debian/qtmultimedia-opensource-src/qtmultimedia-opensource-src-5.12
.5/tests/auto/unit/qdeclarativemultimediaglobal$ gdb -c core tst_qdeclarativemultimediaglobal
GNU gdb (Debian 8.3.1-1) 8.3.1
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "hppa-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from tst_qdeclarativemultimediaglobal...

warning: core file may not match specified executable file.
[New LWP 11794]
[New LWP 11778]
[New LWP 11729]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/hppa-linux-gnu/libthread_db.so.1".
Core was generated by `./tst_qdeclarativemultimediaglobal'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xf6c7fbfc in _int_malloc (av=0xf8700010, bytes=4) at malloc.c:3563
3563    malloc.c: No such file or directory.
[Current thread is 1 (Thread 0xe53723c0 (LWP 11794))]
(gdb) bt
#0  0xf6c7fbfc in _int_malloc (av=0xf8700010, bytes=4) at malloc.c:3563
#1  0xf6c81dc8 in __GI___libc_malloc (bytes=4) at malloc.c:3075
#2  0xf735fb48 in operator new(unsigned int) ()
   from /usr/lib/hppa-linux-gnu/libstdc++.so.6
#3  0xf473ac10 in ?? () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#4  0xf473850c in QV4::Compiler::JSUnitGenerator::registerQmlContextPropertyGetterLookup(int) () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#5  0xf474b290 in QV4::Compiler::Codegen::Reference::loadInAccumulator() const
    () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#6  0xf47511b8 in QV4::Compiler::Codegen::Reference::doStoreOnStack(int) const
    () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#7  0xf475149c in QV4::Compiler::Codegen::Reference::storeOnStack() const ()
   from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#8  0xf4750e8c in QV4::Compiler::Codegen::Reference::storeAccumulator() const
    () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#9  0xf475106c in QV4::Compiler::Codegen::Reference::storeConsumeAccumulator() const () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#10 0xf47511cc in QV4::Compiler::Codegen::Reference::doStoreOnStack(int) const
    () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#11 0xf475149c in QV4::Compiler::Codegen::Reference::storeOnStack() const ()
   from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5
#12 0xf4750e8c in QV4::Compiler::Codegen::Reference::storeAccumulator() const
    () from /usr/lib/hppa-linux-gnu/libQt5Qml.so.5

Probably, this caused by the fact that stacks grow upward on hppa.

Regards,
Dave Anglin

-- System Information:
Debian Release: bullseye/sid
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 4.14.156+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: