This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

decode demo problem from SDK1.2

Hi,

I am running decode demo from SDK1.2 using pre-build server. I am encountering segmentation fault around DRVPOOL_XltBuf (). What could have been wrong?

(gdb) run -v data/videos/davincieffect_ntsc.264
Starting program: /opt/dvevm/decoded -v data/videos/davincieffect_ntsc.264
[Thread debugging using libthread_db enabled]
[New Thread 1076659560 (LWP 1116)]
NTSC selected
Decode demo started.
calling CERuntime_init()
[New Thread 1085053792 (LWP 1119)]
Codec Engine initialized
[New Thread 1093442400 (LWP 1120)]
[New Thread 1102293856 (LWP 1121)]
Logging initialized
Pause object opened
Init rendezvous opened for 3 threads
Cleanup rendezvous opened for 3 threads
Priming rendezvous opened for 2 threads
[New Thread 1110682464 (LWP 1122)]
Display thread created
Decode Debug: Display buffer 0 mapped to 0x4233d000 has physical address 0x86800000
Decode Debug: Display buffer 1 mapped to 0x4243c000 has physical address 0x868ff000
Decode Debug: Display buffer 2 mapped to 0x4253b000 has physical address 0x869fe000
Decode Debug: Video display device initialized.
[New Thread 1122839392 (LWP 1123)]
Decode Debug: OSD successfully initialized
Decode Debug: Video file successfully opened
Decode Debug: Codec Engine opened in video thread
Decode Debug: OSD transparency initialized
Decode Debug: Video decoder created
Decode Debug: Contiguous buffer allocated at physical address 0x87d00000
Decode Debug: Contiguous buffer allocated at physical address 0x87c35000
Decode Debug: Contiguous buffer allocated at physical address 0x87b6a000
Decode Debug: Contiguous buffer allocated at physical address 0x87a9f000
Decode Debug: Codec Engine opened in control thread
Decode Debug: MSP430 library initialized
Decode Debug: User interface created
waitForVsync
waitForVsync success
Decode Debug: Entering display main loop.---------
Decode Debug: Entering control main loop.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1122839392 (LWP 1123)]
0x00018388 in DRVPOOL_XltBuf ()
(gdb) bt
#0  0x00018388 in DRVPOOL_XltBuf ()
#1  0x00017ab8 in DRV_Invoke ()
#2  0x00018a30 in MSGQ_Put ()
#3  0x00014798 in Comm_put ()
#4  0x00011e54 in Engine_call ()
#5  0x00013664 in VISA_call ()
#6  0x000117e0 in process ()
#7  0x00011cd8 in VIDDEC_process ()
#8  0x0000fd3c in decodeVideoBuffer (hDecode=0x32a90,
    inBuf=0x43068000 <Address 0x43068000 out of bounds>, inBufSize=1500000,
    inputID=0, outBuf=0x43368000 <Address 0x43368000 out of bounds>,
    stats=0x42ed2510, dp=0x42ed25a0) at video.c:195
#9  0x000103d0 in videoThrFxn (arg=0xbefffae8) at video.c:370
#10 0x400e322c in start_thread (arg=0xea99) at pthread_create.c:261
#11 0x401a7240 in clone () at ../sysdeps/unix/sysv/linux/arm/clone.S:82
#12 0x401a7240 in clone () at ../sysdeps/unix/sysv/linux/arm/clone.S:82
warning: Previous frame identical to this frame (corrupt stack?)