Sigsegv errors with puNES

I suppose that ffmpeg update to new version may be the reason for some sigsegv errors in my system.
For example this program:

It runs if compiled without ffmpeg. If compiled with ffmpeg i have this error:

fish: Job 1, './punes_BAK --portable' terminated by signal SIGSEGV (Address boundary error)

In journal:

mar 30 21:04:55 tomek-pc systemd-coredump[4701]: Process 4697 (punes_BAK) of user 1000 dumped core.
                                                 
                                                 Module libCg.so without build-id.
                                                 Module libCgGL.so without build-id.
                                                 Stack trace of thread 4697:
                                                 #0  0x00007fb30422e2db av_fifo_read (libavutil.so.58 + 0x2e2db)
                                                 #1  0x00007fb3046d1b6e n/a (libavcodec.so.60 + 0xd1b6e)
                                                 #2  0x00007fb3046d3f3e n/a (libavcodec.so.60 + 0xd3f3e)
                                                 #3  0x00007fb304690978 avcodec_close (libavcodec.so.60 + 0x90978)
                                                 #4  0x00007fb3047c5148 avcodec_open2 (libavcodec.so.60 + 0x1c5148)
                                                 #5  0x000055745995ca12 recording_init (punes_BAK + 0x55ca12)
                                                 #6  0x000055745993c24f main (punes_BAK + 0x53c24f)
                                                 #7  0x00007fb30183c790 n/a (libc.so.6 + 0x23790)
                                                 #8  0x00007fb30183c84a __libc_start_main (libc.so.6 + 0x2384a)
                                                 #9  0x00005574596d4395 _start (punes_BAK + 0x2d4395)
                                                 
                                                 Stack trace of thread 4698:
                                                 #0  0x00007fb3019139df __poll (libc.so.6 + 0xfa9df)
                                                 #1  0x00007fb2ff2d326b n/a (libxcb.so.1 + 0xd26b)
                                                 #2  0x00007fb2ff2d4d1d xcb_wait_for_event (libxcb.so.1 + 0xed1d)
                                                 #3  0x00007fb2f1432442 n/a (libQt6XcbQpa.so.6 + 0x4e442)
                                                 #4  0x00007fb302085ee1 n/a (libQt6Core.so.6 + 0x285ee1)
                                                 #5  0x00007fb30189ebb5 n/a (libc.so.6 + 0x85bb5)
                                                 #6  0x00007fb301920d90 n/a (libc.so.6 + 0x107d90)
                                                 
                                                 Stack trace of thread 4699:
                                                 #0  0x00007fb3019139df __poll (libc.so.6 + 0xfa9df)
                                                 #1  0x00007fb300b8a17f n/a (libglib-2.0.so.0 + 0xb717f)
                                                 #2  0x00007fb300b2c1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
                                                 #3  0x00007fb30214d9b2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x34d9b2)
                                                 #4  0x00007fb301f361f4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1361f4)
                                                 #5  0x00007fb30201de08 _ZN7QThread4execEv (libQt6Core.so.6 + 0x21de08)
                                                 #6  0x00007fb2fee9911f n/a (libQt6DBus.so.6 + 0x2d11f)
                                                 #7  0x00007fb302085ee1 n/a (libQt6Core.so.6 + 0x285ee1)
                                                 #8  0x00007fb30189ebb5 n/a (libc.so.6 + 0x85bb5)
                                                 #9  0x00007fb301920d90 n/a (libc.so.6 + 0x107d90)
                                                 ELF object binary architecture: AMD x86-64

Program runs with ffmpeg before upgrading.

Can anyone confirm?

Please do not post issues with third-party applications or AUR packages in Announcements posts. Note that I’ve moved your post to a new topic.

How did you install it? punes is in the AUR (Arch User Repository).

Either way, you most likely need to rebuild it on the newer FFmpeg libraries. This is a normal occurrence for packages one has built from source or installed from the AUR.

Thanks.

I cloned git repo and built by myself.

So should i just have to clone fresh repo and build again?

You won’t have to do a git pull to refesh the repo if it’s the same version, you just need to rebuild.

Tried fresh cloning and fresh building. Same situation, maybe it’s something else.

-- The C compiler identification is GNU 12.2.1
-- The CXX compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned long long
-- Check size of unsigned long long - done
-- Found ALSA: /usr/lib/libasound.so (found version "1.2.8") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Checking for module 'libudev'
--   Found libudev, version 252
-- Found X11: /usr/include   
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found Cg: /usr/lib/libCg.so  
-- Found OpenGL: /usr/lib/libOpenGL.so   
-- Found Qt: 5.15.8
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Checking for modules 'libavformat;libavcodec;libswresample;libswscale;libavutil'
--   Found libavformat, version 60.3.100
--   Found libavcodec, version 60.3.100
--   Found libswresample, version 4.10.100
--   Found libswscale, version 7.1.100
--   Found libavutil, version 58.2.100
-- Configuring done (0.9s)
-- Generating done (0.0s)
-- Build files have been written to: /run/media/tomek/TOSHIBA_P300/Kompilacje/puNES/build

Then build. And same error.

Perhaps i should write about it on puNES git.

Also tried puNES-git from aur. Same situation. Confirmation needed.

Another option is to remove the local installation and try the AUR punes package. The PKGBUILD looks okay, but it is out of date.

The normal punes package from aur compiled with ffmpeg and is working.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.