Aldo, On 15 Dec 2009, at 23:40, Aldo Bucchi wrote:
> Hi Hugh, > > We made a breakthrough ;). > > It seems like I left a small detail out of my previous example which > was really important. > > declare somestr varchar; > somestr := cast( __ro2sq( a_rdf_box ) as varchar ); -- notice that we > are using __ro2sq() > regexp_match( somestr ... ); -- no matter what pattern, this yields an error. [Hugh] What is the error being reported either in your application or from the trace_on() output ? Regards Hugh > > However, if we do this: > > somestr := somestr || '' ; -- add an empty string > > Before calling the regexp function, it all runs OK. > > Thesis: Lazy coercion of some kind not being applied by the regexp evaluator? > > Regards, > A > > > > On Tue, Dec 15, 2009 at 2:34 PM, Hugh Williams <[email protected]> > wrote: >> Hi Aldo, >> >> What is this process that is running these regexp's causing the problem ? >> >> If you want to see what is being executed against virtuoso then you can >> enable the server tracing function as detailed at: >> >> http://docs.openlinksw.com/virtuoso/fn_trace_on.html >> >> This should enable us to see all the activity on the server when this >> process is performing its operations. Also if the Virtuoso server itself is >> not hung, then running the "status()" command from the command line isql >> tool would be useful to see what the status of the server is at this point >> ... >> >> Best Regards >> Hugh Williams >> Professional Services >> OpenLink Software >> Web: http://www.openlinksw.com >> Support: http://support.openlinksw.com >> Forums: http://boards.openlinksw.com/support >> Twitter: http://twitter.com/OpenLink >> >> On 15 Dec 2009, at 16:24, Aldo Bucchi wrote: >> >>> Hi, >>> >>> I am running a process that haults ( literally, it locks the thread >>> somehow ) when a particular value runs through a regexp. I have >>> managed to notice that no matter what the pattern, its the input value >>> that generates this. >>> >>> In a naive attempt to provide some context, here's a piece of text >>> that generates this ( copy paste from log ): >>> >>> " HyperTransport™ " >>> >>> Notice the "TM" at the end there. >>> >>> Now, does this shine a light? Do you need more info? >>> ( how can I serialize this string as to provide a non-ambiguous >>> representation to inspect the contents ). >>> >>> Version: 06.00.3124 >>> Build: Nov 13 2009 >>> >>> Regards, >>> A >>> >>> >>> -- >>> Aldo Bucchi >>> skype:aldo.bucchi >>> http://www.univrz.com/ >>> http://aldobucchi.com/ >>> >>> PRIVILEGED AND CONFIDENTIAL INFORMATION >>> This message is only for the use of the individual or entity to which it is >>> addressed and may contain information that is privileged and confidential. >>> If >>> you are not the intended recipient, please do not distribute or copy this >>> communication, by e-mail or otherwise. Instead, please notify us >>> immediately by >>> return e-mail. >>> >>> ------------------------------------------------------------------------------ >>> Return on Information: >>> Google Enterprise Search pays you back >>> Get the facts. >>> http://p.sf.net/sfu/google-dev2dev >>> _______________________________________________ >>> Virtuoso-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/virtuoso-users >> >> > > > > -- > Aldo Bucchi > skype:aldo.bucchi > http://www.univrz.com/ > http://aldobucchi.com/ > > PRIVILEGED AND CONFIDENTIAL INFORMATION > This message is only for the use of the individual or entity to which it is > addressed and may contain information that is privileged and confidential. If > you are not the intended recipient, please do not distribute or copy this > communication, by e-mail or otherwise. Instead, please notify us immediately > by > return e-mail. > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > Virtuoso-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/virtuoso-users
