[Bug 742500] New: [gstreamer crashed when log was set 4 or larger]

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 6 17:14:40 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=742500
  GStreamer | gstreamer (core) | 0.10.35

           Summary: [gstreamer crashed when log was set 4 or larger]
    Classification: Platform
           Product: GStreamer
           Version: 0.10.35
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: zongxin.xiang at delphi.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=293994)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=293994)
crashed log 

[Enviroment]:
   gcc version 4.6.2 20110630
   gstreamer-0.10.35
[Operation]:
   set log env variable: GST_DEBUG=4 
[Result]:
   gstreamer crashed.
   The call stack shows below:
   Why does the gst always crash at IA__g_strdup_vprintf function? 
 ========================================================================
 #0  gst_debug_print_segment (ptr=0x134) at gstinfo.c:715
#1  _gst_info_printf_extension_segment (stream=0x2cb468c0, info=0x2cb45e10,
args=<optimized out>) at gstinfo.c:1659
#2  0x2af89398 in vfprintf () from /lib/libc.so.6
#3  0x2afaeadc in vsnprintf () from /lib/libc.so.6
#4  0x2af91ef0 in snprintf () from /lib/libc.so.6
#5  0x0000d1e8 in Log_Signal_Data (signo=11, code=1, bad_addr=0x134,
instr_addr=0x2ad38614 <_gst_info_printf_extension_segment+32>,
short_name=0x1e836 "signal_dbg.c")
    at support/core/bb_signal_dbg/bb_signal_dbg_imp/_src/signal_dbg.c:254
#6  0x0000d374 in Log_Signal_Info (context=<optimized out>, info=0x2cb46c40,
signal_id=<optimized out>) at
support/core/bb_signal_dbg/bb_signal_dbg_imp/_src/signal_dbg.c:309
#7  Signal_Handler (signal_id=11, info=0x2cb46c40, context=<optimized out>) at
support/core/bb_signal_dbg/bb_signal_dbg_imp/_src/signal_dbg.c:333
#8  <signal handler called>
#9  gst_debug_print_segment (ptr=0x124) at gstinfo.c:715
#10 _gst_info_printf_extension_segment (stream=0x2cb47d78, info=0x2cb472c8,
args=<optimized out>) at gstinfo.c:1659
#11 0x2af89398 in vfprintf () from /lib/libc.so.6
#12 0x2afaeadc in vsnprintf () from /lib/libc.so.6
#13 0x2af91ef0 in snprintf () from /lib/libc.so.6
#14 0x0000d1e8 in Log_Signal_Data (signo=6, code=-6, bad_addr=0x124,
instr_addr=0x2af78804 <raise+60>, short_name=0x1e836 "signal_dbg.c") at
support/core/bb_signal_dbg/bb_signal_dbg_imp/_src/signal_dbg.c:254
#15 0x0000d374 in Log_Signal_Info (context=<optimized out>, info=0x2cb480f8,
signal_id=<optimized out>) at
support/core/bb_signal_dbg/bb_signal_dbg_imp/_src/signal_dbg.c:309
#16 Signal_Handler (signal_id=6, info=0x2cb480f8, context=<optimized out>) at
support/core/bb_signal_dbg/bb_signal_dbg_imp/_src/signal_dbg.c:333
#17 <signal handler called>
#18 0x2af78804 in raise () from /lib/libc.so.6
#19 0x2af79c14 in abort () from /lib/libc.so.6
#20 0x2ac4593c in _g_gnulib_vasnprintf (resultbuf=0x0, lengthp=0x2cb48994,
format=<optimized out>, args=...) at vasnprintf.c:1026
#21 0x2ac468f8 in _g_gnulib_vasprintf (result=0x2cb489ac, format=<optimized
out>, args=...) at printf.c:144
#22 0x2ac424d0 in IA__g_vasprintf (string=0x2cb489ac, format=<optimized out>,
args=...) at gprintf.c:309
#23 0x2ac2c404 in IA__g_strdup_vprintf (format=<optimized out>, args=...) at
gstrfuncs.c:244
#24 0x2ad39684 in gst_debug_message_get (message=0x2cb48a7c) at gstinfo.c:553
#25 0x2ad3aeb8 in gst_debug_log_default (message=0x22c, object=0x2ad3956c
<gst_debug_log_valist+168>, line=556, function=0x2adada2c
<__PRETTY_FUNCTION__.17809> "gst_registry_add_feature", file=0x2adadd00
"gstregistry.c", 
    level=<optimized out>, category=0x37140, unused=<optimized out>) at
