Your message dated Fri, 30 Apr 2021 12:48:58 +0000
with message-id <e1lcszm-000hlr...@fasolo.debian.org>
and subject line Bug#987364: fixed in node-opencv 7.0.0+git20200310.6c13234-2
has caused the Debian Bug report #987364,
regarding /usr/bin/node: segfaults regularly in node-opencv autopkgtest on 
ppc64el
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
987364: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987364
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nodejs
Version: 12.20.2~dfsg-2
Severity: serious
Justification: segfaults
File: /usr/bin/node

Hi maintainer,

As can be seen in the autopkgtest history of node-opencv [1], that
autopkgtest regularly fails, and all failures with logs still present
are due to the same issue: node segfaults. The output from one of these
logs is at the bottom of this mail.

I ran the lines from d/t/unittest manually upto the last call and next I
ran $(node readimage.js) twice. The second time already triggered the
issue, see below.

root@elbrus:/tmp/autopkgtest-lxc.h7end76k/downtmp/autopkgtest_tmp/unittest6FSsAh/examples#
node readimage.js
Synchronous readImage("./files/mona.png")500x756
callback readImage("./files/mona.png", fn(){})500x756
Synchronous readImage(100, 100) (create mat)100x100 type 6
callback readImage(100, 100, fn(){}) (create mat)100x100
Synchronous readImage(imgdata:Buffer)500x756
callback readImage(imgdata:Buffer, fn(){})500x756
Now with flags
Synchronous readImage("./files/mona.png", 0) (monochrome)500x756 type 0
callback readImage("./files/mona.png", 1, fn(){}) (colour)500x756 type 16
Synchronous readImage(100, 100, cv.Constants.CV_8UC3) (create 8 bit 3
channel mat)100x100 type 16
callback readImage(100, 100, cv.Constants.CV_8UC1, fn(){}) (create
mat)100x100 type 0
Synchronous readImage(imgdata:Buffer, 0) (monochrome)500x756 type 0
callback readImage(imgdata:Buffer, 1, fn(){}) (colour)500x756 type 16
Now with readImageAsync
Synchronous readImageAsync("./files/mona.png")500x756
Synchronous readImageAsync(100, 100) (create mat)100x100 type 6
!!Synchronous!! callback readImageAsync(100, 100, fn(){}) (create
mat)100x100
Synchronous readImageAsync(imgdata:Buffer)500x756
Now Async with flags
Synchronous readImageAsync("./files/mona.png", 0) (monochrome)500x756 type 0
Synchronous readImageAsync(100, 100, cv.Constants.CV_8UC3) (create 8 bit
3 channel mat)100x100 type 16
!!Synchronous!! callback readImageAsync(100, 100, cv.Constants.CV_8UC1,
fn(){}) (create mat)100x100 type 0
Synchronous readImageAsync(imgdata:Buffer, 0) (monochrome)500x756 type 0

Truely Async callbacks should be after this line

Asynchronous callback readImageAsync("./files/mona.png", fn(){})500x756
Asynchronous callback readImageAsync(imgdata:Buffer, fn(){})500x756
Asynchronous callback readImageAsync("./files/mona.png", 1, fn(){})
(colour)500x756 type 16
Segmentation fault

Please let me know if you need more info or if I can you more useful
info (step by step please, I have no clue how node works).

Paul

[1] https://ci.debian.net/packages/n/node-opencv/testing/ppc64el/

https://ci.debian.net/data/autopkgtest/testing/ppc64el/n/node-opencv/11596356/log.gz

# Example: ./examples/readimage.js
not ok 200 Error: Command failed: node
/tmp/autopkgtest-lxc._lzaasr1/downtmp/autopkgtest_tmp/unittesthM8OC4/examples/readimage.js
Segmentation fault
  ---
    operator: error
    expected: |-
      undefined
    actual: |-
      { [Error: Command failed: node
/tmp/autopkgtest-lxc._lzaasr1/downtmp/autopkgtest_tmp/unittesthM8OC4/examples/readimage.js
Segmentation fault
] killed: false, code: 139, signal: null, cmd: 'node
/tmp/autopkgtest-lxc._lzaasr1/downtmp/autopkgtest_tmp/unittesthM8OC4/examples/readimage.js'
}
    at: <anonymous>
(/tmp/autopkgtest-lxc._lzaasr1/downtmp/autopkgtest_tmp/unittesthM8OC4/test/examples.js:18:16)
    stack: |-
      Error: Command failed: node
