parcel icon indicating copy to clipboard operation
parcel copied to clipboard

Fails with UV error about 90% of the time

Open c0repwn3r opened this issue 3 years ago • 1 comments

🐛 bug report

For some unknown reason, parcel build fails unpredictably. I cannot tell why, and parcel runs just fine. Additionally, about 10% of the time, it runs totally fine, and does not error. I set up a script to run yarn run pbuild over and over and over again until it is successful - on average it finishes after about 10 minutes. Intensive googling did not lead to an answer, so I'm hoping someone can help me here. This project looks very promising, if not for this one issue.

🎛 Configuration (.babelrc, package.json, cli command)

package.json

{
    "name": "e3t",
    "source": [
        "index.html"
    ],
    "description": "## Portfolio page for the EEE++ tEam",
    "private": true,
    "scripts": {
        "start": "parcel",
        "build": "./do-build",
        "pbuild": "parcel build"
    },
    "repository": {
        "type": "git",
        "url": "https://git.coredoes.dev/c0repwn3r/e3t.cc.git"
    },
    "keywords": [],
    "author": "e3team",
    "license": "Please do not copy or imitate our website without permission.",
    "devDependencies": {
        "parcel": "latest"
    }
}

I do not have a .babelrc.

🤔 Expected Behavior

It should build successfully.

😯 Current Behavior

An error that appears to be originating within the node binary:

[core ~/e3t]$ yarn run pbuild
yarn run v1.22.17
$ parcel build
✨ Built in 1.23s

dist/index.html                                                                                      4.13 KB    587ms
dist/core.99ef9154.png                                                                              29.43 KB    352ms
dist/tm85.fad65409.png                                                                             111.61 KB    519ms
dist/ghty.d7070187.png                                                                               8.91 KB    450ms
dist/nshi.9c6566a5.png                                                                              38.94 KB    352ms
dist/index.94c4f848.css                                                                              7.44 KB    646ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.66418cfa.eot           77.22 KB    129ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.2eb8abc0.woff2         64.64 KB    113ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.52795923.woff          83.82 KB    105ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.79f1086a.ttf          174.83 KB    129ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-300.e2f6068b.svg           49.74 KB    446ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.e5ec5bc4.eot       78.16 KB    104ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.a60025dd.woff2     65.28 KB    128ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.08f07674.woff      84.37 KB    112ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.bded8757.ttf      174.64 KB    105ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-regular.c4973941.svg       49.86 KB    576ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.ead457b6.eot           78.29 KB    112ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.43ff5668.woff2         65.43 KB    105ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.adcc1481.woff          84.45 KB    128ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.1bd07207.ttf          174.63 KB    112ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-500.7fc27254.svg           49.95 KB    586ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.5b8a35f5.eot           78.55 KB    129ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.c927b05d.woff2         65.63 KB    113ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.333e6639.woff           84.8 KB    105ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.98127740.ttf          174.98 KB    129ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-600.713d793e.svg           50.09 KB    446ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.9e45350c.eot           76.93 KB    105ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.4cb09bad.woff2         64.62 KB    129ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.349f200b.woff           83.7 KB    113ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.d75632c2.ttf          175.24 KB    105ms
dist/fira-code-v17-latin-ext_latin_greek-ext_greek_cyrillic-ext_cyrillic-700.e30e2d57.svg           50.04 KB    576ms
uv loop at [0x7f40cfffea28] has open handles:
uv loop at [0x7f40cfffea28] has 0 open handles in total
/usr/bin/node[3687]: ../src/debug_utils.cc:322:void node::CheckedUvLoopClose(uv_loop_t*): Assertion `0 && "uv_loop_close() while having open handles"' failed.
 1: 0x55f775442265 node::Abort() [/usr/bin/node]
 2: 0x55f7754425b4 node::Assert(node::AssertionInfo const&) [/usr/bin/node]
 3: 0x55f7753a553a  [/usr/bin/node]
 4: 0x55f77551cfb7 node::worker::Worker::Run() [/usr/bin/node]
 5: 0x55f77551d0fb  [/usr/bin/node]
 6: 0x7f40f781a299  [/usr/lib/libpthread.so.0]
 7: 0x7f40f7743053 clone [/usr/lib/libc.so.6]
error Command failed with signal "SIGABRT".
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

💁 Possible Solution

No idea.

🔦 Context

I am attempting to use Parcel to bundle a website to improve performance. It is mostly as a learning experience.

💻 Code Sample

https://git.coredoes.dev/c0repwn3r/e3t.cc/src/25228f86d982f753a494f268a47097068dc1dad8

🌍 Your Environment

Software Version(s)
Parcel 2.2.1
Node v17.3.0
npm/Yarn yarn 1.22.17
Operating System Artix Linux x64, 5.16.1-artix1-1

c0repwn3r avatar Feb 05 '22 00:02 c0repwn3r

This is still an issue, necroing to remove stale

c0repwn3r avatar Aug 04 '22 21:08 c0repwn3r

Still an issue

c0repwn3r avatar Feb 01 '23 13:02 c0repwn3r

💻 Code Sample git.coredoes.dev/c0repwn3r/e3t.cc/src/25228f86d982f753a494f268a47097068dc1dad8

That link doesn't work (anymore)

mischnic avatar Feb 01 '23 14:02 mischnic

Yep, let me grab a new one; we migrated to a new git server

c0repwn3r avatar Feb 01 '23 14:02 c0repwn3r

This has been fixed sometime between then and now. Closing

c0repwn3r avatar Apr 06 '23 17:04 c0repwn3r