spotube icon indicating copy to clipboard operation
spotube copied to clipboard

random crash (segfault)

Open PurpleProg opened this issue 3 months ago • 4 comments

Is there an existing issue for this? (Please read the description)

  • [x] I have searched the existing issues
  • [ ] might be related to #1169 (v3.4.1 tho it might be oudated)

Current Behavior

it crashed randomly while playing a playlist

Expected Behavior

dont crash

Steps to reproduce

i dont know how to reproduce as it happend randomly

Logs

there is no log in the setting page of spotube at the time of the crash. I however have the one from the terminal that launched spotube :

Logs
nouveau: kernel rejected pushbuf: No such device
nouveau: ch7: krec 0 pushes 1 bufs 9 relocs 0
nouveau: ch7: buf 00000000 00000016 00000004 00000004 00000000 0x7f6c4efff000 0xbe2000 0x80000
nouveau: ch7: buf 00000001 00000006 00000004 00000000 00000004 0x7f6c6cb6d000 0x215000 0x1000
nouveau: ch7: buf 00000002 0000013c 00000004 00000004 00000000 0x7f6c5d11e000 0x7840000 0xe2000
nouveau: ch7: buf 00000003 000000b2 00000002 00000002 00000002 (nil) 0x9040000 0x180000
nouveau: ch7: buf 00000004 00000008 00000002 00000002 00000000 (nil) 0x2c0000 0xe0000
nouveau: ch7: buf 00000005 0000000b 00000002 00000002 00000000 (nil) 0x7c0000 0x20000
nouveau: ch7: buf 00000006 0000000a 00000002 00000002 00000002 (nil) 0x6c0000 0x100000
nouveau: ch7: buf 00000007 0000003d 00000002 00000000 00000002 (nil) 0x3be0000 0x400000
nouveau: ch7: buf 00000008 0000006f 00000002 00000000 00000002 (nil) 0x3fe0000 0x400000
nouveau: ch7: psh 00000000 000000d730 000000d844
[0x00000000] HDR 200140c5 subch 2 NINC
	mthd 0314 NV9039_PITCH_IN
		.VALUE = 0x52a

[0x00000002] HDR 20054088 subch 2 NINC
	mthd 0220 NV9039_SET_DST_BLOCK_SIZE
		.VALUE = 0x40
	mthd 0224 NV9039_SET_DST_WIDTH
		.VALUE = 0x600
	mthd 0228 NV9039_SET_DST_HEIGHT
		.VALUE = 0x400
	mthd 022c NV9039_SET_DST_DEPTH
		.VALUE = 0x1
	mthd 0230 NV9039_SET_DST_LAYER
		.VALUE = 0x0

[0x00000008] HDR 200240c3 subch 2 NINC
	mthd 030c NV9039_OFFSET_IN_UPPER
		.VALUE = 0x0
	mthd 0310 NV9039_OFFSET_IN
		.VALUE = 0x7840000

[0x0000000b] HDR 2002408e subch 2 NINC
	mthd 0238 NV9039_OFFSET_OUT_UPPER
		.VALUE = 0x0
	mthd 023c NV9039_OFFSET_OUT
		.VALUE = 0x9040000

[0x0000000e] HDR 200240d3 subch 2 NINC
	mthd 034c NV9039_SET_DST_ORIGIN_BYTES_X
		.VALUE = 0x0
	mthd 0350 NV9039_SET_DST_ORIGIN_SAMPLES_Y
		.VALUE = 0x0

[0x00000011] HDR 200240c7 subch 2 NINC
	mthd 031c NV9039_LINE_LENGTH_IN
		.VALUE = 0x52a
	mthd 0320 NV9039_LINE_COUNT
		.VALUE = 0x2bc

[0x00000014] HDR 200140c0 subch 2 NINC
	mthd 0300 NV9039_LAUNCH_DMA
		.VALUE = 0x100010

