Bug#581202: libpcre3 8.02-1 causes approx/stable to segfault
Mark Baker wrote: [...] When I built approx 3.3.0 from source, it worked (or at least didn't crash on startup, I didn't try to install it). When I build approx 3.3.0 from source in stable, and then use sid's libpcre3, I get a segfault as well. Actually, the segfault can be reproduced very easily by compiling an empty file test.ml with the following command: ocamlc -I +pcre pcre.cma -linkall test.ml and then running ./a.out. So I guess anything using OCaml pcre3 bindings will have the same issue. I am still narrowing down the bug... Lucas Nussbaum wrote: Upgrading libpcre3 from version 7.8-3 (in testing) to version 8.02-1 (in unstable) causes approx 3.3.0 (in stable) to start segfaulting at startup (on amd64). Is this the only reason why this bug is RC and pcre3 hasn't migrated to testing? Cheers, -- Stéphane -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581202: libpcre3 8.02-1 causes approx/stable to segfault
On 28/07/10 at 23:39 -0400, Stéphane Glondu wrote: Mark Baker wrote: [...] When I built approx 3.3.0 from source, it worked (or at least didn't crash on startup, I didn't try to install it). When I build approx 3.3.0 from source in stable, and then use sid's libpcre3, I get a segfault as well. Actually, the segfault can be reproduced very easily by compiling an empty file test.ml with the following command: ocamlc -I +pcre pcre.cma -linkall test.ml and then running ./a.out. So I guess anything using OCaml pcre3 bindings will have the same issue. I am still narrowing down the bug... Lucas Nussbaum wrote: Upgrading libpcre3 from version 7.8-3 (in testing) to version 8.02-1 (in unstable) causes approx 3.3.0 (in stable) to start segfaulting at startup (on amd64). Is this the only reason why this bug is RC and pcre3 hasn't migrated to testing? Well, the segfault is likely caused by a change in pcre3 that broke ABI compatibility somehow. Don't you think that it is clearly RC ? -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581202: libpcre3 8.02-1 causes approx/stable to segfault
On 11/05/2010 15:59, Lucas Nussbaum wrote: Upgrading libpcre3 from version 7.8-3 (in testing) to version 8.02-1 (in unstable) causes approx 3.3.0 (in stable) to start segfaulting at startup (on amd64). It works OK on i386. The version in unstable works on both. Although I can reproduce this easily, I'm not sure how to go about tracking down the problem. There are no debugging symbols in the released binary so gdb doesn't reveal much. When I built approx 3.3.0 from source, it worked (or at least didn't crash on startup, I didn't try to install it). pcre_config(0, 0x7fffd014, 57, 0x7f7e6fb36900, 0x7fffcf40) = 0 pcre_config(1, 0x7fffd014, -84616, 0x7f7e6fb36900, 0x7fffcf40) = 0 pcre_config(2, 0x7fffd014, -84632, 0x7f7e6fb36900, 0x7fffcf40) = 0 pcre_config(4, 0x7fffd014, -84584, 0x7f7e6fb36900, 0x7fffcf40) = 0 Which returned OK, so it didn't crash in these functions. I'm not sure what ltrace outputs if a signal is received during a library call, does it output anything for the library call at all? i.e. could there be another pcre function called after these ones, which ltrace hasn't output anything for because of the seg fault? -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#581202: libpcre3 8.02-1 causes approx/stable to segfault
Package: libpcre3 Version: 8.02-1 Severity: serious Hi, Upgrading libpcre3 from version 7.8-3 (in testing) to version 8.02-1 (in unstable) causes approx 3.3.0 (in stable) to start segfaulting at startup (on amd64). # ltrace approx -f [...] pcre_version(1, 0x77a59f, 0x4d1180, 0x4e87d2, 0x7fffcf40) = 0x7f7e6f72fb20 memmove(0x7f7e6fb36900, 0x7f7e6f72fb20, 15, 0x7f7e6fb36900, 0x7fffcf40) = 0x7f7e6fb36900 pcre_config(0, 0x7fffd014, 57, 0x7f7e6fb36900, 0x7fffcf40) = 0 pcre_config(1, 0x7fffd014, -84616, 0x7f7e6fb36900, 0x7fffcf40) = 0 pcre_config(2, 0x7fffd014, -84632, 0x7f7e6fb36900, 0x7fffcf40) = 0 pcre_config(4, 0x7fffd014, -84584, 0x7f7e6fb36900, 0x7fffcf40) = 0 --- SIGSEGV (Segmentation fault) --- getrlimit64(3, 0x76bd30, 0x76bd60, 0x7f7e6fb36900, 0x7fffcf40) = 0 sigemptyset(0x76bc98) = 0 sigaction(11, 0x76bc90, NULL) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++ - Lucas -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org