** Tags added: upgrade-software-version
** Changed in: poco (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
Also opened an issue at the pocoproject.
https://github.com/pocoproject/poco/issues/1284
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex
Arne,
Thank you for your quick reply but I don't think this solves my problem.
It only solves it for the proof-of-concept which I made to proof, the
bug in Poco regex functionality.
Our system does not even link against libPCRE but uses Poco. If I change
the proof-of-concept to a Poco only
I was afraid so.
You could try using the pcre.h header from the embedded pcre in Poco
(apt-get source libPoco-dev, poco-1.3.6p1/Foundation/src/pcre.h), that
I've attached as pocopcre.h and not linking to the system pcre (just g++
regex.cc -lPocoFoundation).
That seems to work for me:
Poco
Additional info; when I change the linking order of pcre and poco I got
a different output:
$ g++ regex.cc -lPocoFoundation -lpcre
$ ./a.out
Poco 0x01030600 on Linux 4.2.0-35-generic @ x86_64
Poco match 1234567890 to pattern ^[0-9]{10} matches? no
Poco match 123456789 to pattern ^[0-9]{10}
Arne, I compiled your code, got no warnings and got a different output!
Poco 0x01030600 on Linux 4.2.0-35-generic @ x86_64
Poco match 1234567890 to pattern ^[0-9]{10} matches? no
Poco match 123456789 to pattern ^[0-9]{10} matches? no
Boost match 1234567890 to pattern ^[0-9]{10} matches? yes
When I compiled your program I got errors about duplicate pcre types.
I've resolved the errors by adding a pcrepcre namespace around the pcre
include/function. It gives me the correct output:
Poco POCO_VERSION on Linux 3.13.0-24-generic @ x86_64
Poco match 1234567890 to pattern ^[0-9]{10}
$ ./a.out
PCRE 8.31 2012-07-06
PCRE match 1234567890 to pattern ^[0-9]{10} matches? yes
PRCE match 123456789 to pattern ^[0-9]{10} matches? no
$ LD_PRELOAD=/usr/lib/libPocoFoundation.so ./a.out
PCRE 8.31 2012-07-06
PCRE match 1234567890 to pattern ^[0-9]{10} matches? yes
PRCE match 123456789
** Branch linked: lp:ubuntu/trusty/poco
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex matching is not working
Status in pcre3 package
LD_PRELOAD=/usr/lib/libPocoFoundation.so changes the result of proof-of-
concept (Poco and boost dependent code are removed from proof-of-
concept)
$ g++ regex.cc -lpcre
$ ./a.out
PCRE 8.31 2012-07-06
PCRE match 1234567890 to pattern ^[0-9]{10} matches? yes
PRCE match 123456789 to pattern
In Ubuntu 14.04, libPocoFoundation.so has some global variables of pcre.
I found the executable which links both libPocoFoundation.so and libpcre.so
outputs wrong results by pcre functions.
nm -D --defined-only /usr/lib/libPocoFoundation.so | grep pcre
00110800 R _pcre_OP_lengths
** Changed in: pcre3 (Ubuntu)
Status: Confirmed = Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex matching is not working
** Changed in: poco (Ubuntu)
Status: Invalid = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex matching is not working
** Also affects: collada-dom2.4-dp (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: collada-dom2.4-dp (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
Package poco is not depedent on prce3
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex matching is not working
Status in “pcre3” package
** Changed in: poco (Ubuntu)
Status: Confirmed = Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex matching is not working
** Changed in: poco (Ubuntu)
Status: Invalid = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
https://bugs.launchpad.net/bugs/1361610
Title:
libPCRE3 8.31 regex matching is not working
** Changed in: pcre3 (Ubuntu)
Status: New = Confirmed
** Changed in: poco (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pcre3 in Ubuntu.
18 matches
Mail list logo