Opened 2 years ago
Closed 2 years ago
#18160 closed bug (duplicate)
Problem with encoding: initalization failed: out of memory
Reported by: | jackburton | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Media Kit | Version: | R1/beta4 |
Keywords: | Cc: | ||
Blocked By: | #9458 | Blocking: | |
Platform: | x86 |
Description
Encoding fails with initialization failed
To reproduce: Open BeScreenCapture from terminal. Select MPEG / MPEG4 as output. Start and stop recording multiple times until an alert is shown with "Initialization failed". In the terminal, these errors come out:
PluginManager: Error, load_add_on(): General system error PluginManager: Error, loading Plugin ffmpeg failed PluginManager: CreateWriter: GetPlugin failed
and in syslog:
KERN: runtime_loader: /boot/system/lib/libavcodec.so.58.54.100: could not map image: out of memory
Could be an application specific bug, of course. But only happens on haiku 32 bit gcc2.
Attachments (1)
Change History (7)
comment:1 by , 2 years ago
Keywords: | 32 bit gcc2 removed |
---|---|
Platform: | All → x86 |
comment:2 by , 2 years ago
comment:3 by , 2 years ago
Attached test case. Compile with
gcc -lbe -lmedia -o mediacrashtest main.cpp
then execute ./mediacrashtest
by , 2 years ago
Test case. Compile with gcc -lbe -lmedia -o mediacrashtest main.cpp
comment:4 by , 2 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The first test case had a memory leak. The updated test case does not show the problem. So I guess this is, after all, an application issue.
comment:5 by , 2 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Reopening, because there's a leak in the kit, too, like described in #9458
comment:6 by , 2 years ago
Blocked By: | 9458 added |
---|---|
Resolution: | → duplicate |
Status: | reopened → closed |
Will try ti provide a simpler test case in the next days