thread () from /lib64/libpthread.so.0#11 0x00007fb353d75eadinclone() from /lib64/libc.so.6(gdb) up#1 0x00007fb35565c400inapr_pstrcat (a=0x7fb338001a68) at strings/apr_strings.c:137137 apr_size_t cplen = strlen(cp); (gdb) p *cp Cannot access memory at address 0x1c7 应该...
__switch_to汇编实现如下,三个参数分别为: **r0:移出进程prev的task_struct、r1:移出进程prev的thread_info、r2:**移入进程next的thread_info ENTRY(__switch_to) UNWIND(.fnstart ) UNWIND(.cantunwind ) add ip, r1, #TI_CPU_SAVE ARM( stmia ip!, {r4 - sl, fp, sp, lr} ) @ Store most re...
395 SIPTAG_TO_STR(gateway_ptr->options_to_uri), SIPTAG_FROM_STR(gateway_ptr->options_from_uri), 396 TAG_IF(gateway_ptr->contact_in_ping, SIPTAG_CONTACT_STR(gateway_ptr->register_contact)), (gdb) 397 TAG_IF(gateway_ptr->options_user_agent, SIPTAG_USER_AGENT_STR(gateway_ptr->option...
video_bug_thread的修改: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 switch_queue_t *no_decoded_q = bug->write_video_frame_queue; #if 1// add for no decoded frame directy input to frame. if (no_decoded_q ){ //flush_videof_frame_queue(no_decoded_q, 1); if ((status = ...
方法1:gdb attach绑定到freeswitch的进程,然后设置条件断点进行调试分析; 方法2:打印switch_channel_get_name可以区分不同的session和channel; switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(vh->session_a), SWITCH_LOG_DEBUG, "%s video thread ended.\n", switch_channel_get_name(channel)); ...
(user_via)), 395 SIPTAG_TO_STR(gateway_ptr->options_to_uri), SIPTAG_FROM_STR(gateway_ptr->options_from_uri), 396 TAG_IF(gateway_ptr->contact_in_ping, SIPTAG_CONTACT_STR(gateway_ptr->register_contact)), (gdb) 397 TAG_IF(gateway_ptr->options_user_agent, SIPTAG_USER_AGENT_STR(...
#10 0x00007fb35434edd5 in start_thread () from /lib64/.0 #11 0x00007fb353d75ead in clone () from /lib64/libc.so.6 (gdb) up #1 0x00007fb35565c400 in apr_pstrcat (a=0x7fb338001a68) at strings/apr_strings.c:137 137 apr_size_t cplen = strlen(cp); ...
From your back trace I see that the crash happens in ldns_sock_wait which uses select to wait for a socket to become readable or writable. The maximum number of sockets fed to select is FD_SETSIZE which is 1024 by default. In the issue report I read that this crash only occurs when...
通过ndk-gdb跟踪调试vlc-android来分析从连接到RTSP服务器并接收到音视频数据包后的处理过程。 首先,从前面的文章有分析过vlc-android的处理过程通过线程函数Run()(Src/input/input.c)来处理的,代码如下: static void *Run( void *obj ) { input_thread_t *p_input = (input_thread_t *)obj; ...
(gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007fc118fb7183 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78 ...