Giter Site home page Giter Site logo

3.6.0 regression on macOS about nyxt HOT 11 CLOSED

catap avatar catap commented on July 18, 2024
3.6.0 regression on macOS

from nyxt.

Comments (11)

catap avatar catap commented on July 18, 2024

If I try to click by link on web page... it crashes as:

<WARN> [00:33:12] Warning: Error while routing "nyxt-resource" resource: The alien function "webkit_uri_scheme_response_new" is undefined.
<WARN> [00:33:12] Warning: Error while routing "nyxt-resource" resource: The alien function "webkit_uri_scheme_response_new" is undefined.
<WARN> [00:33:12] Warning: Error while routing "nyxt-resource" resource: The alien function "webkit_uri_scheme_response_new" is undefined.
<INFO> [00:33:12] Loading "https://nyxt.atlas.engineer/faq".
<INFO> [00:33:13] Finished loading "https://nyxt.atlas.engineer/faq".
<INFO> [00:33:15] Loading "https://nyxt.atlas.engineer/faq".
<INFO> [00:33:15] Finished loading "https://nyxt.atlas.engineer/faq".
<INFO> [00:33:18] Loading "https://nyxt.atlas.engineer/faq".
<INFO> [00:33:18] Finished loading "https://nyxt.atlas.engineer/documentation".
<INFO> [00:33:19] Loading "https://nyxt.atlas.engineer/documentation".
INFO: Binding stack guard page unprotected
Binding stack guard page temporarily disabled: proceed with caution
Unhandled SB-KERNEL::BINDING-STACK-EXHAUSTED in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                                          {100F180153}>:
  Binding stack exhausted.

