Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 28th November 2008, 17:38   #1  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
x264 r1041 - Segmentation Fault

I just compiled x264 r1041 as a DLL to use it with Avidemux. Did everything as I do it all the time.

But the build will crash right after the encoding process starts:

Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4236.0xf7c]
0x67619a45 in block_residual_write_cabac (h=<value optimized out>,
    cb=0xb83d380, i_ctxBlockCat=<value optimized out>, i_idx=1, l=0x5d28ec0,
    i_count=16) at ./common/bs.h:232
232             return x264_ue_size_tab[(val+1)>>8] + 16;
(gdb) bt
#0  0x67619a45 in block_residual_write_cabac (h=<value optimized out>,
    cb=0xb83d380, i_ctxBlockCat=<value optimized out>, i_idx=1, l=0x5d28ec0,
    i_count=16) at ./common/bs.h:232
#1  0x67629d50 in x264_rd_cost_part (h=0x5d272c0, i_lambda2=9289, i4=1,
    i_pixel=6) at encoder/cabac.c:1109
#2  0x67635761 in x264_me_refine_qpel_rd (h=0x5d272c0, m=0xb83e2f0,
    i_lambda2=9289, i4=1, i_list=0) at encoder/me.c:1000
#3  0x6762f9e6 in x264_macroblock_analyse (h=0x5d272c0)
    at encoder/analyse.c:2415
#4  0x676573d5 in x264_slice_write (h=0x5d272c0) at encoder/encoder.c:1177
#5  0x6766e5a4 in x264_stack_align () from d:\Avidemux 2.4\libx264-65.dll
#6  0x676530cd in x264_slices_write (h=0x5d272c0) at encoder/encoder.c:1326
#7  0x611812fa in ptw32_threadStart@4 () from d:\Avidemux 2.4\pthreadGC2.dll
#8  0x77bcb530 in msvcrt!_endthreadex () from C:\WINDOWS\syswow64\msvcrt.dll
#9  0x7d4dfe21 in KERNEL32!GetConsoleOutputCP ()
   from C:\WINDOWS\syswow64\kernel32.dll
#10 0x09301230 in ?? ()
#11 0x00000000 in ?? ()
(gdb)
Compiler is GCC 4.3.2-tdm-1, which used to work fine up to (including) r1038. I did not use any custom CFLAGS for the debug build.

No patches applied, except for the alignment fix (as required to get a working DLL). Any ideas?
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 28th November 2008 at 17:44.
LoRd_MuldeR is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.