gstinfo.c:960
#26 gst_debug_log_default (category=0x37140, level=<optimized out>,
file=0x2adadd00 "gstregistry.c", function=0x2adada2c
<__PRETTY_FUNCTION__.17809> "gst_registry_add_feature", line=556,
object=0x4ac00, message=0x2cb48a7c, 
    unused=0x0) at gstinfo.c:921
#27 0x2ad3956c in gst_debug_log_valist (category=0x37140,
level=GST_LEVEL_DEBUG, file=0x2adadd00 "gstregistry.c", function=0x2adada2c
<__PRETTY_FUNCTION__.17809> "gst_registry_add_feature", line=556,
object=0x4ac00, 
    format=0x2adae420 "adding feature %p (%s)", args=...) at gstinfo.c:533
#28 0x2ad39660 in gst_debug_log (category=<optimized out>, level=<optimized
out>, file=<optimized out>, function=<optimized out>, line=556, object=0x4ac00,
format=0x2adae420 "adding feature %p (%s)") at gstinfo.c:460
#29 0x2ad64038 in gst_registry_add_feature (registry=0x4ac00, feature=0x4b800)
at gstregistry.c:556
#30 0x2ad2f400 in gst_element_register (plugin=0x4a040, name=<optimized out>,
rank=256, type=<optimized out>) at gstelementfactory.c:320
#31 0x2ad0a84c in gst_register_core_elements (plugin=0x4a040) at gst.c:628
#32 0x2ad54dcc in gst_plugin_register_func (user_data=0x0, desc=0x2cb48bb8,
plugin=0x4a040) at gstplugin.c:557
#33 gst_plugin_register_func (plugin=0x4a040, desc=0x2cb48bb8, user_data=0x0)
at gstplugin.c:514
#34 0x2ad550f8 in gst_plugin_register_static (major_version=<optimized out>,
minor_version=<optimized out>, name=0x2ad9c5d0 "staticelements",
description=<optimized out>, init_func=0x2ad0a828 <gst_register_core_elements>, 
    version=0x2ad9c610 "0.10.35", license=0x2ad9c618 "LGPL", source=0x2ad9c620
"gstreamer", package=0x2ad9c62c "GStreamer source release", origin=0x2ad9c648
"Unknown package origin") at gstplugin.c:254
#35 0x2ad0a6c8 in init_post (context=<optimized out>, group=<optimized out>,
data=<optimized out>, error=<optimized out>) at gst.c:769
#36 init_post (context=<optimized out>, group=<optimized out>, data=<optimized
out>, error=<optimized out>) at gst.c:650
#37 0x2ac1a874 in IA__g_option_context_parse (context=0x36c78, argc=<optimized
out>, argv=0x0, error=<optimized out>) at goption.c:1947
#38 0x2ad0b1c0 in gst_init_check (argc=0x0, argv=0x0, err=0x2cb48d0c) at
gst.c:439
#39 0x2ad0b2cc in gst_init (argc=<optimized out>, argv=<optimized out>) at
gst.c:493
#40 0x0001c774 in AVP_Initialize (max=<optimized out>) at
support/media/bbc_audio_video_player/bb_audio_video_player/_src/audio_video_player.c:2976
#41 0x00016bd8 in Process_Message (msg=0x33bc0) at
support/media/bbc_audio_video_player/bb_avp_proxy/bb_avp_proxy_server/bb_avp_proxy_server_imp/_src/avp_proxy_server.c:457
#42 AVP_Proxy_Server_Thread_Task (param=<optimized out>) at
support/media/bbc_audio_video_player/bb_avp_proxy/bb_avp_proxy_server/bb_avp_proxy_server_imp/_src/avp_proxy_server.c:538
#43 0x0000e12c in SAL_I_Start_User_Thread (thread_attr=0x2f1b8) at
support/os/bb_xsal/bb_xsal_src/common/xsal_create_thread.c:169
#44 0x2ab8ab2c in start_thread () from /lib/libpthread.so.0
#45 0x2b00f598 in clone () from /lib/libc.so.6
=======================================================================

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list