/tmp/autopkgtest-lxc._lzaasr1/downtmp/autopkgtest_tmp/unittesthM8OC4/examples/readimage.js
      Segmentation fault

          at ChildProcess.exithandler (child_process.js:308:12)
          at ChildProcess.emit (events.js:314:20)
          at maybeClose (internal/child_process.js:1022:16)
          at Socket.<anonymous> (internal/child_process.js:444:11)
          at Socket.emit (events.js:314:20)
          at Pipe.<anonymous> (net.js:676:12)
  ...

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: node-opencv
Source-Version: 7.0.0+git20200310.6c13234-2
Done: Jérémy Lal <kapo...@melix.org>

We believe that the bug you reported is fixed in the latest version of
node-opencv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 987...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jérémy Lal <kapo...@melix.org> (supplier of updated node-opencv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 30 Apr 2021 14:18:17 +0200
Source: node-opencv
Architecture: source
Version: 7.0.0+git20200310.6c13234-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers 
<pkg-javascript-de...@lists.alioth.debian.org>
Changed-By: Jérémy Lal <kapo...@melix.org>
Closes: 987364
Changes:
 node-opencv (7.0.0+git20200310.6c13234-2) unstable; urgency=medium
 .
   * Fix OpenCV::ReadImageAsync segfault (Closes: #987364).
     Thanks to Jochen Sprickerhof.
Checksums-Sha1:
 95aeab8fb6345fe8e7f84133e1e497a0df70fa8b 2370 
node-opencv_7.0.0+git20200310.6c13234-2.dsc
 15f20da33cce2f946616d5d6e79c1984c2098930 6540 
node-opencv_7.0.0+git20200310.6c13234-2.debian.tar.xz
 1b00b95ba40a404ba183358af47de9d06e78e062 26137 
node-opencv_7.0.0+git20200310.6c13234-2_source.buildinfo
Checksums-Sha256:
 5a9a99dcb727572215feae6907458369d135e70ec9a2cdf48d5189c44a33c182 2370 
node-opencv_7.0.0+git20200310.6c13234-2.dsc
 74b771d3d227db49a8b588860cfc3c63451c0bf42107eb797d46f51c802b816a 6540 
node-opencv_7.0.0+git20200310.6c13234-2.debian.tar.xz
 750d1767833334a4c6b1cbc06ae2fc9be218d9963d315848421cc1548e34b2c9 26137 
node-opencv_7.0.0+git20200310.6c13234-2_source.buildinfo
Files:
 f4096bae44dc605a4543b69c23a988c6 2370 javascript optional 
node-opencv_7.0.0+git20200310.6c13234-2.dsc
 8a0e02393e7cbec59ef654f4b007e6d2 6540 javascript optional 
node-opencv_7.0.0+git20200310.6c13234-2.debian.tar.xz
 963ff5c05304abefc0c7e431a900f659 26137 javascript optional 
node-opencv_7.0.0+git20200310.6c13234-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEA8Tnq7iA9SQwbkgVZhHAXt0583QFAmCL98YSHGthcG91ZXJA
bWVsaXgub3JnAAoJEGYRwF7dOfN0SJEP/RUC0IR+3GnYRHmChDf9N4Bi2n6DqVfR
pfDsxI79Q54N2RCeAUYIlT4VonfBe+qIVhmVM1D235Sp2I8srsgOqZ6l1O5OXN2F
7bnVdyLd37e4I7YD7ESOHIrl9HmKVH4Jssl42jdSwca7hknqu00ejdEZJks1yHK9
0DfA8rzeYbvNpElk9e3b6SVobDbJMLawLMJqprsg7fEqLIqmAd971Mm9WnRodTzr
lmt4dQMewEFV3E/7A+WaDEA8LRMp86eW8phk8JVFzOIcjD5HO/S5AdS3a4Ule0iL
Gv7dcFHT9HydHvWjREL05EiCQNlOY704nxgHck5z6Xcy0Xy9GedFU+6T9nuOSG7w
VhhsTPLPdUnp0I4tEqzqy7AT9qQIwaUIquap4uTXogjjv+k7akQBQxRQ1rAj38jt
13KtZfmEkOK27x2BXHc7Xe5TsOQ4fxjB525Iqqo6F/MmjyEny8fd8BL0W3/b9vzf
BG2bc/K1LpXwRIQ5vPyeMrKKqitXT7aCqLrFkCAR0bRnuaf9CHJ7ZDTBuJW2n9vO
4rXNwUAm1iOZMYq/3FBOB3A80ZZiNWEu9AaT7PmMiMzSOolZtzdyHdhoOyMTWtRs
1ZHi68NfVWFIqZEf4pi6if/lDyUIyhmfEBNRmD4o+pycP09UUiLe4Dtxw3j2JkaL
LTNFNEMZIVVl
=fhkj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to