Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#25 My program run well, but callgrind exit always

open
nobody
5
2006-01-22
2006-01-22
Anonymous
No

anhminh.dinh@gmail.com

My MP4 player always out with callgrind if I open a file:

minhda@dhcppc0:~/MP4s> callgrind MP4Client
01-bitmap-movie.mp4
==22655== Callgrind-0.10.1, a call-graph generating
cache profiler.
==22655== Copyright (C) 2002-2005, and GNU GPL'd, by
J.Weidendorfer et al.
==22655== Using LibVEX rev 1471, a library for dynamic
binary translation.
==22655== Copyright (C) 2004-2005, and GNU GPL'd, by
OpenWorks LLP.
==22655== Using valgrind-3.1.0, a dynamic binary
instrumentation framework.
==22655== Copyright (C) 2000-2005, and GNU GPL'd, by
Julian Seward et al.
==22655== For more details, rerun with: -v
==22655==
==22655==
==22655== For interactive control, run
'callgrind_control -h'.
Using config file in /home/minhda directory
Loading modules ... OK (21 found in /usr/local/lib/gpac)
Loading GPAC Terminal ... OK
Using GPAC 2D Renderer
Opening URL 01-bitmap-movie.mp4
NewContextLoader
BB# 10733760

Callgrind: ../src/main.c:277 (endOfInstr): Assertion
'ii->data_size == dataSize' failed.
==22655== at 0xB001CD3A: report_and_quit
(m_libcassert.c:122)
==22655== by 0xB001CED6: vgPlain_assert_fail
(m_libcassert.c:185)
==22655== by 0xB0018990: endOfInstr (main.c:277)
==22655== by 0xB0018D94: vgCallgrind_instrument
(main.c:611)
==22655== by 0xB0068DB0: LibVEX_Translate
(vex_main.c:482)
==22655== by 0xB002BD86: vgPlain_translate
(m_translate.c:579)
==22655== by 0xB003AA14: handle_tt_miss
(scheduler.c:596)
==22655== by 0xB003ADB9: vgPlain_scheduler
(scheduler.c:717)
==22655== by 0xB0049545: thread_wrapper
(syswrap-linux.c:86)
==22655== by 0xB0049609: run_a_thread_NORETURN
(syswrap-linux.c:119)

sched status:
running_tid=1

Thread 1: status = VgTs_Runnable
==22655== at 0x401B972: NewContextLoader (in
/usr/local/lib/gpac/ctx_load.so)
==22655== by 0x419FC75: gf_modules_load_interface
(in /usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x412CB03: (within
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x412D198: gf_codec_new (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41C4DB6: gf_odm_setup_es (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41C5D28: gf_odm_setup_object (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41C6051: gf_odm_setup_entry_point (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41C1398: gf_term_on_connect (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x45DE198: ISOR_ConnectService (in
/usr/local/lib/gpac/isom_in.so)
==22655== by 0x423DA18: gf_term_connect_object (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x423DBB4: gf_term_connect_from_time
(in /usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x423DC04: gf_term_connect (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x804C49F: (within
/usr/local/bin/MP4Client)
==22655== by 0x42A7E9F: __libc_start_main (in
/lib/tls/libc-2.3.5.so)

Thread 2: status = VgTs_WaitSys
==22655== at 0x434256B: (within /lib/tls/libc-2.3.5.so)
==22655== by 0x4BE28C4: SDL_RunAudio (in
/usr/lib/libSDL-1.2.so.0.7.1)
==22655== by 0x4C3345A: SDL_RunThread (in
/usr/lib/libSDL-1.2.so.0.7.1)
==22655== by 0x4C337CC: (within
/usr/lib/libSDL-1.2.so.0.7.1)
==22655== by 0x45C9296: start_thread (in
/lib/tls/libpthread-2.3.5.so)
==22655== by 0x435137D: clone (in
/lib/tls/libc-2.3.5.so)
==22655== by 0x4EE0BAF: ???

Thread 3: status = VgTs_WaitSys
==22655== at 0x4349F61: (within /lib/tls/libc-2.3.5.so)
==22655== by 0x41EC4E2: gf_sr_simulation_tick (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41EC8D8: SR_RenderRun (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41DF555: RunThread (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x45C9296: start_thread (in
/lib/tls/libpthread-2.3.5.so)
==22655== by 0x435137D: clone (in
/lib/tls/libc-2.3.5.so)
==22655== by 0x50E1BAF: ???

Thread 4: status = VgTs_WaitSys
==22655== at 0x45CE13E: __lll_mutex_lock_wait (in
/lib/tls/libpthread-2.3.5.so)
==22655== by 0x435D365: pthread_mutex_lock (in
/lib/tls/libc-2.3.5.so)
==22655== by 0x41DF460: gf_mx_p (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x423DC23: gf_term_handle_services (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x419763B: MM_Loop (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x41DF555: RunThread (in
/usr/local/lib/libgpac-0.4.0.so)
==22655== by 0x45C9296: start_thread (in
/lib/tls/libpthread-2.3.5.so)
==22655== by 0x435137D: clone (in
/lib/tls/libc-2.3.5.so)
==22655== by 0x52E2BAF: ???

Discussion