#438 Mutable buffer method delete causes segmentation fault

3.2.0
closed
Rick McGuire
Classes (182)
5
2012-08-14
2007-10-10
Moritz Hoffmann
No

Simple test: open rexxtry and enter the following:
.mutablebuffer~new~delete

Here is the backtrace:
(gdb) bt

0 RexxObject::requiredLong (this=0x0, position=1, precision=9) at ./kernel/runtime/RexxCore.h:1096

1 0xb7e50635 in RexxMutableBuffer::mydelete (this=0xb7810260, start=0x0, len=0x0) at ./kernel/runtime/RexxCore.h:1091

2 0xb7e4f926 in RexxMethod::run (this=0xb7754404, activity=0xb77ff5f0, receiver=0xb7810260, msgname=0xb7810138, count=0, arguments=0xbfc649cc) at ./kernel/classes/MethodClass.cpp:201

Discussion

  • Rick McGuire
    Rick McGuire
    2007-10-10

    Logged In: YES
    user_id=1125291
    Originator: NO

    Committed revision 920.

    Note: This commit rewrote all of the argument processing for mutablebuffer, including fixing problems with required string arguments (for example, .nil will now be rejected by insert and overlay). Since I believe you're writing some unit tests for this, you'll want to rerun the entire set.

     


Anonymous


Cancel   Add attachments