[0x00000016] HDR 200203fd subch 0 NINC
	mthd 0ff4 NV9097_SET_SURFACE_CLIP_HORIZONTAL
		.X = (0x0)
		.WIDTH = (0x52a)
	mthd 0ff8 NV9097_SET_SURFACE_CLIP_VERTICAL
		.Y = (0x0)
		.HEIGHT = (0x2bc)

[0x00000019] HDR 20090200 subch 0 NINC
	mthd 0800 NV9097_SET_COLOR_TARGET_A(0)
		.OFFSET_UPPER = (0x0)
	mthd 0804 NV9097_SET_COLOR_TARGET_B(0)
		.OFFSET_LOWER = (0x3be0000)
	mthd 0808 NV9097_SET_COLOR_TARGET_WIDTH(0)
		.V = (0x52a)
	mthd 080c NV9097_SET_COLOR_TARGET_HEIGHT(0)
		.V = (0x2bc)
	mthd 0810 NV9097_SET_COLOR_TARGET_FORMAT(0)
		.V = A8B8G8R8
	mthd 0814 NV9097_SET_COLOR_TARGET_MEMORY(0)
		.BLOCK_WIDTH = ONE_GOB
		.BLOCK_HEIGHT = SIXTEEN_GOBS
		.BLOCK_DEPTH = ONE_GOB
		.LAYOUT = BLOCKLINEAR
		.THIRD_DIMENSION_CONTROL = THIRD_DIMENSION_DEFINES_ARRAY_SIZE
	mthd 0818 NV9097_SET_COLOR_TARGET_THIRD_DIMENSION(0)
		.V = (0x1)
	mthd 081c NV9097_SET_COLOR_TARGET_ARRAY_PITCH(0)
		.V = (0x0)
	mthd 0820 NV9097_SET_COLOR_TARGET_LAYER(0)
		.OFFSET = (0x0)

[0x00000023] HDR 200503f8 subch 0 NINC
	mthd 0fe0 NV9097_SET_ZT_A
		.OFFSET_UPPER = (0x0)
	mthd 0fe4 NV9097_SET_ZT_B
		.OFFSET_LOWER = (0x3fe0000)
	mthd 0fe8 NV9097_SET_ZT_FORMAT
		.V = S8Z24
	mthd 0fec NV9097_SET_ZT_BLOCK_SIZE
		.WIDTH = ONE_GOB
		.HEIGHT = SIXTEEN_GOBS
		.DEPTH = ONE_GOB
	mthd 0ff0 NV9097_SET_ZT_ARRAY_PITCH
		.V = (0x0)

[0x00000029] HDR 2001054e subch 0 NINC
	mthd 1538 NV9097_SET_ZT_SELECT
		.TARGET_COUNT = (0x1)

[0x0000002b] HDR 2003048a subch 0 NINC
	mthd 1228 NV9097_SET_ZT_SIZE_A
		.WIDTH = (0x52a)
	mthd 122c NV9097_SET_ZT_SIZE_B
		.HEIGHT = (0x2bc)
	mthd 1230 NV9097_SET_ZT_SIZE_C
		.THIRD_DIMENSION = (0x1)
		.CONTROL = ARRAY_SIZE_IS_ONE

[0x0000002f] HDR 200105e7 subch 0 NINC
	mthd 179c NV9097_SET_ZT_LAYER
		.OFFSET = (0x0)

[0x00000031] HDR 20010487 subch 0 NINC
	mthd 121c NV9097_SET_CT_SELECT
		.TARGET_COUNT = (0x1)
		.TARGET0 = (0x0)
		.TARGET1 = (0x1)
		.TARGET2 = (0x2)
		.TARGET3 = (0x3)
		.TARGET4 = (0x4)
		.TARGET5 = (0x5)
		.TARGET6 = (0x6)
		.TARGET7 = (0x7)

[0x00000033] HDR 80000574 subch 0 IMMD
	mthd 15d0 NV9097_SET_ANTI_ALIAS
		.SAMPLES = MODE_1X1

[0x00000034] HDR 80000044 subch 0 IMMD
	mthd 0110 NV9097_WAIT_FOR_IDLE
		.V = (0x0)

[0x00000035] HDR 800101d5 subch 0 IMMD
	mthd 0754 NV9097_SET_HYBRID_ANTI_ALIAS_CONTROL
		.PASSES = (0x1)
		.CENTROID = PER_FRAGMENT

[0x00000036] HDR 200308e0 subch 0 NINC
	mthd 2380 NV9097_SET_CONSTANT_BUFFER_SELECTOR_A
		.SIZE = (0x10000)
	mthd 2384 NV9097_SET_CONSTANT_BUFFER_SELECTOR_B
		.ADDRESS_UPPER = (0x0)
	mthd 2388 NV9097_SET_CONSTANT_BUFFER_SELECTOR_C
		.ADDRESS_LOWER = (0x360000)

[0x0000003a] HDR a00308e3 subch 0 1INC
	mthd 238c NV9097_LOAD_CONSTANT_BUFFER_OFFSET
		.V = (0x1a0)
	mthd 2390 NV9097_LOAD_CONSTANT_BUFFER(0)
		.V = (0x3f000000)
	mthd 2390 NV9097_LOAD_CONSTANT_BUFFER(0)
		.V = (0x3f000000)

[0x0000003e] HDR 20040360 subch 0 NINC
	mthd 0d80 NV9097_SET_COLOR_CLEAR_VALUE(0)
		.V = (0x3c008081)
	mthd 0d84 NV9097_SET_COLOR_CLEAR_VALUE(1)
		.V = (0x3d008081)
	mthd 0d88 NV9097_SET_COLOR_CLEAR_VALUE(2)
		.V = (0x3db8b8b9)
	mthd 0d8c NV9097_SET_COLOR_CLEAR_VALUE(3)
		.V = (0x3f800000)

[0x00000043] HDR 20010674 subch 0 NINC
	mthd 19d0 NV9097_CLEAR_SURFACE
		.Z_ENABLE = FALSE
		.STENCIL_ENABLE = FALSE
		.R_ENABLE = TRUE
		.G_ENABLE = TRUE
		.B_ENABLE = TRUE
		.A_ENABLE = TRUE
		.MRT_SELECT = (0x0)
		.RT_ARRAY_INDEX = (0x0)

nouveau: kernel rejected pushbuf: No such device
nouveau: ch7: krec 0 pushes 1 bufs 0 relocs 0

[1]  + segmentation fault (core dumped)  spotube

Operating System

linux debian 13

Spotube version

v5.0.0

Installation source

Website (spotube.krtirtho.dev)

Additional information

my linux info :

inxi -Fxz            
System:
  Kernel: 6.12.38+deb13-amd64 arch: x86_64 bits: 64 compiler: gcc v: 14.2.0
  Desktop: Hyprland v: 0.49.0-3-g25cf06f6 Distro: Debian GNU/Linux forky/sid
Machine:
  Type: Laptop System: Sony product: VPCEH3U1E v: C106YE1X
    serial: <superuser required>
  Mobo: Sony model: VAIO serial: <superuser required> BIOS: INSYDE
    v: R0200Z9 date: 04/19/2012
Battery:
  ID-1: BAT0 charge: 29.3 Wh (100.0%) condition: 29.3/45.0 Wh (65.1%)
    volts: 3.9 min: 10.8 model: SONY Corp. VGP-BPS26 status: full
