Project

General

Profile

Actions

Bug #13011

closed

Make `trace_running` an integer flag again

Added by deivid (David Rodríguez) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-12-06 trunk 56997) [x86_64-linux]
[ruby-core:78514]

Description

After https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/55038, byebug's tests started to segfault. See, for example, https://travis-ci.org/deivid-rodriguez/byebug/jobs/130941967.

I investigated a bit and it seems to me that the trace_running flag was not suitable to be converted to a bit field (at least not without extra changes), since reverting the changes to that flag fixes the problem.

Find the patch I used attached.

Thanks!


Files


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #12945: Use-after-free in vm_trace.cClosednobu (Nobuyoshi Nakada)Actions
Actions #1

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Status changed from Open to Closed

Applied in changeset r57002.


Make trace_running an integer flag again

Author: David Rodríguez

Updated by deivid (David Rodríguez) over 7 years ago

Wow, that was fast, thank you Nobu! :)

Actions #3

Updated by nobu (Nobuyoshi Nakada) over 7 years ago

  • Has duplicate Bug #12945: Use-after-free in vm_trace.c added
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0