Displaying 13 results from an estimated 13 matches for "tre_compile".
2015 Dec 18
1
Assistance much appreciated
On 2015-12-17 21:37, peter dalgaard wrote:
> As you're dying in an else clause, a previous if () must contain the clue. Unfortunately not necessarily the matching one.
>
> My guess is that your TRE library is broken. The line should have matched the RE "regline" defined as
>
>     tre_regcomp(®line, "^[^:]+:[[:blank:]]*", REG_EXTENDED);
> ...and
2015 Dec 31
4
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...> tags                                                 |  
> -------------+------------------------------------------------
> -------------+------------------------------------------------                 
> |   init > 110cc5700 110cc55e8 110cc54d0
>
One day further - looks like tre_compile (or just before, after all).
With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
--- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
+++ /tmp/x.64   2015-12-31 15:09:30.000000000 +0000
@@ -1,5 +1,5 @@
- Script command is started on Thu Dec 31 15:04:39 2015.
- root at x069:[/dat...
2016 Jan 01
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...|  -------------+------------------------------------------------
>>> -------------+------------------------------------------------                 |   init > 110cc5700 110cc55e8 110cc54d0
>>> 
>> One day further - looks like tre_compile (or just before, after all).
>> 
>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
>> 
>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>> +++ /tmp/x.64   2015-12-31 15:09:30.000000000 +0000
>> @@ -1,5 +1,5 @@
>> - Script comma...
2020 Jun 09
2
valgrind false positive on R startup?
...by 0x551EB20: wcstombs (wcstombs.c:34)
==9565==    by 0x50BAA07: wcstombs (stdlib.h:154)
==9565==    by 0x50BAA07: tre_parse_bracket_items (tre-parse.c:336)
==9565==    by 0x50BAA07: tre_parse_bracket (tre-parse.c:453)
==9565==    by 0x50BAA07: tre_parse (tre-parse.c:1380)
==9565==    by 0x50B2498: tre_compile (tre-compile.c:1920)
==9565==    by 0x50AFBE0: tre_regcompb (regcomp.c:150)
==9565==    by 0x4FA9F42: do_gsub (grep.c:2023)
==9565==    by 0x4F79045: bcEval (eval.c:7090)
==9565==    by 0x4F8572F: Rf_eval (eval.c:723)
==9565==    by 0x4F8754E: R_execClosure (eval.c:1888)
==9565==    by 0x4F88316: R...
2016 Jan 03
4
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...|  -------------+------------------------------------------------
>>>>> -------------+------------------------------------------------                 |   init>  110cc5700 110cc55e8 110cc54d0
>>>>>
>>>> One day further - looks like tre_compile (or just before, after all).
>>>>
>>>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
>>>>
>>>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>>>> +++ /tmp/x.64   2015-12-31 15:09:30.000000000 +0000
>>&g...
2016 Jan 01
0
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...and tags                                                 |  -------------+------------------------------------------------
>> -------------+------------------------------------------------                 |   init > 110cc5700 110cc55e8 110cc54d0
>> 
> One day further - looks like tre_compile (or just before, after all).
> 
> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
> 
> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
> +++ /tmp/x.64   2015-12-31 15:09:30.000000000 +0000
> @@ -1,5 +1,5 @@
> - Script command is started on Thu Dec 31...
2016 Jan 01
0
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...|  -------------+------------------------------------------------
>>>> -------------+------------------------------------------------                 |   init > 110cc5700 110cc55e8 110cc54d0
>>>> 
>>> One day further - looks like tre_compile (or just before, after all).
>>> 
>>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
>>> 
>>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>>> +++ /tmp/x.64   2015-12-31 15:09:30.000000000 +0000
>>> @@ -1,5 +1,5 @@...
2016 Jan 04
0
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...|  -------------+------------------------------------------------
>>>>>> -------------+------------------------------------------------                 |   init>  110cc5700 110cc55e8 110cc54d0
>>>>>> 
>>>>> One day further - looks like tre_compile (or just before, after all).
>>>>> 
>>>>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
>>>>> 
>>>>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>>>>> +++ /tmp/x.64   2015-12-31 15:09:30.0000...
2016 Jan 03
0
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...-+------------------------------------------------
>>>>>> -------------+------------------------------------------------                 
>>>>>> |   init>  110cc5700 110cc55e8 110cc54d0
>>>>>>
>>>>> One day further - looks like tre_compile (or just before, after all).
>>>>>
>>>>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see 
>>>>> (snip)
>>>>>
>>>>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>>>>> +++ /tmp/x.64   2015...
2016 Jan 04
4
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...-------------+------------------------------------------------
>>>>>>> -------------+------------------------------------------------                 |   init>  110cc5700 110cc55e8 110cc54d0
>>>>>>>
>>>>>> One day further - looks like tre_compile (or just before, after all).
>>>>>>
>>>>>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
>>>>>>
>>>>>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>>>>>> +++ /tmp/x.64   2015-1...
2020 Jun 10
0
valgrind false positive on R startup?
...cstombs.c:34)
> ==9565==    by 0x50BAA07: wcstombs (stdlib.h:154)
> ==9565==    by 0x50BAA07: tre_parse_bracket_items (tre-parse.c:336)
> ==9565==    by 0x50BAA07: tre_parse_bracket (tre-parse.c:453)
> ==9565==    by 0x50BAA07: tre_parse (tre-parse.c:1380)
> ==9565==    by 0x50B2498: tre_compile (tre-compile.c:1920)
> ==9565==    by 0x50AFBE0: tre_regcompb (regcomp.c:150)
> ==9565==    by 0x4FA9F42: do_gsub (grep.c:2023)
> ==9565==    by 0x4F79045: bcEval (eval.c:7090)
> ==9565==    by 0x4F8572F: Rf_eval (eval.c:723)
> ==9565==    by 0x4F8754E: R_execClosure (eval.c:1888)
&g...
2015 Dec 29
2
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
This seems to be a problem that goes back a long time - and I hope 
someone who understands what tre is suppossed to be doing will look at this.
A short history of other people who have reported on this on different 
versions of AIX. I shall only add that I get the same results on AIX 5.3 
TL7, AIX 6.1 TL9 and AIX 7.1 TL3.
Basically, with settings that work for AIX and 32-bit - the only changes 
2016 Jan 04
0
R, AIX 64-bit builds - trying to understand root cause for message: "Error: Line starting 'Package: tools ...' is malformed!"
...--+------------------------------------------------
>>>>>>>> -------------+------------------------------------------------                 |   init>  110cc5700 110cc55e8 110cc54d0
>>>>>>>> 
>>>>>>> One day further - looks like tre_compile (or just before, after all).
>>>>>>> 
>>>>>>> With TRE_DEBUG switched on in tre-compile.c and tre-ast.c I see (snip)
>>>>>>> 
>>>>>>> --- /tmp/x.32   2015-12-31 15:09:44.000000000 +0000
>>>>>>>...