[Bug 755380] validate:reporter: crash when argument is NULL

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 22 09:13:56 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755380

--- Comment #9 from Wonchul Lee <chul0812 at gmail.com> ---
@Vineeth, that's a good point.

I can reproduce it 50% probability, can not reproduce it when enable debug log.
I noticed the patch what I attached prevents the crash, not to resolve the root
cause.
I think it would be good to check argument values, anyway.

Here is the call stack.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7836948 in gst_validate_report_print_level
(report=report at entry=0x7fffe4002010)
    at gst-validate-report.c:827
827      gst_validate_printf (NULL, "%10s : %s\n",
(gdb) bt
#0  0x00007ffff7836948 in gst_validate_report_print_level
(report=report at entry=0x7fffe4002010)
    at gst-validate-report.c:827
#1  0x00007ffff7828ded in _do_report_synthesis (runner=0x7bc610) at
gst-validate-runner.c:438
#2  gst_validate_runner_printf (runner=0x7bc610) at gst-validate-runner.c:477
#3  0x0000000000402d49 in main (argc=26, argv=0x7fffffffd4f8) at
gst-validate.c:642
(gdb) p report->issue
$1 = (GstValidateIssue *) 0x0

-- 
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