I had a similar issue a month or so ago, what helped was a clean cloning of LyX source. Now even that doesn't work, and it's been like that for 2 or 3 weeks. It might be due to newest Qt libraries that came with Fedora 23, not sure. Can you read anything from this backtrace?


(...after installing 3GB of various debuginfos)



(gdb) run
Starting program: /xxx/xxx/xxx/build-lyx-Qt5/bin/lyx2.2
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
QList<QPrinter::PageSize>::QList (this=0x7ffff6e4b578 <QPrinterInfoPrivate::shared_null+24>) at ../../src/corelib/tools/qlist.h:121
121         inline QList() : d(&QListData::shared_null) { d->ref.ref(); }
Missing separate debuginfos, use: dnf debuginfo-install bzip2-libs-1.0.6-17.fc23.x86_64 libgcc-5.1.1-4.fc23.x86_64 libstdc++-5.1.1-4.fc23.x86_64
(gdb) bt
#0 QList<QPrinter::PageSize>::QList (this=0x7ffff6e4b578 <QPrinterInfoPrivate::shared_null+24>) at ../../src/corelib/tools/qlist.h:121 #1 QPrinterInfoPrivate::QPrinterInfoPrivate (name=..., this=0x7ffff6e4b560 <QPrinterInfoPrivate::shared_null>) at painting/qprinterinfo_p.h:71 #2 __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at painting/qprinterinfo.cpp:35 #3 _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163 #4 0x00007ffff7deb79a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fffffffdfd8, env=env@entry=0x7fffffffdfe8)
    at dl-init.c:72
#5 0x00007ffff7deb8ab in call_init (env=0x7fffffffdfe8, argv=0x7fffffffdfd8, argc=1, l=<optimized out>) at dl-init.c:30 #6 _dl_init (main_map=0x7ffff7ffe148, argc=1, argv=0x7fffffffdfd8, env=0x7fffffffdfe8) at dl-init.c:120
#7  0x00007ffff7ddccba in _dl_start_user () from /lib64/ld-linux-x86-64.so.2
#8  0x0000000000000001 in ?? ()
#9  0x00007fffffffe2d5 in ?? ()
#10 0x0000000000000000 in ?? ()
















here's the run_cmake.sh I used
cmake /xxx/xxx/xxx/lyx  \
 -G"Unix Makefiles"  \
 -DLYX_CPACK=OFF  \
 -DLYX_LOCALVERSIONING=OFF  \
 -DLYX_INSTALL=OFF  \
 -DLYX_NLS=ON  \
 -DLYX_REQUIRE_SPELLCHECK=OFF  \
 -DLYX_ASPELL=OFF  \
 -DLYX_ENCHANT=OFF  \
 -DLYX_HUNSPELL=OFF  \
 -DLYX_DEVEL_VERSION=OFF  \
 -DLYX_RELEASE=OFF  \
 -DLYX_DEBUG=ON  \
 -DLYX_NO_OPTIMIZE=OFF  \
 -DLYX_PACKAGE_SUFFIX=ON  \
 -DLYX_PCH=OFF  \
 -DLYX_MERGE_FILES=OFF  \
 -DLYX_MERGE_REBUILD=OFF  \
 -DLYX_QUIET=OFF  \
 -DLYX_INSTALL_PREFIX=OFF  \
 -DLYX_BUNDLE=OFF  \
 -DLYX_ENABLE_URLTESTS=OFF  \
 -DLYX_ENABLE_EXPORT_TESTS=OFF  \
 -DLYX_ASAN=OFF  \
 -DLYX_USE_QT=QT5  \
 -DLYX_PROFILE=OFF  \
 -DLYX_EXTERNAL_BOOST=OFF  \
 -DLYX_PROGRAM_SUFFIX=ON  \
 -DLYX_DEBUG_GLIBC=OFF  \
 -DLYX_DEBUG_GLIBC_PEDANTIC=OFF  \
 -DLYX_STDLIB_DEBUG=OFF  \
 -DLYX_PROFILE=OFF  \
 -DLYX_ENABLE_CXX11=OFF  \





Same thing even if I go back in time, to some 9/2015 commits I know worked.
Doesn't matter if I set CXX11 to ON or OFF.


Reply via email to