CPU:
  Info: dual core model: Intel Core i5-2450M bits: 64 type: MT MCP
    arch: Sandy Bridge rev: 7 cache: L1: 128 KiB L2: 512 KiB L3: 3 MiB
  Speed (MHz): avg: 798 min/max: 800/3100 cores: 1: 798 2: 798 3: 798 4: 798
    bogomips: 19954
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GF119M [GeForce 410M] vendor: Sony driver: nouveau
    v: kernel arch: Fermi bus-ID: 01:00.0 temp: 69.0 C
  Device-2: Chicony Sony Visual Communication Camera driver: uvcvideo
    type: USB bus-ID: 2-1.2:3
  Display: wayland server: X.Org v: 24.1.6 with: Xwayland v: 24.1.6
    compositor: Hyprland v: 0.49.0-3-g25cf06f6 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: nouveau gpu: nouveau resolution:
    1: 1366x768~60Hz 2: 1360x768~60Hz
  API: EGL v: 1.5 drivers: nouveau,swrast platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 25.0.7-2 glx-v: 1.4
    direct-render: yes renderer: NVD9
  Info: Tools: api: eglinfo,glxinfo x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    vendor: Sony driver: snd_hda_intel v: kernel bus-ID: 00:1b.0
  Device-2: NVIDIA GF119 HDMI Audio vendor: Sony driver: snd_hda_intel
    v: kernel bus-ID: 01:00.1
  API: ALSA v: k6.12.38+deb13-amd64 status: kernel-api
  Server-1: PipeWire v: 1.4.7 status: off
  Server-2: PulseAudio v: 17.0 status: active
Network:
  Device-1: Qualcomm Atheros AR9285 Wireless Network Adapter vendor: Foxconn
    driver: ath9k v: kernel bus-ID: 07:00.0
  IF: wlp7s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Sony driver: r8169 v: kernel port: 2000 bus-ID: 13:00.0
  IF: enp19s0 state: down mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros AR3011 Bluetooth driver: btusb v: 0.8 type: USB
    bus-ID: 2-1.5:5
  Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 3.0
    lmp-v: 5
Drives:
  Local Storage: total: 223.57 GiB used: 112.2 GiB (50.2%)
  ID-1: /dev/sda vendor: Crucial model: CT240BX500SSD1 size: 223.57 GiB
Partition:
  ID-1: / size: 27.33 GiB used: 22.48 GiB (82.2%) fs: ext4 dev: /dev/sda1
  ID-2: /home size: 110.8 GiB used: 89.72 GiB (81.0%) fs: ext4
    dev: /dev/sda6
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 72.0 C mobo: N/A gpu: nouveau temp: 69.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB available: 15.61 GiB used: 6.09 GiB (39.0%)
  Processes: 219 Uptime: 1d 3h 23m Init: systemd
  Packages: 4304 Compilers: gcc: 14.3.0 Shell: Zsh v: 5.9 inxi: 3.3.38

i also have a core dump file, but it's too big to be uploaded on a github issue (4.1G, 73M compressed) but if you need it and know how i can give it to you (maybe by email or discord idk), let me know.

Self grab

  • [ ] I'm ready to work on this issue!

PurpleProg avatar Sep 19 '25 19:09 PurpleProg

i also should mention that i get a very anoying screen flickering, but as im using hyprland and nouveau for a old nvidia chip that issue is probably not from spotube, it's more likely that my system is causing it.

PurpleProg avatar Sep 19 '25 19:09 PurpleProg

Did it happen only once?

KRTirtho avatar Sep 20 '25 05:09 KRTirtho

Did it happen only once?

yes, but i barley use spotube on my PC (probably less than 10 hour of total use). i'll comment here if it appen again.

PurpleProg avatar Sep 23 '25 11:09 PurpleProg

i also should mention that i get a very anoying screen flickering, but as im using hyprland and nouveau for a old nvidia chip that issue is probably not from spotube, it's more likely that my system is causing it.

I also get this flickering on arch hyprland. It could either be a wayland issue or a because of my old gpu (Intel HD Graphics 4600).

nobschulth avatar Sep 25 '25 10:09 nobschulth