← Back to team overview

touch-packages team mailing list archive

[Bug 348638] Re: gdb crash when evaluating an expression with several function calls

 

closing this rather old issue. sorry for not addressing this earlier.
Please could you recheck with the recent 14.04 LTS or 14.10 releases and
reopen the issue if the problem persists?

** Changed in: gdb (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/348638

Title:
  gdb crash when evaluating an expression with several function calls

Status in “gdb” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: gdb

  When evaluating an expression, I get the following crash:

  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 0x7f1f5f2366e0 (LWP 28406)]
  d_name (di=0x7fff66a5b740) at /build/buildd/gdb-6.8/libiberty/cp-demangle.c:1193
  	in /build/buildd/gdb-6.8/libiberty/cp-demangle.c
  (gdb) bt
  #0  d_name (di=0x7fff66a5b740) at /build/buildd/gdb-6.8/libiberty/cp-demangle.c:1193
  #1  0x0000000000629b04 in d_encoding (di=0x7fff66a5b740, top_level=1) at /build/buildd/gdb-6.8/libiberty/cp-demangle.c:1053
  #2  0x000000000062a1a6 in is_ctor_or_dtor (mangled=0x7f1f578be9e3 "_ZNK7piclens6PLSize3fitERKS0_fb", ctor_kind=0x7fff66a5b7e4, 
      dtor_kind=0x7fff66a5b7e0) at /build/buildd/gdb-6.8/libiberty/cp-demangle.c:4416
  #3  0x000000000062a293 in is_gnu_v3_mangled_ctor (name=0x7fff66a5b740 "��\213W\037\177") at /build/buildd/gdb-6.8/libiberty/cp-demangle.c:4466
  #4  0x0000000000573410 in gnuv3_pass_by_reference (type=0xaca2350) at /build/buildd/gdb-6.8/gdb/gnu-v3-abi.c:776
  #5  0x00000000005734b5 in gnuv3_pass_by_reference (type=0xaca2350) at /build/buildd/gdb-6.8/gdb/gnu-v3-abi.c:795

  [ skip a hundred thousand lines ]

  #130888 0x00000000005734b5 in gnuv3_pass_by_reference (type=0xaca2350) at /build/buildd/gdb-6.8/gdb/gnu-v3-abi.c:795
  #130889 0x00000000005734b5 in gnuv3_pass_by_reference (type=0xaca22b0) at /build/buildd/gdb-6.8/gdb/gnu-v3-abi.c:795
  #130890 0x00000000005734b5 in gnuv3_pass_by_reference (type=0xaca4240) at /build/buildd/gdb-6.8/gdb/gnu-v3-abi.c:795
  #130891 0x00000000004e1058 in call_function_by_hand (function=0x515b340, nargs=2, args=0x7fff67258bb8) at /build/buildd/gdb-6.8/gdb/infcall.c:480
  #130892 0x00000000004bda34 in evaluate_subexp_standard (expect_type=<value optimized out>, exp=0xa003320, pos=0x7fff67258f04, noside=EVAL_NORMAL)
      at /build/buildd/gdb-6.8/gdb/eval.c:1265
  #130893 0x00000000004bbb52 in evaluate_expression (exp=<value optimized out>) at /build/buildd/gdb-6.8/gdb/eval.c:75
  #130894 0x00000000004ceb77 in print_command_1 (exp=0xa231a2 "UIController::shared()->mainLayer()->hud()->GetWallSafeContentRect(true)", inspect=0,
      voidprint=1) at /build/buildd/gdb-6.8/gdb/printcmd.c:872
  #130895 0x000000000044e28a in execute_command (p=0xa231e9 ")", from_tty=1) at /build/buildd/gdb-6.8/gdb/top.c:449
  #130896 0x00000000004f650b in command_handler (command=0xa231a0 "p UIController::shared()->mainLayer()->hud()->GetWallSafeContentRect(true)")
      at /build/buildd/gdb-6.8/gdb/event-top.c:518
  #130897 0x00000000004f73dc in command_line_handler (rl=<value optimized out>) at /build/buildd/gdb-6.8/gdb/event-top.c:804
  #130898 0x00007f1f5ee22ea7 in rl_callback_read_char () from /lib/libreadline.so.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/348638/+subscriptions