From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28881 invoked by alias); 7 Sep 2014 12:09:07 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 28857 invoked by uid 48); 7 Sep 2014 12:09:06 -0000 From: "jan.kratochvil at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug python/17355] New: Crash on Python frame filters with unreadable arg Date: Sun, 07 Sep 2014 12:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jan.kratochvil at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 7.8 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cf_gcchost cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q3/txt/msg00410.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17355 Bug ID: 17355 Summary: Crash on Python frame filters with unreadable arg Product: gdb Version: 7.8 Status: NEW Severity: normal Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: jan.kratochvil at redhat dot com Host: x86_64-linux-gnu Target: x86_64-linux-gnu https://bugzilla.redhat.com/show_bug.cgi?id=1126177 [New LWP 8203] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `gdb --core=d /usr/bin/anjuta'. Program terminated with signal SIGSEGV, Segmentation fault. #0 value_type (value=value@entry=0x0) at ../../gdb/value.c:932 932 return value->type; Thread 1 (Thread 0x7f7e44958800 (LWP 8203)): #0 value_type (value=value@entry=0x0) at ../../gdb/value.c:932 No locals. #1 0x00000000005616f0 in py_print_single_arg (out=0x2e9f220, sym_name=0x0, fa=0x7fff09338f70, fv=, opts=0x7fff09338fb0, args_type=CLI_SCALAR_VALUES, print_args_field=0, language=0x8d9e40 ) at ../../gdb/python/py-framefilter.c:445 cleanups = 0x88a9a0 val = 0x0 except = {reason = 0, error = GDB_NO_ERROR, message = 0x0} #2 0x00000000005623ba in enumerate_args (iter=0x0, iter@entry=, out=0x7fff09338e00, out@entry=0x2e9f220, args_type=1116932672, args_type@entry=CLI_SCALAR_VALUES, print_args_field=print_args_field@entry=0, frame=0x1, frame@entry=0xa9f3fd8) at ../../gdb/python/py-framefilter.c:596 arg = {sym = 0xb3b0720, val = 0x0, error = 0xae442f0 "value has been optimized out", entry_kind = 0x8a54ae "no"} entryarg = {sym = 0xb3b0720, val = 0x0, error = 0x0, entry_kind = 0x8a54ae "no"} language = 0x8d9e40 sym = 0xb3b0720 val = 0x0 sym_name = 0xa0c0ff0 "data" opts = {prettyformat = Val_prettyformat_default, prettyformat_arrays = 0, prettyformat_structs = 0, vtblprint = 0, unionprint = 1, addressprint = 1, objectprint = 0, print_max = 200, repeat_count_threshold = 10, output_format = 0, format = 0, stop_print_at_null = 0, print_array_indexes = 0, deref_ref = 1, static_field_print = 1, pascal_static_field_print = 1, raw = 0, summary = 1, symbol_print = 1} except = {reason = 0, error = GDB_NO_ERROR, message = 0x0} #3 0x0000000000562624 in py_print_args (filter=filter@entry=) at remote 0x7f7e3713c8d0>, out=out@entry=0x2e9f220, args_type=args_type@entry=CLI_SCALAR_VALUES, frame=frame@entry=0xa9f3fd8) at ../../gdb/python/py-framefilter.c:968 old_chain = 0x71863e0 except = {reason = 0, error = GDB_NO_ERROR, message = 0x0} #4 0x0000000000562c28 in py_print_frame (filter=filter@entry=) at remote 0x7f7e3713c8d0>, flags=flags@entry=7, args_type=args_type@entry=CLI_SCALAR_VALUES, out=out@entry=0x2e9f220, indent=indent@entry=0, levels_printed=levels_printed@entry=0x67844f0) at ../../gdb/python/py-framefilter.c:1236 has_addr = address = gdbarch = frame = cleanup_stack = 0xae4d290 opts = {prettyformat = Val_prettyformat_default, prettyformat_arrays = 0, prettyformat_structs = 0, vtblprint = 0, unionprint = 1, addressprint = 1, objectprint = 0, print_max = 200, repeat_count_threshold = 10, output_format = 0, format = 0, stop_print_at_null = 0, print_array_indexes = 0, deref_ref = 0, static_field_print = 1, pascal_static_field_print = 1, raw = 0, summary = 0, symbol_print = 1} py_inf_frame = elided = print_level = 1 print_frame_info = print_args = print_locals = 0 except = {reason = 0, error = GDB_NO_ERROR, message = 0x0} #5 0x00000000005635c0 in gdbpy_apply_frame_filter (extlang=, frame=0xa9aa650, flags=7, args_type=CLI_SCALAR_VALUES, out=0x2e9f220, frame_low=0, frame_high=-1) at ../../gdb/python/py-framefilter.c:1518 gdbarch = 0x3096380 cleanups = 0xabb1ca0 success = except = {reason = 0, error = GDB_NO_ERROR, message = 0x0} item = ) at remote 0x7f7e3713c8d0> levels_printed = 0x67844f0 count_printed = #6 0x000000000060ecfa in apply_ext_lang_frame_filter (frame=0xa9aa650, flags=7, args_type=CLI_SCALAR_VALUES, out=0x2e9f220, frame_low=1, frame_low@entry=0, frame_high=-1) at ../../gdb/extension.c:553 status = 0 extlang = 0x0 #7 0x0000000000608b57 in backtrace_command_1 (count_exp=count_exp@entry=0x0, show_locals=0, no_filters=0, from_tty=from_tty@entry=1) at ../../gdb/stack.c:1801 flags = 7 arg_type = CLI_SCALAR_VALUES fi = count = i = trailing = 0xa9aa650 trailing_level = py_start = 0 py_end = -1 result = EXT_LANG_BT_ERROR #8 0x000000000060903d in backtrace_command (arg=0x0, from_tty=1) at ../../gdb/stack.c:1916 old_chain = 0xacb0680 fulltrace_arg = arglen = argc = no_filters = user_arg = -- You are receiving this mail because: You are on the CC list for the bug.