PROCEED WITH CAUTION.

Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {100F180153}>
0: (SB-DEBUG::DEBUGGER-DISABLED-HOOK #<SB-KERNEL::BINDING-STACK-EXHAUSTED {10072C5833}> #<unused argument> :QUIT T)
1: (SB-DEBUG::RUN-HOOK SB-EXT:*INVOKE-DEBUGGER-HOOK* #<SB-KERNEL::BINDING-STACK-EXHAUSTED {10072C5833}>)
2: (INVOKE-DEBUGGER #<SB-KERNEL::BINDING-STACK-EXHAUSTED {10072C5833}>)
3: (UIOP/IMAGE:HANDLE-FATAL-CONDITION #<SB-KERNEL::BINDING-STACK-EXHAUSTED {10072C5833}>)
4: (SB-KERNEL::%SIGNAL #<SB-KERNEL::BINDING-STACK-EXHAUSTED {10072C5833}>)
5: (ERROR SB-KERNEL::BINDING-STACK-EXHAUSTED)
6: (SB-KERNEL::BINDING-STACK-EXHAUSTED-ERROR)
7: ("foreign function: call_into_lisp_")
8: ("foreign function: post_signal_tramp")
9: ("foreign function: _ZN3JSC17ConservativeRoots14genericAddSpanINS_17CompositeMarkHookEEEvPvS3_RT_")
10: ("foreign function: _ZN3JSC17ConservativeRoots3addEPvS1_RNS_17JITStubRoutineSetERNS_12CodeBlockSetE")
11: ("foreign function: _ZN3JSC14MachineThreads23gatherConservativeRootsERNS_17ConservativeRootsERNS_17JITStubRoutineSetERNS_12CodeBlockSetEPNS_18CurrentThreadStateEPN3WTF6ThreadE")
12: ("foreign function: _ZN3WTF6Detail15CallableWrapperIZN3JSC4Heap18addCoreConstraintsEvE4$_30vJRNS2_11SlotVisitorEEE4callES6_")
13: ("foreign function: _ZN3JSC23MarkingConstraintSolver18runExecutionThreadERNS_11SlotVisitorENS0_19SchedulerPreferenceEN3WTF12ScopedLambdaIFNS4_8OptionalIjEEvEEE")
14: ("foreign function: _ZN3JSC4Heap17runTaskInParallelEN3WTF6RefPtrINS1_10SharedTaskIFvRNS_11SlotVisitorEEEENS1_13DumbPtrTraitsIS7_EEEE")
15: ("foreign function: _ZN3JSC23MarkingConstraintSolver7executeENS0_19SchedulerPreferenceEN3WTF12ScopedLambdaIFNS2_8OptionalIjEEvEEE")
16: ("foreign function: _ZN3JSC23MarkingConstraintSolver5drainERN3WTF9BitVectorE")
17: ("foreign function: _ZN3JSC20MarkingConstraintSet22executeConvergenceImplERNS_11SlotVisitorE")
18: ("foreign function: _ZN3JSC20MarkingConstraintSet18executeConvergenceERNS_11SlotVisitorE")
19: ("foreign function: _ZN3JSC4Heap16runFixpointPhaseENS_11GCConductorE")
20: ("foreign function: _ZN3JSC4Heap15runCurrentPhaseENS_11GCConductorEPNS_18CurrentThreadStateE")
21: ("foreign function: _ZN3WTF19ScopedLambdaFunctorIFvRN3JSC18CurrentThreadStateEEZNS1_4Heap22collectInMutatorThreadEvE3$_0E12implFunctionEPvS3_")
22: ("foreign function: _ZN3JSC26callWithCurrentThreadStateERKN3WTF12ScopedLambdaIFvRNS_18CurrentThreadStateEEEE")
23: ("foreign function: _ZN3JSC4Heap22collectInMutatorThreadEv")
24: ("foreign function: _ZN3JSC4Heap19stopIfNecessarySlowEj")
25: ("foreign function: _ZN3JSC4Heap19stopIfNecessarySlowEv")
26: ("foreign function: _ZN3JSC8JSString6createERNS_2VMEON3WTF3RefINS3_10StringImplENS3_13DumbPtrTraitsIS5_EEEE")
27: ("foreign function: _ZN7WebCore17CloneDeserializer12CachedString8jsStringEPN3JSC14JSGlobalObjectE")
28: ("foreign function: _ZN7WebCore17CloneDeserializer12readTerminalEv")
29: ("foreign function: _ZN7WebCore17CloneDeserializer11deserializeEv")
30: (#<(SIMPLE-BASE-STRING 484) foreign function: _ZN7WebCore17CloneDeserializer11deserializeEPN3JSC14JSGlobalObjectES3_RKN3WTF6VectorINS4_6RefPtrINS_11MessagePortENS4_13DumbPtrTraitsIS7_EEEELm0ENS4_15CrashOnOverflowELm16ENS4_10Fast... {10072EA70F}>)
31: (#<(SIMPLE-BASE-STRING 281) foreign function: _ZN7WebCore21SerializedScriptValue11deserializeERN3JSC14JSGlobalObjectEPS2_RKN3WTF6VectorINS5_6RefPtrINS_11MessagePortENS5_13DumbPtrTraitsIS8_EEEELm0ENS5_15CrashOnOverflowELm16ENS5_1... {10072EC2DF}>)
32: (#<(SIMPLE-BASE-STRING 242) foreign function: _ZN7WebCore21SerializedScriptValue11deserializeERN3JSC14JSGlobalObjectEPS2_RKN3WTF6VectorINS5_6RefPtrINS_11MessagePortENS5_13DumbPtrTraitsIS8_EEEELm0ENS5_15CrashOnOverflowELm16ENS5_1... {10072EDC7F}>)
33: ("foreign function: _ZN7WebCore21SerializedScriptValue11deserializeEPK15OpaqueJSContextPPK13OpaqueJSValue")
34: ("foreign function: _ZN23_WebKitJavascriptResultC2ERN7WebCore21SerializedScriptValueE")
35: ("foreign function: _Z28webkitJavascriptResultCreateRN7WebCore21SerializedScriptValueE")
36: ("foreign function: _ZL34webkitWebViewRunJavaScriptCallbackPN3API21SerializedScriptValueERKN7WebCore16ExceptionDetailsEP6_GTask")
37: (#<(SIMPLE-BASE-STRING 209) foreign function: _ZN3WTF6Detail15CallableWrapperIZ30webkit_web_view_run_javascriptE3$_5vJPN3API21SerializedScriptValueENS_8OptionalIN7WebCore16ExceptionDetailsEEEN6WebKit12CallbackBase5ErrorEEE4callE... {10072F345F}>)
38: ("foreign function: _ZNK3WTF8FunctionIFvPN3API21SerializedScriptValueENS_8OptionalIN7WebCore16ExceptionDetailsEEEN6WebKit12CallbackBase5ErrorEEEclES3_S7_SA_")
39: ("foreign function: _ZN6WebKit15GenericCallbackIJPN3API21SerializedScriptValueEN3WTF8OptionalIN7WebCore16ExceptionDetailsEEEEE30performCallbackWithReturnValueES3_S8_")
40: ("foreign function: _ZN6WebKit12WebPageProxy19scriptValueCallbackERKN3IPC13DataReferenceEN3WTF8OptionalIN7WebCore16ExceptionDetailsEEENS_10CallbackIDE")
41: (#<(SIMPLE-BASE-STRING 252) foreign function: _ZN3IPC22callMemberFunctionImplIN6WebKit12WebPageProxyEMS2_FvRKNS_13DataReferenceEN3WTF8OptionalIN7WebCore16ExceptionDetailsEEENS1_10CallbackIDEENSt3__15tupleIJS3_SA_SB_EEEJLm0ELm1EL... {10072F8C0F}>)
42: (#<(SIMPLE-BASE-STRING 223) foreign function: _ZN3IPC13handleMessageIN8Messages12WebPageProxy19ScriptValueCallbackEN6WebKit12WebPageProxyEMS5_FvRKNS_13DataReferenceEN3WTF8OptionalIN7WebCore16ExceptionDetailsEEENS4_10CallbackIDEE... {10072FA4FF}>)
43: ("foreign function: _ZN6WebKit12WebPageProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE")
44: ("foreign function: _ZN3IPC18MessageReceiverMap15dispatchMessageERNS_10ConnectionERNS_7DecoderE")
45: ("foreign function: _ZN6WebKit15WebProcessProxy17didReceiveMessageERN3IPC10ConnectionERNS1_7DecoderE")
46: ("foreign function: _ZN3IPC10Connection15dispatchMessageENSt3__110unique_ptrINS_7DecoderENS1_14default_deleteIS3_EEEE")
47: ("foreign function: _ZN3IPC10Connection24dispatchIncomingMessagesEv")
48: ("foreign function: _ZN3WTF7RunLoop11performWorkEv")
49: ("foreign function: _ZZN3WTF7RunLoopC1EvEN3$_08__invokeEPv")
50: ("foreign function: g_main_context_dispatch")
51: ("foreign function: g_main_context_iterate")
52: ("foreign function: g_main_loop_run")
53: ("foreign function: gtk_main")
54: (GTK::%GTK-MAIN)
55: (GTK:GTK-MAIN)
56: (NYXT::START-BROWSER NIL)
57: (START :URLS NIL)
58: ((LAMBDA NIL :IN UIOP/IMAGE:RESTORE-IMAGE))
59: (UIOP/IMAGE:CALL-WITH-FATAL-CONDITION-HANDLER #<FUNCTION (LAMBDA NIL :IN UIOP/IMAGE:RESTORE-IMAGE) {1005E13B8B}>)
60: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
61: ((FLET "WITHOUT-INTERRUPTS-BODY-3" :IN SB-IMPL::START-LISP))
62: (SB-IMPL::%START-LISP)

from nyxt.

jmercouris avatar jmercouris commented on July 18, 2024

It seems it has trouble dealing with the new URI scheme nyxt-resource which is responsible for resolving the assets. I wonder why that is...

from nyxt.

jmercouris avatar jmercouris commented on July 18, 2024

Does 3.5.0 work reasonably well?

from nyxt.

catap avatar catap commented on July 18, 2024

@jmercouris yep, it is

from nyxt.

aadcg avatar aadcg commented on July 18, 2024

No surprises here since webkit_uri_scheme_response_new was introduced in 2.36 but @catap is running 2.28.2.

I don't think we should account for users who are running such old versions. For that reason, I'm closing this issue.

@catap you can patch Nyxt by removing the changes introduced in e5e3f9b.

from nyxt.

catap avatar catap commented on July 18, 2024

@aadcg I doubt that uri_scheme_response_new related because 3.5.0 works but it also complains on it as:

<INFO> [09:26:04] Source location: #P"/opt/local/share/nyxt/"
<INFO> [09:26:06] Loading #P"/Users/catap/.local/share/nyxt/history/default.lisp".
<INFO> [09:26:06] Restoring 3 buffers from history.
<INFO> [09:26:06] Loading #P"/Users/catap/.local/share/nyxt/auto-rules.lisp".
<WARN> [09:26:07] Warning: Error while routing "nyxt" resource: The alien function "webkit_uri_scheme_response_new" is undefined.
<INFO> [09:26:07] Failed to load URL nyxt:new in buffer 6469.
<WARN> [09:26:07] Warning: Error in FFI method: The value
  NIL
is not of type
  GOBJECT::PARAM-SPEC
<INFO> [09:26:08] Loading "https://github.com/enterprise".
<INFO> [09:26:13] Finished loading "https://github.com/enterprise".
<INFO> [09:26:19] Loading "https://github.com/enterprise".
<INFO> [09:26:20] Finished loading "https://github.com/features/actions".

from nyxt.

aadcg avatar aadcg commented on July 18, 2024

@catap no surprises again. Nyxt 3.5.0 also uses custom schemes, nyxt, but you'll hit the issue less frequently since Nyxt 3.6.0 introduces another custom scheme, nyxt-resource, that is heavily used.

from nyxt.

catap avatar catap commented on July 18, 2024

Ok, I see.

Anyway, building WebKit against GTK+ on Darwin is quite a challenge because its code fill of ifdef DARWIN which leads to cocoa.

from nyxt.

aadcg avatar aadcg commented on July 18, 2024

Yes, updating seems to be non trivial.

from nyxt.

catap avatar catap commented on July 18, 2024

@aadcg well... it almost done: https://github.com/catap/macports-ports/tree/webkit2-gtk-devel or at least it's complied and passed trivial tests on macOS 12 ;)

But I need to allocate more time, like week or two to finish it which isn't easy to mange.

from nyxt.

aadcg avatar aadcg commented on July 18, 2024

Sounds really promising! Thank you for your work and interest :)

from nyxt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.