Skip to content

Segfault on website "egg.dance" #657

@VillainsRule

Description

@VillainsRule

$ LIGHTPANDA_DISABLE_TELEMETRY=true ./lightpanda serve --host 127.0.0.1 --port 9222
info(telemetry): telemetry disabled
info(server): accepting new conn...
info(server): client connected
info(page): GET https://shellshock.io/?1747578019207 200
info(page): eval script inline: TypeError: Cannot set property style of # which has only a getter
warning(page): evaljs: error.JsErr
info(page): fetch https://www.gstatic.com/firebasejs/9.17.2/firebase-app-compat.js: 200
info(page): fetch https://www.gstatic.com/firebasejs/9.17.2/firebase-auth-compat.js: 200
info(page): fetch https://www.gstatic.com/firebasejs/ui/6.0.2/firebase-ui-auth.js: 200
info(page): fetch https://shellshock.io/js/vue/vue.min.2.6.10.js: 200
info(page): fetch https://cdn.jsdelivr.net/npm/fuse.js@6.6.2: 200
info(page): fetch https://api.adinplay.com/libs/aiptag/pub/SSK/shellshock.io/tag.min.js: 200
info(page): eval script //api.adinplay.com/libs/aiptag/pub/SSK/shellshock.io/tag.min.js: ReferenceError: top is not defined
info(page): fetch https://www.googletagmanager.com/gtag/js?id=G-79NWRZXYCB: 200
info(console): CrazyGames SDK not available
info(server): accepting new conn...
info(xhr): GET https://shellshock.io/data/housePromo.json?1747578017337 200
Segmentation fault at address 0x7c7e4413a668
/opt/hostedtoolcache/zig/0.14.0/x64/lib/std/heap/arena_allocator.zig:180:50: 0x2071e74 in alloc (lightpanda)
/opt/hostedtoolcache/zig/0.14.0/x64/lib/std/mem/Allocator.zig:129:26: 0x21fd799 in append (lightpanda)
/home/runner/work/browser/browser/src/browser/xhr/xhr.zig:477:49: 0x222bc06 in onHttpResponse (lightpanda)
/home/runner/work/browser/browser/src/http/client.zig:918:48: 0x223f8c5 in processData (lightpanda)
/home/runner/work/browser/browser/src/http/client.zig:1015:57: 0x222ca0e in wrapper (lightpanda)
/home/runner/.cache/zig/p/tigerbeetle_io-0.0.0-ViLgxpyRBAB5BMfIcj3KMXfbJzwARs9uSl8aRy2OXULd/io/linux.zig:683:51: 0x20878cf in complete (lightpanda)
/home/runner/.cache/zig/p/tigerbeetle_io-0.0.0-ViLgxpyRBAB5BMfIcj3KMXfbJzwARs9uSl8aRy2OXULd/fifo.zig:39:29: 0x2087b64 in run_for_ns (lightpanda)
/home/runner/work/browser/browser/src/server.zig:1044:31: 0x2088297 in run (lightpanda)
/home/runner/work/browser/browser/src/main.zig:88:23: 0x20b54fb in main (lightpanda)
???:?:?: 0x7c7e472c66b4 in ??? (libc.so.6)
Unwind information for libc.so.6:0x7c7e472c66b4 was not available, trace may be incomplete

???:?:?: 0x7c7e472c6768 in ??? (libc.so.6)
???:?:?: 0x2053024 in ??? (???)
Aborted (core dumped)

Code:

import puppeteer from 'puppeteer-core';

const browser = await puppeteer.connect({ browserWSEndpoint: '...' });

const context = await browser.createBrowserContext();
const page = await context.newPage();

await page.goto('https://egg.dance/?' + Date.now());

Activity

krichprollsch

krichprollsch commented on May 22, 2025

@krichprollsch
Member

Hello @VillainsRule
I don't reproduce your problem.
Can you retry with the last version please?

$ node ./index.js
$ zig build  run -- serve
info(server): accepting new conn...
info(server): client connected
info(page): GET https://egg.dance/?1747920427302 200
info(page): eval script inline: TypeError: Cannot set property style of #<HTMLElement> which has only a getter
    at Loader.show (inline:31:19)
    at inline:280:8
warning(page): evaljs: error.JsErr
info(page): fetch https://www.gstatic.com/firebasejs/9.17.2/firebase-app-compat.js: 200
info(page): fetch https://www.gstatic.com/firebasejs/9.17.2/firebase-auth-compat.js: 200
info(page): fetch https://www.gstatic.com/firebasejs/ui/6.0.2/firebase-ui-auth.js: 200
info(page): fetch https://egg.dance/js/vue/vue.min.2.6.10.js: 200
info(page): fetch https://cdn.jsdelivr.net/npm/fuse.js@6.6.2: 200
info(page): fetch https://api.adinplay.com/libs/aiptag/pub/SSK/shellshock.io/tag.min.js: 200
info(page): fetch https://www.googletagmanager.com/gtag/js?id=G-79NWRZXYCB: 200
info(console): CrazyGames SDK not available
info(xhr): GET https://egg.dance/js/screenShot.js?1736816866 200
error(http_client): data processing: error.TlsRecordOverflow (GET https://egg.dance/js/screenShot.js?1736816866)
info(xhr): GET https://egg.dance/js/shellshock.js?1747676450 200
error(http_client): data processing: error.TlsBadVersion (GET https://egg.dance/js/shellshock.js?1747676450)
info(xhr): GET https://egg.dance/data/housePromo.json?1747920428093 200
info(server): accepting new conn...
VillainsRule

VillainsRule commented on May 22, 2025

@VillainsRule
Author

I suppose that although it's not throwing a segfault anymore, TlsRecordOverflow is still an issue lol

VillainsRule

VillainsRule commented on May 22, 2025

@VillainsRule
Author
import puppeteer from 'puppeteer-core';

const browser = await puppeteer.connect({ browserWSEndpoint: '...' });

const context = await browser.createBrowserContext();
const page = await context.newPage();

await page.goto('https://egg.dance/?' + Date.now());

await page.waitForFunction('typeof window.validate === "function"');

console.log('found validate');

const result = await page.evaluate(() => window.validate('test'));
console.log(result);

Here's what I was using, result should be a sha256 hash + salt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @krichprollsch@VillainsRule

        Issue actions

          Segfault on website "egg.dance" · Issue #657 · lightpanda-io/browser