Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. LINUX.DEBIAN.BUGS.DIST
  • Bug#1100540: RM: node-websocket [armel] -- ICE; bus error in tests on b

    From Sam Hartman@21:1/5 to All on Sat Mar 15 04:30:01 2025
    XPost: linux.debian.ports.arm

    Package: ftp.debian.org
    Severity: normal
    X-Debbugs-Cc: debian-arm@lists.debian.org, node-websocket@packages.debian.org User: ftp.debian.org@packages.debian.org
    Usertags: remove
    User: debian-arm@lists.debian.org
    Usertags: armel



    node-websocket has fallen out of trixie because it bus errors on one of the tests.
    I tried rebuilding, but got the same failure: https://buildd.debian.org/status/fetch.php?pkg=node-websocket&arch=armel&ver=1.0.35%2B%7Ecs11.0.28-1&stamp=1741997502&raw=0

    I'd like to see node-websocket get back into trixie, and this seems like the fastest way to do that.
    The rdep (simple-whip-server) is arch all.

    Obviously if node-websocket is fixed, it can return to armel.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?SsOpcsOpbXkgTGFs?=@21:1/5 to All on Sat Mar 15 15:30:01 2025
    Le sam. 15 mars 2025 à 04:24, Sam Hartman <hartmans@debian.org> a écrit :

    Package: ftp.debian.org
    Severity: normal
    X-Debbugs-Cc: debian-arm@lists.debian.org,
    node-websocket@packages.debian.org
    User: ftp.debian.org@packages.debian.org
    Usertags: remove
    User: debian-arm@lists.debian.org
    Usertags: armel



    node-websocket has fallen out of trixie because it bus errors on one of
    the tests.


    A bundled addon, bufferutil, crashes on armel when built with -O2 (and
    doesn't with -O1).

    The relevant part https://salsa.debian.org/js-team/node-websocket/-/blob/master/bufferutil/src/bufferutil.c?ref_type=heads#L67

    62 uint64_t *pMask8 = (uint64_t *)maskAlignedArray;
    63
    64 while (loop--) {
    65 uint64_t *pFrom8 = (uint64_t *)source;
    66 uint64_t *pTo8 = (uint64_t *)destination;
    *67 *pTo8 = *pFrom8 ^ *pMask8;*
    68 source += 8;
    69 destination += 8;
    70 }

    The fact that it fails only on armel makes it look like an optimization bug
    in gcc.
    Unless someone has an idea about how to not trigger that bug, I'll try to
    fix the build conf to compile it with -O1 on armel.

    Jérémy

    <div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">Le sam. 15 mars 2025 à 04:24, Sam Hartman &lt;<a href="mailto:hartmans@debian.org">hartmans@debian.org</a>&gt; a écrit :<br><
    /div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Package: <a href="http://ftp.debian.org" rel="noreferrer" target="_blank">ftp.debian.org</a><br>
    Severity: normal<br>
    X-Debbugs-Cc: <a href="mailto:debian-arm@lists.debian.org" target="_blank">debian-arm@lists.debian.org</a>, <a href="mailto:node-websocket@packages.debian.org" target="_blank">node-websocket@packages.debian.org</a><br>
    User: <a href="mailto:ftp.debian.org@packages.debian.org" target="_blank">ftp.debian.org@packages.debian.org</a><br>
    Usertags: remove<br>
    User: <a href="mailto:debian-arm@lists.debian.org" target="_blank">debian-arm@lists.debian.org</a><br>
    Usertags: armel<br>



    node-websocket has fallen out of trixie because it bus errors on one of the tests.<br></blockquote><div><br></div><div>A bundled addon, bufferutil, crashes on armel when built with -O2 (and doesn&#39;t with -O1).</div><div><br></div><div>The relevant
    part <a href="https://salsa.debian.org/js-team/node-websocket/-/blob/master/bufferutil/src/bufferutil.c?ref_type=heads#L67">https://salsa.debian.org/js-team/node-websocket/-/blob/master/bufferutil/src/bufferutil.c?ref_type=heads#L67</a></div><div><br></
    <div>62  uint64_t *pMask8 = (uint64_t *)maskAlignedArray;<br>63 <br>64  while (loop--) {<br>65    uint64_t *pFrom8 = (uint64_t *)source;<br>66    uint64_t *pTo8 = (uint64_t *)destination;<br><b>67     *pTo8 = *pFrom8 ^ *pMask8;</b><br>68
       source += 8;<br>69    destination += 8;<br>70  }<br><br></div><div>The fact that it fails only on armel makes it look like an optimization bug in gcc.</div><div>Unless someone has an idea about how to not trigger that bug, I&#39;ll try to fix
    the build conf to compile it with -O1 on armel.</div><div><br></div><div>Jérémy</div><div><br></div></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Bob Worm
      Wed May 28 15:03:53 2025
      from Wales, Uk via Telnet
    • Bob Worm
      Wed May 28 13:40:29 2025
      from Wales, Uk via Telnet
    • Jokke
      Wed May 28 12:16:50 2025
      from Be via Telnet
    • Bob Worm
      Wed May 28 10:22:35 2025
      from Wales, Uk via Telnet
    • Plume
      Wed May 28 10:08:52 2025
      from Uk via SSH
    • Bob Worm
      Wed May 28 09:52:15 2025
      from Wales, Uk via Telnet
    • Bob Worm
      Tue May 27 21:16:26 2025
      from Wales, Uk via Telnet
    • Bob Worm
      Tue May 27 12:05:35 2025
      from Wales, Uk via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 483
    Nodes: 16 (2 / 14)
    Uptime: 151:24:24
    Calls: 9,592
    Calls today: 6
    Files: 13,676
    Messages: 6,148,493
    Posted today: 3

© >>> Magnum BBS <<<, 2025