Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.3.0
-
None
-
Ubuntu 12.04.4 LTS
Linux 3.13.0-27-generic
i686 i686 i386 GNU/Linux
-
eadf1c8c41a41509a7c87b44d66b48cb8345acdb
Description
When linking QtMultimedia statically the application fails to start, but crashes before entering main.
All is fine, when Qt is compiled as a shared library, but using a static build fails.
I attached a minimal example showing the problem. It is basically an empty application with the multimedia module added as a dependency.
Here is the backtrace:
Program received signal SIGSEGV, Segmentation fault. 0x080795dc in QString::QString(QString const&) () (gdb) bt #0 0x080795dc in QString::QString(QString const&) () #1 0x0805c58f in _GLOBAL__sub_I_camerabinmetadata.cpp () #2 0x08d4e162 in __libc_csu_init () #3 0xb70d446a in __libc_start_main (main=0x805c220 <main>, argc=1, ubp_av=0xbffff654, init=0x8d4e110 <__libc_csu_init>, fini=0x8d4e180 <__libc_csu_fini>, rtld_fini=0xb7fed280 <_dl_fini>, stack_end=0xbffff64c) at libc-start.c:185 #4 0x0805f15d in _start ()