#12913: Debugger crashes on Step into
-------------------------------------+----------------------------
Reporter: KapiX | Owner: anevilyak
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Applications/Debugger | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------------------+----------------------------
Comment (by KapiX):
There is no recipe yet, I am working on one.
Steps:
1. Needed libs: boehm_gc, libatomic_ops, libffi, libgmp.
2. In source directory (I was using commit
0fbf2a4c44901fa818493a689fc4b601e096ef68):
{{{
cd src
libtoolize --force --copy --install
autoreconf -fi
cd ..
./configure --enable-threads=no --with-dffi=system --enable-boehm=system
--with-asdf=no --with-tcp=no --with-ieee-fp=yes
make
}}}
3. Build will crash. Go to build directory and run `Debugger ecl_min
compile`.
4. Set breakpoint in `si_infinity()`, then in `ecl_make_long_float` set
breakpoint on `x = ecl_alloc_object(t_longfloat);`. (Both functions are in
src/c/number.d.
5. Run (you can't step over due to #12914 - it will crash on
`DO_DETECT_FPE();`).
6. Step into.
7. Debugger crashes.
I think ECL uses some kind of intermediate compiler (note the .d
extension) and this might be the problem, but Debugger definitely should
not crash.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12913#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.