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

Crash on startup #192

Open
AlisterH opened this issue Aug 8, 2024 · 0 comments
Open

Crash on startup #192

AlisterH opened this issue Aug 8, 2024 · 0 comments

Comments

@AlisterH
Copy link

AlisterH commented Aug 8, 2024

Describe the bug
I often get a crash on startup:

(gdb) run
Starting program: /nix/store/xf4wzs6qy406i9xscly4yn7c6jkh5k6c-nasc-0.8.0/bin/com.github.parnold_x.nasc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libthread_db.so.1".
process 27459 is executing new program: /nix/store/xf4wzs6qy406i9xscly4yn7c6jkh5k6c-nasc-0.8.0/bin/.com.github.parnold_x.nasc-wrapped
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/dbcw19dshdwnxdv5q2g6wldj6syyvq7l-glibc-2.39-52/lib/libthread_db.so.1".
[INFO 04:53:56.618138] Application.vala:142: NaSC version: 0.8.0
[INFO 04:53:56.618168] Application.vala:145: Kernel version: 5.15.153.1-microsoft-standard-WSL2
[New Thread 0x7fffe99556c0 (LWP 27462)]
[New Thread 0x7fffe91546c0 (LWP 27463)]
[New Thread 0x7fffe89536c0 (LWP 27464)]
[New Thread 0x7fffdbfff6c0 (LWP 27465)]
[New Thread 0x7fffdb7fe6c0 (LWP 27466)]
[FATAL 04:53:56.798295] [Gdk] gdk_monitor_get_geometry: assertion 'GDK_IS_MONITOR (monitor)' failed
[FATAL 04:53:56.798325] [Gdk] gdk_monitor_get_scale_factor: assertion 'GDK_IS_MONITOR (monitor)' failed
Gdk-Message: 04:53:57.882: Unable to load sb_h_double_arrow from the cursor theme
[New Thread 0x7fffda9866c0 (LWP 27467)]
Gdk-Message: 04:53:58.061: Unable to load hand2 from the cursor theme
[New Thread 0x7fffda1856c0 (LWP 27468)]
[Detaching after vfork from child process 27469]
Gdk-Message: 04:53:58.102: Unable to load hand2 from the cursor theme
Gdk-Message: 04:53:58.108: Unable to load col-resize from the cursor theme
Gdk-Message: 04:53:58.108: Unable to load col-resize from the cursor theme
Gdk-Message: 04:53:58.111: Unable to load col-resize from the cursor theme
Gdk-Message: 04:53:58.111: Unable to load col-resize from the cursor theme
Gdk-Message: 04:53:58.134: Unable to load col-resize from the cursor theme
Gdk-Message: 04:53:58.134: Unable to load col-resize from the cursor theme
[FATAL 04:53:58.564652] update_thread_construct: assertion 'file != NULL' failed

Thread 1 "nasc" received signal SIGSEGV, Segmentation fault.
update_thread_ref (instance=0x0) at com.github.parnold_x.nasc.p/src/Calculator.c:3311
warning: 3311   com.github.parnold_x.nasc.p/src/Calculator.c: No such file or directory
(gdb) bt
#0  update_thread_ref (instance=0x0) at com.github.parnold_x.nasc.p/src/Calculator.c:3311
#1  0x00000000004b2d66 in __lambda7_ (self=0xba9960) at com.github.parnold_x.nasc.p/src/Calculator.c:3377
#2  0x00000000004b2e6b in ___lambda7__gsource_func (self=<optimized out>) at com.github.parnold_x.nasc.p/src/Calculator.c:3418
#3  0x00007ffff7da5c7a in g_timeout_dispatch () from /nix/store/8mg16qnlbdxlwcxva9p228fqmbc70i4p-glib-2.80.2/lib/libglib-2.0.so.0
#4  0x00007ffff7da1e39 in g_main_dispatch () from /nix/store/8mg16qnlbdxlwcxva9p228fqmbc70i4p-glib-2.80.2/lib/libglib-2.0.so.0
#5  0x00007ffff7da4fd7 in g_main_context_iterate_unlocked.isra () from /nix/store/8mg16qnlbdxlwcxva9p228fqmbc70i4p-glib-2.80.2/lib/libglib-2.0.so.0
#6  0x00007ffff7da55cc in g_main_context_iteration () from /nix/store/8mg16qnlbdxlwcxva9p228fqmbc70i4p-glib-2.80.2/lib/libglib-2.0.so.0
#7  0x00007ffff70f4d3d in g_application_run () from /nix/store/8mg16qnlbdxlwcxva9p228fqmbc70i4p-glib-2.80.2/lib/libgio-2.0.so.0
#8  0x00000000004c667c in nasc_nasc_app_main (args=0x7fffffffc7c8, args_length1=1) at com.github.parnold_x.nasc.p/src/Nasc.c:201
#9  0x00000000004c66a9 in main (argc=<optimized out>, argv=<optimized out>) at com.github.parnold_x.nasc.p/src/Nasc.c:209

Desktop (please complete the following information):

  • OS: nixOS (running on windows 10 via WSL)
  • Version: 24.05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant