Bug 260424 - games/knetwalk: Crashes on startup: kf.coreaddons: Failed to establish shared memory mapping
Summary: games/knetwalk: Crashes on startup: kf.coreaddons: Failed to establish shared...
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-kde (group)
URL:
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2021-12-14 21:38 UTC by James B. Byrne
Modified: 2021-12-20 09:17 UTC (History)
1 user (show)

See Also:


Attachments
pkg upgrade /var/log/messages extract (58.23 KB, text/plain)
2021-12-16 14:20 UTC, James B. Byrne
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description James B. Byrne 2021-12-14 21:38:43 UTC
Following pkg upgrade on FreeBSD-12.2p10 netwalk no longer runs:

/usr/local/bin/knetwalk

kf.coreaddons: The operating system is unable to promise 10547304 bytes for mapped cache, abandoning the cache for crash-safety.

kf.coreaddons: Failed to establish shared memory mapping, will fallback to private memory -- memory usage will increase

Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 

Abort trap (core dumped)
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-12-14 21:44:05 UTC
Thank you for the report James.

 - What was the package version delta between upgrades? 

 - Could you include as an attachment the output of pkg upgrade (from /var/log/messages)

 - Additionally, if you're able to, a backtrace of running the process under gdb, or of the core dump might provide additional information.
Comment 2 James B. Byrne 2021-12-16 13:58:21 UTC
Changed package name from netwalk to knetwalk.
Comment 3 James B. Byrne 2021-12-16 14:17:39 UTC
unable to upload knetwalk.core due to file size 93954048.
Comment 4 James B. Byrne 2021-12-16 14:20:56 UTC
Created attachment 230175 [details]
pkg upgrade /var/log/messages extract
Comment 5 James B. Byrne 2021-12-16 15:54:21 UTC
Today's upgrade has solved the problem.

knetwalk upgraded: 21.04.3 -> 21.08.1