Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal exception in next-render-worker-pages: v8::internal::ConcurrentMarking::RunMajor #1741

Closed
4 tasks done
Mabisi opened this issue Dec 9, 2023 · 5 comments
Closed
4 tasks done
Labels
🐛 Bug Something isn't working 📝 Needs more info An issue that has too little information Stale

Comments

@Mabisi
Copy link

Mabisi commented Dec 9, 2023

Environment

Docker

Version

0.14.2

Describe the problem

Every few hours it will report an error and require a container restart to continue working. How can I make it return to normal?

Logs

�[36mℹ�[39m Saving updated configuration of 'default' config.
Error: socket hang up
    at connResetException (node:internal/errors:714:14)
    at Socket.socketOnEnd (node:_http_client:519:23)
    at Socket.emit (node:events:523:35)
    at endReadableNT (node:internal/streams/readable:1367:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: 'ECONNRESET'
}
[next-auth][error][CLIENT_FETCH_ERROR] 
https://next-auth.js.org/errors#client_fetch_error fetch failed {
  error: {
    message: 'fetch failed',
    stack: 'TypeError: fetch failed\n' +
      '    at Object.fetch (/app/node_modules/next/dist/compiled/undici/index.js:1:26669)',
    name: 'TypeError'
  },
  url: 'http://a78c3cdf8a16:7575/api/auth/session',
  message: 'fetch failed'
}
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ ts-node ./migrate.ts
Done in 2.30s.
Starting production server...
Listening on port 7575 url: http://a78c3cdf8a16:7575

�[41m�[30m ERROR �[39m�[49m Unexpected response: connect ECONNREFUSED 10.0.0.50:8923

Exporting hostname...
Migrating database...
yarn run v1.22.19
$ ts-node ./migrate.ts
Done in 2.24s.
Starting production server...
Listening on port 7575 url: http://a78c3cdf8a16:7575

�[41m�[30m ERROR �[39m�[49m App [object Object] not found


�[41m�[30m ERROR �[39m�[49m App [object Object] not found

�[36mℹ�[39m Saving updated configuration of 'default' config.
Exporting hostname...
Migrating database...
yarn run v1.22.19
$ ts-node ./migrate.ts
Done in 1.86s.
Starting production server...
Listening on port 7575 url: http://a78c3cdf8a16:7575
�[36mℹ�[39m Saving updated configuration of 'default' config.


#
# Fatal error in , line 0
# unreachable code
#
#
#
#FailureMessage Object: 0x7f2ea3ffe6c0
 1: 0xd04d31  [next-render-worker-pages]
 2: 0x20d9e61 V8_Fatal(char const*, ...) [next-render-worker-pages]
 3: 0x10665a6 v8::internal::ConcurrentMarking::RunMajor(v8::JobDelegate*, v8::base::EnumSet<v8::internal::CodeFlushMode, int>, unsigned int, bool) [next-render-worker-pages]
 4: 0x106a6fd v8::internal::ConcurrentMarking::JobTaskMajor::Run(v8::JobDelegate*) [next-render-worker-pages]
 5: 0x1d1d688 v8::platform::DefaultJobWorker::Run() [next-render-worker-pages]
 6: 0xd04ed1  [next-render-worker-pages]
 7: 0x7f2ea9e87ea7  [/lib/x86_64-linux-gnu/libpthread.so.0]
 8: 0x7f2ea9da7a2f clone [/lib/x86_64-linux-gnu/libc.so.6]

Context

No response

Please tick the boxes

  • I confirm that I attached the proper logs
  • I've read the docs
  • I've checked for duplicate issues
  • I've tried to debug myself
@Mabisi Mabisi added the 🐛 Bug Something isn't working label Dec 9, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Homarr Kanban Dec 9, 2023
@Mabisi
Copy link
Author

Mabisi commented Dec 12, 2023

Can anyone help me solve this problem?

@manuel-rw
Copy link
Collaborator

Hi, this looks like an underlying error caused when rendering the pages.
The cause for this could be almost anything (eg. memory issues, incompatible hardware, buggy code, ...).
Can you provide more information on your hardware, software, your docker compose / run and when this happens?

@manuel-rw manuel-rw added the 📝 Needs more info An issue that has too little information label Dec 20, 2023
@manuel-rw manuel-rw changed the title Unknown error Fatal exception in next-render-worker-pages: v8::internal::ConcurrentMarking::RunMajor Jan 6, 2024
@manuel-rw
Copy link
Collaborator

Hi @Mabisi , please respond with more details to this issue. As we are unable to reproduce this without further information, we may close this issue. Thank you for your understanding.

@manuel-rw manuel-rw added the Stale label Jan 6, 2024
@manuel-rw manuel-rw closed this as not planned Won't fix, can't repro, duplicate, stale Jan 8, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Homarr Kanban Jan 8, 2024
@lousyCraftsman
Copy link

I have run into the same issue. Any version higher than 0.14.3 and my homarr container slowly takes up all the available RAM and I have to restart the LXC to get anything back. Reverting to 0.14.3 resolves the issue.

@manuel-rw
Copy link
Collaborator

manuel-rw commented Aug 3, 2024

Hi @lousyCraftsman , this sounds like a memory leak and I suggest you to open a new issue.
As described in #1993, this will be fixed in 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📝 Needs more info An issue that has too little information Stale
Projects
Archived in project
Development

No branches or pull requests

3 participants