[perl #63592] repeated 0.substr(-10) leads to segfault

2009-07-03 Thread NotFound via RT
Created track ticket TT #804 as RFC with a patch that modifies throwing of exceptions from C that might solve this problem. With it the pir example runs forever. Please put comments about it on trac, not here.

[perl #60166] [BUG] Exception handling in parrot doesn't unwind stack.

2008-10-28 Thread NotFound via RT
This example fails because the op find_method uses Parrot_ex_throw_from_c_args, that handles the exception in an inner runloop. From an opcode is better to use Parrot_ex_throw_from_op, wich jumps to the handler in the current runloop. I'm working on a patch that defines the helper function

[perl #59544] open(null) kills parrot

2008-10-16 Thread NotFound via RT
Problem fixed and test added, closing ticket.

[perl #59630] [BUG] Complex subtraction fails for subclasses of Complex

2008-10-06 Thread NotFound via RT
I've done some work in this problem. The attached patch is a way to make the examples work but I think this is not the way to go, or a lot of functions in a lot of pmc will need changes. Index: src/pmc/complex.pmc === ---

[perl #46629] [TODO] [C] Implement multiplication of integers with complex numbers

2008-10-05 Thread NotFound via RT
Done in r31684 after MMD changes, adding the test from the previous patch.

[perl #48108] [BUG] downcase opcode fails on unicode strings w/o icu

2008-10-05 Thread NotFound via RT
Updated information: we added recently a workaround to the utf8 downcase function, by moving code already present out of the ICU #if block. This workaround delegates to the ascii downcase when the string has only codepoints in the ascii range (the way used to do that check is debatable, must be

[perl #59532] say typeof(namespace) gives a segfault

2008-10-02 Thread NotFound via RT
The problem is that the vtable function get_class return NULL. This is easily fixable, but the root of the problem is that the _class attribute is set in init as PMCNULL, but later it contains NULL.

[perl #57690] [BUG] make headerizer breaks build

2008-09-30 Thread NotFound via RT
On Mar. Ago. 12 15:05:57 2008, Whiteknight wrote: This probably isn't headerizer's fault, it's more likely the fault of IMCC for being so damn complicated. We could change all the function definitions in the IMCC related files to use struct _IMC_Unit instead of IMC_Unit which would resolve

[perl #46667] [TODO] [C] Do we need properties in the default object system?

2008-09-30 Thread NotFound via RT
This check can be removed from default.pmc. Property values should not be returned by get_attr_str. Done in r31509

[perl #46083] [TODO] Fix memory leak in src/pmc/parrotio.pmc:open()

2008-09-30 Thread NotFound via RT
Fixed in r31508

[perl #54220] [BUG] Segfault when iterating with PMCs instead of strings

2008-09-29 Thread NotFound via RT
It turns out that the namespace was a red herring. The real problem is that when iterating over a hash, you cannot assign to a PMC register; it must be a string register. So if the base collection is a hash, this segfaults: $P0 = shift iterator But this works fine: $S0 =

[perl #54800] ignoring named arguments if there is an optional positional argument missing

2008-09-09 Thread NotFound via RT
rakudo: sub foo($x?, :$y = 2){ say $x~|~$y}; foo(:y(3)); exp_evalbot OUTPUT[|␤] This appears to be a bug in Parrot (now RT#54860). When that's fixed this one should be fixed also. RT#54860 is fixed, verified: rakudo: sub foo($x?, :$y = 2){ say $x~|~$y};

[perl #51262] [BUG] Segfault in pdump

2008-09-09 Thread NotFound via RT
I've recently commited a fix on null string constants. I think it was the same problem described here. I compiled the pir file and pdumped without a problem, it shows the DATA = NULL my fix introduced. Can you verify the problem is gone?

[perl #55196] [BUG] print/say opcodes have different float precision

2008-09-09 Thread NotFound via RT
This falls under the I/O PDD, the next milestone. Hold for a couple of days. I've added it to the tasklist for the milestone: The print and say opcodes had already been changed some weeks ago, now both call PIO_printf on INT and NUM. By the way, now FLOATVAL_FMT is used instead of %f

[perl #53926] [BUG] :optional and :slurpy :named fails when called with :named :flat

2008-09-08 Thread NotFound via RT
Fixed in r30870, added a test in r30900. Closing ticket.

[perl #54860] [BUG] problem with optional named parameters

2008-09-08 Thread NotFound via RT
Added a test in r30902. Closing ticket.

[perl #46457] [BUG][IMCC] long sub invocation with named parameters

2008-09-08 Thread NotFound via RT
The code in this ticket does not parse. Is using obsolete syntax? Can someone provide an updated version?

[perl #58680] [PATCH] new PLATFORM Linux S/390

2008-09-08 Thread NotFound via RT
Applied in r30907, thanks.

[perl #58438] [PATCH] nci can't pass NULL string arguments

2008-09-07 Thread NotFound via RT
No objections and no problems, closing ticket.

[perl #46119] [TODO] Handle resume opcodes in PDB_next()

2008-08-29 Thread NotFound via RT
PDB_next no longer executes opcodes by himself, now is done in the debugger runloop. Closing ticket.

[perl #46125] [TODO] Verify that register is in range in PDB_check_condition()

2008-08-27 Thread NotFound via RT
Done in r30574

[perl #46121] [TODO] Add while loop to increment through commands correctly in PDB_cond()

2008-08-26 Thread NotFound via RT
Fixed in r30533

[perl #57474] [pdb] parrot debugger segfault

2008-08-26 Thread NotFound via RT
Closing ticket

[perl #58358] parrot_debugger - Undefined com mand: ñì¶ñì¶

2008-08-26 Thread NotFound via RT
Fixed in r30537, closing ticket.

[perl #46117] [TODO] Handle command error and print out script line in PDB_script_file()

2008-08-26 Thread NotFound via RT
Done in r30570

[perl #46115] [TODO] Avoid the verbose output in PDB_script_file() or add a -v flag?

2008-08-26 Thread NotFound via RT
Verbose output is now controlled by the 'echo' command. If more debugger output control is needed, create specific tickets.

[perl #57930] [BUG] Smolder failure

2008-08-15 Thread NotFound via RT
Fixed

[perl #46109] [TODO] Where does string get freed in PDB_get_command()?

2008-08-13 Thread NotFound via RT
Solved in r30203, debugger command line buffers are now created and destroyed during creation and destruction of the debugger instance.

[perl #57476] [pdb] parrot version

2008-08-11 Thread NotFound via RT
Closing ticket.

[perl #56558] [PATCH] pdb rename to parrot_pdb

2008-07-18 Thread NotFound via RT
Added NEWS entry in r29587. Closing ticket.

[perl #39669] [TODO] No PIR Compiler Available for Embedded Parrot

2008-07-16 Thread NotFound via RT
Comments on irc confirms the problems are solved. Closing ticket.

[perl #41827] ICU endian issues causing test failures.

2008-07-13 Thread NotFound via RT
On Mie. Mar. 14 11:46:38 2007, [EMAIL PROTECTED] wrote: I keep getting a test failure on t/op/stringu.t with test 25 on ppc-darwin(and likely all big endian systems with icu installed). Parrot outputs \x00A\x00B when the test expects A\x00B\x00 to be printed. Is this still a problem?

[perl #44811] Abort in t/op/string.t 91 with JIT on x86

2008-07-13 Thread NotFound via RT
This problem is fixed by other similar problem whose ticket was not linked to this. r29358 unskip the test. Closing ticket.

[perl #56542] [PATCH] rename disassemble to pbc_disassemble

2008-07-12 Thread NotFound via RT
fperraud fixed an issue in lib/Parrot/Docs/Section/C.pm in r29329 Closing ticket

[perl #56678] [PATCH] DOD_registry initialization

2008-07-12 Thread NotFound via RT
Closing ticket

[perl #56868] [PATCH] Another attempt to add a function for empty const string

2008-07-12 Thread NotFound via RT
The const string bug has been solved, so this patch is less useful. Also, some benchmarking shows no significant improvements. So, ticket rejected.

[perl #39669] [TODO] No PIR Compiler Available for Embedded Parrot

2008-07-12 Thread NotFound via RT
imcc_init is now called during interpreter initialization. Does that solve this problem?

[perl #54384] [BUG] split opcode gives failed assertion when source string is null

2008-07-11 Thread NotFound via RT
Hearing no objections, ticket closed.

[perl #39930] [BUG] concat unicode+iso-8859-1 doesn't work w/o ICU

2008-07-11 Thread NotFound via RT
Closing ticket

[perl #50092] [TODO] pct - explicit transcode in PCT::Grammar::string_literal

2008-07-11 Thread NotFound via RT
Closing ticket

[perl #56750] [PATCH] Function Parrot_string_empty to create emtpy strings

2008-07-10 Thread NotFound via RT
After some discussion on irc, rejected, it only hides problems.

[perl #56678] [PATCH] DOD_registry initialization

2008-07-10 Thread NotFound via RT
Applied in r29250

[perl #54384] [BUG] split opcode gives failed assertion when source string is null

2008-07-09 Thread NotFound via RT
Patch applied in r29201, keep ticket open for some days.

[perl #56110] [CAGE] Warnings on Solaris

2008-07-09 Thread NotFound via RT
Closing ticket

[perl #56440] [PATCH] printf functions in extend.c

2008-07-08 Thread NotFound via RT
Applied in r29171

[perl #46669] [TODO] [C] Throw an AttributeError if a PMC is NULL in get_attr_str()

2008-06-23 Thread NotFound via RT
Rejected TODO item, closing ticket.

[perl #46669] [TODO] [C] Throw an AttributeError if a PMC is NULL in get_attr_str()

2008-06-19 Thread NotFound via RT
Given the previous comments, and having now some working code that depends of *not* throwing, I will close this ticket in a few days if no one objects.

[perl #39930] [BUG] concat unicode+iso-8859-1 doesn't work w/o ICU

2008-06-19 Thread NotFound via RT
The attached patch changes string_rep_compatible so that when called with utf8_encoding and iso_8859_1_encoding returns utf8. Looks that this solves the problem and breaks nothing. Index: src/string.c === --- src/string.c (revisión:

[perl #55960] [BUG] [PATCH] Hash declarations broken in c++ build

2008-06-19 Thread NotFound via RT
This is a cleaner version. Index: src/string.c === --- src/string.c (revisión: 28553) +++ src/string.c (copia de trabajo) @@ -265,7 +265,7 @@ /* Set up the cstring cache, then load the basic encodings and charsets */ if

[perl #55960] [BUG] [PATCH] Hash declarations broken in c++ build

2008-06-19 Thread NotFound via RT
Forget previous patch, is broken. I'll keep working on it.

[perl #55960] [BUG] [PATCH] Hash declarations broken in c++ build

2008-06-19 Thread NotFound via RT
Another try. Builds and pass tests both with C and C++. Index: src/string.c === --- src/string.c (revisión: 28565) +++ src/string.c (copia de trabajo) @@ -265,7 +265,7 @@ /* Set up the cstring cache, then load the basic

[perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-17 Thread NotFound via RT
By chromatic's suggestion, here is a different approach: change pmc_type signature to allow a null string argument, returning enum_type_undef in that case. Other changes in this patch are replacing 0 with enum_type_undef in the same function, and adding a test in t/pmc/namespace.t checking that

[perl #55620] [PATCH] Fix crash in src/ops/object.ops

2008-06-11 Thread NotFound via RT
Another attempt: this is a minimalistic change that does not broke any test in parrot nor in rakudo, and can avoid segfaulting in other related usages. Index: src/pmc/namespace.pmc === --- src/pmc/namespace.pmc (revisión: 28239) +++

[perl #55620] [PATCH] Fix crash in src/ops/object.ops

2008-06-11 Thread NotFound via RT
On Mie. Jun. 11 06:48:06 2008, bacek wrote: Trivial reproducible bug: in rakudo 'say 1 ~~ Perl6Scalar'. There is patch for src/ops/object.ops I tried another way: less checks, not more. See attached patch. $ ./perl6 -e'say 1 ~~ Perl6Scalar' Null PMC access in invoke() current instr.:

[perl #54920] [PATCH] Compiling pcc.c on Solaris10-x86

2008-06-01 Thread NotFound via RT
Given that the patch has been applied, and the hcf issue is explained and reflected in #55040, I close this ticket.

[perl #52886] [BUG] including gmp.h causes build break in C++ build

2008-06-01 Thread NotFound via RT
Hearing no opposition, ticket closed.

[perl #52222] [BUG] Test 3 of t/dynoplibs/myops.t crashes with a bus error

2008-05-19 Thread NotFound via RT
The opcode tested crash parrot intentionally, a crash is the intended result, not a bug.

[perl #45977] [TODO] Create all class structures in constant PMC pool

2008-05-15 Thread NotFound via RT
Closed.

[perl #45971] [TODO] Get printable name for real_exception() in fail_if_exist()

2008-05-15 Thread NotFound via RT
Closed.