Good evening. I am trying to use VokoskreenNG for screencast - it worked fine on my Arch laptop. But unfortunately on Manjaro I am getting segfault (core dump) and I am not sure what to do to fix that. The program was installed on both systems within a day from each other, on Arch by downloading it from AUR and running makepkg -si, on Manjaro by Add/Remove Software and (after uninstalling it) by makepkg -si. I assume the downloaded file from AUR is identical on both of my systems or am I wrong?
Below is the output when I start the program from terminal:
vokoscreenNG
[vokoscreenNG] Version: 3.0.7 pre alpha
[vokoscreenNG] Locale: en_US
[vokoscreenNG] Log from: 2020-09-06 19:05:50
[vokoscreenNG] Country: United States
[vokoscreenNG] Qt: 5.15.0
[vokoscreenNG] GStreamer 1.16.2
[vokoscreenNG] Operating system: Manjaro Linux
[vokoscreenNG] CPU Architecture: x86_64
[vokoscreenNG] vokoscreenNG running as: xcb client
[vokoscreenNG] vokoscreenNG running on: x11
[vokoscreenNG] Desktop: XFCE
[vokoscreenNG] Icon-Theme: Papirus-Maia
[vokoscreenNG] Styles: (bb10dark, bb10bright, chameleon, dsemilight, dsemidark, dlight, ddark, kvantum-dark, kvantum, cleanlooks, gtk2, cde, motif, plastique, qt5ct-style, Windows, Fusion)
[vokoscreenNG] Qt-PluginsPath: /usr/lib/qt/plugins
[vokoscreenNG] Qt-TranslationsPath: /usr/share/qt/translations
[vokoscreenNG] Qt-LibraryPath: /usr/lib
[vokoscreenNG] Settings: /home/XXX/.config/vokoscreenNG/vokoscreenNG.ini
[vokoscreenNG] Log: /home/XXX/.config/vokoscreenNG/log/2020_09_06_19_05_50.log
[vokoscreenNG] Default Videopath: /home/XXX/Videos
[vokoscreenNG] User Videopath:
[vokoscreenNG] CompositingManager running: true
[vokoscreenNG] Symbols: + available, - not available
[vokoscreenNG] + matroskamux
[vokoscreenNG] + webmmux
[vokoscreenNG] + avimux
[vokoscreenNG] + mp4mux
[vokoscreenNG] + qtmux
[vokoscreenNG] + x264enc
[vokoscreenNG] - openh264enc
[vokoscreenNG] - vaapih264enc
[vokoscreenNG] - vaapimpeg2enc
[vokoscreenNG] + vp8enc
[vokoscreenNG] + vorbisenc
[vokoscreenNG] + flacenc
[vokoscreenNG] + opusenc
[vokoscreenNG] + lamemp3enc
[vokoscreenNG] - voaacenc
[vokoscreenNG] + ximagesrc
[vokoscreenNG] + pulsesrc
[vokoscreenNG] + pipewiresrc
[vokoscreenNG] + queue
[vokoscreenNG] + capsfilter
[vokoscreenNG] + videoconvert
[vokoscreenNG] + videorate
[vokoscreenNG] + audioconvert
[vokoscreenNG] + audiorate
[vokoscreenNG] + filesink
[vokoscreenNG] + videoscale
[vokoscreenNG] + h264parse
[vokoscreenNG] + audiomixer
[vokoscreenNG] + adder
Segmentation fault (core dumped)
I ran valgrind and here is the output from that:
valgrind vokoscreenNG
==14973== Memcheck, a memory error detector
==14973== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==14973== Using Valgrind-3.16.1 and LibVEX; rerun with -h for copyright info
==14973== Command: vokoscreenNG
==14973==
--14973-- WARNING: unhandled amd64-linux syscall: 315
--14973-- You may be able to write your own handler.
--14973-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--14973-- Nevertheless we consider this a bug. Please report
--14973-- it at http://valgrind.org/support/bug_reports.html.
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0x4E2A893: QWidget::setGeometry(QRect const&) (in /usr/lib/libQt5Widgets.so.5.15.0)
==14973== by 0x168C6E: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x168CFE: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x16895F: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x138944: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x12A0C7: main (in /usr/bin/vokoscreenNG)
==14973==
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0x4E2A893: QWidget::setGeometry(QRect const&) (in /usr/lib/libQt5Widgets.so.5.15.0)
==14973== by 0x168D77: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x16895F: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x138944: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x12A0C7: main (in /usr/bin/vokoscreenNG)
==14973==
[vokoscreenNG] Version: 3.0.7 pre alpha
[vokoscreenNG] Locale: en_US
[vokoscreenNG] Log from: 2020-09-06 19:09:05
[vokoscreenNG] Country: United States
[vokoscreenNG] Qt: 5.15.0
[vokoscreenNG] GStreamer 1.16.2
[vokoscreenNG] Operating system: Manjaro Linux
[vokoscreenNG] CPU Architecture: x86_64
[vokoscreenNG] vokoscreenNG running as: xcb client
[vokoscreenNG] vokoscreenNG running on: x11
[vokoscreenNG] Desktop: XFCE
[vokoscreenNG] Icon-Theme: Papirus-Maia
[vokoscreenNG] Styles: (bb10dark, bb10bright, chameleon, dsemilight, dsemidark, dlight, ddark, kvantum-dark, kvantum, cleanlooks, gtk2, cde, motif, plastique, qt5ct-style, Windows, Fusion)
[vokoscreenNG] Qt-PluginsPath: /usr/lib/qt/plugins
[vokoscreenNG] Qt-TranslationsPath: /usr/share/qt/translations
[vokoscreenNG] Qt-LibraryPath: /usr/lib
[vokoscreenNG] Settings: /home/XXX/.config/vokoscreenNG/vokoscreenNG.ini
[vokoscreenNG] Log: /home/XXX/.config/vokoscreenNG/log/2020_09_06_19_09_03.log
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0xC3B2AC5: ???
==14973== by 0xBE70417: ???
==14973==
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0xC3B2AC5: ???
==14973== by 0xBE74947: ???
==14973==
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0xC3B2AC5: ???
==14973== by 0x9B3B1B7: ???
==14973==
[vokoscreenNG] Default Videopath: /homeXXX/Videos
[vokoscreenNG] User Videopath:
[vokoscreenNG] CompositingManager running: true
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0xC3B2AC5: ???
==14973== by 0x10AA3457: ???
==14973==
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0xC3B2AC5: ???
==14973== by 0x9BFAE07: ???
==14973==
==14973== Conditional jump or move depends on uninitialised value(s)
==14973== at 0xC3B2AC5: ???
==14973== by 0x10AD64F7: ???
==14973==
[vokoscreenNG] Symbols: + available, - not available
[vokoscreenNG] + matroskamux
[vokoscreenNG] + webmmux
[vokoscreenNG] + avimux
[vokoscreenNG] + mp4mux
[vokoscreenNG] + qtmux
[vokoscreenNG] + x264enc
[vokoscreenNG] - openh264enc
[vokoscreenNG] - vaapih264enc
[vokoscreenNG] - vaapimpeg2enc
[vokoscreenNG] + vp8enc
[vokoscreenNG] + vorbisenc
[vokoscreenNG] + flacenc
[vokoscreenNG] + opusenc
[vokoscreenNG] + lamemp3enc
[vokoscreenNG] - voaacenc
[vokoscreenNG] + ximagesrc
[vokoscreenNG] + pulsesrc
[vokoscreenNG] + pipewiresrc
[vokoscreenNG] + queue
[vokoscreenNG] + capsfilter
[vokoscreenNG] + videoconvert
[vokoscreenNG] + videorate
[vokoscreenNG] + audioconvert
[vokoscreenNG] + audiorate
[vokoscreenNG] + filesink
[vokoscreenNG] + videoscale
[vokoscreenNG] + h264parse
[vokoscreenNG] + audiomixer
[vokoscreenNG] + adder
==14973== Invalid read of size 8
==14973== at 0x559F9F4: QScreen::name() const (in /usr/lib/libQt5Gui.so.5.15.0)
==14973== by 0xA1EE3B5: ??? (in /usr/lib/qt/plugins/platforms/libdxcb.so)
==14973== by 0x5F78A25: ??? (in /usr/lib/libQt5Core.so.5.15.0)
==14973== by 0x55680E2: QGuiApplication::screenAdded(QScreen*) (in /usr/lib/libQt5Gui.so.5.15.0)
==14973== by 0x13C88B: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x12A0C7: main (in /usr/bin/vokoscreenNG)
==14973== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==14973==
==14973==
==14973== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==14973== Access not within mapped region at address 0x8
==14973== at 0x559F9F4: QScreen::name() const (in /usr/lib/libQt5Gui.so.5.15.0)
==14973== by 0xA1EE3B5: ??? (in /usr/lib/qt/plugins/platforms/libdxcb.so)
==14973== by 0x5F78A25: ??? (in /usr/lib/libQt5Core.so.5.15.0)
==14973== by 0x55680E2: QGuiApplication::screenAdded(QScreen*) (in /usr/lib/libQt5Gui.so.5.15.0)
==14973== by 0x13C88B: ??? (in /usr/bin/vokoscreenNG)
==14973== by 0x12A0C7: main (in /usr/bin/vokoscreenNG)
==14973== If you believe this happened as a result of a stack
==14973== overflow in your program's main thread (unlikely but
==14973== possible), you can try to increase the size of the
==14973== main thread stack using the --main-stacksize= flag.
==14973== The main thread stack size used in this run was 8388608.
==14973==
==14973== HEAP SUMMARY:
==14973== in use at exit: 24,181,616 bytes in 101,443 blocks
==14973== total heap usage: 261,138 allocs, 159,695 frees, 152,747,602 bytes allocated
==14973==
==14973== LEAK SUMMARY:
==14973== definitely lost: 17,017 bytes in 6 blocks
==14973== indirectly lost: 182 bytes in 5 blocks
==14973== possibly lost: 43,324 bytes in 239 blocks
==14973== still reachable: 23,983,725 bytes in 100,678 blocks
==14973== of which reachable via heuristic:
==14973== length64 : 1,552 bytes in 28 blocks
==14973== newarray : 1,896 bytes in 31 blocks
==14973== multipleinheritance: 1,920 bytes in 2 blocks
==14973== suppressed: 0 bytes in 0 blocks
==14973== Rerun with --leak-check=full to see details of leaked memory
==14973==
==14973== Use --track-origins=yes to see where uninitialised values come from
==14973== For lists of detected and suppressed errors, rerun with: -s
==14973== ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
Segmentation fault (core dumped)
I assume I need to edit vokoscreen.ini but I am not sure how. Thank you in advance for all your help!