Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Blender crashes on startup
@ 2024-04-09  7:32 MechDR
  2024-04-09 19:43 ` oreo639
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: MechDR @ 2024-04-09  7:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]

New issue by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.25_1 x86_64 GenuineIntel notuptodate rrrmFFFFFFFFF

### Package(s) Affected

blender-4.0.2_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

Start up... or at least spit out something regarding the GPU not being compatible, because I have no idea if it is (AMD Radeon HD 4650).

But, I also tested it on 2 other PCs, both with older Intel onboard graphics (one has a 2nd gen i3, the other has a G41 GPU, Dual/Quad core era), it just crashes there as well

### Actual behaviour

Her is what `tmp\blender.crash.txt` holds.

````
# Blender 4.0.2, Unknown revision

# backtrace
blender(+0xf43dd3) [0x555c3770edd3]
blender(+0x862ea9) [0x555c3702dea9]
/usr/lib/libc.so.6(+0x3f8c0) [0x7fe78a3738c0]
blender(+0xf8a15c) [0x555c3775515c]
blender(+0xf8a1bd) [0x555c377551bd]
blender(+0xf53d04) [0x555c3771ed04]
blender(+0xf6998e) [0x555c3773498e]
blender(+0xf6f124) [0x555c3773a124]
blender(+0x8385e8) [0x555c370035e8]
/usr/lib/libc.so.6(+0x29c4c) [0x7fe78a35dc4c]
/usr/lib/libc.so.6(__libc_start_main+0x85) [0x7fe78a35dd05]
blender(+0x85e8b1) [0x555c370298b1]

# Python backtrace
````

### Steps to reproduce

Try running it on unsupported hardware (in a VM for example, with no GPU passthrough), because I think that is the actual problem, since no one has filed a bug report yet, which means for people with newer hardware and use it, it works just fine.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
@ 2024-04-09 19:43 ` oreo639
  2024-04-09 19:44 ` oreo639
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: oreo639 @ 2024-04-09 19:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2045935105

Comment:
Can you share the backtrace with debug symbols? (Add the debug repo and install blender-dbg)

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
  2024-04-09 19:43 ` oreo639
@ 2024-04-09 19:44 ` oreo639
  2024-04-10 19:01 ` MechDR
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: oreo639 @ 2024-04-09 19:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 357 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2045935105

Comment:
Can you share the backtrace with debug symbols? (Add the debug repo and install blender-dbg)

You might need to use `gdb`, in which case do `gdb blender`, then do `run` and when the application crashes, do `bt`.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
  2024-04-09 19:43 ` oreo639
  2024-04-09 19:44 ` oreo639
@ 2024-04-10 19:01 ` MechDR
  2024-04-13 22:48 ` MechDR
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-04-10 19:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2048240387

Comment:
@oreo639 Mhm, OK, I'll try.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (2 preceding siblings ...)
  2024-04-10 19:01 ` MechDR
@ 2024-04-13 22:48 ` MechDR
  2024-04-15  2:20 ` oreo639
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-04-13 22:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2053784642

Comment:
@oreo639 OK, here's what it spew.

````
#0  wm_window_set_drawable (activate=false, win=0x0, wm=0x7fffe4bc6c08) at ../source/blender/windowmanager/intern/wm_window.cc:1235
#1  wm_window_ghostwindow_add (title=0x555558d9b801 "Blender", is_dialog=<optimized out>, win=0x7fffe43acd08, wm=0x7fffe4bc6c08)
    at ../source/blender/windowmanager/intern/wm_window.cc:785
#2  wm_window_ghostwindow_ensure (wm=0x7fffe4bc6c08, win=0x7fffe43acd08, is_dialog=<optimized out>)
    at ../source/blender/windowmanager/intern/wm_window.cc:817
#3  0x00005555564de1bd in wm_window_ghostwindows_ensure (wm=wm@entry=0x7fffe4bc6c08)
    at ../source/blender/windowmanager/intern/wm_window.cc:874
#4  0x00005555564a7d04 in WM_check (C=C@entry=0x7fffe6398b88) at ../source/blender/windowmanager/intern/wm.cc:483
#5  0x00005555564bd98e in wm_homefile_read_ex (C=C@entry=0x7fffe6398b88, params_homefile=params_homefile@entry=0x7fffffffe6b0, 
    reports=reports@entry=0x0, r_params_file_read_post=r_params_file_read_post@entry=0x7fffffffe6a8)
    at ../source/blender/windowmanager/intern/wm_files.cc:1476
#6  0x00005555564c3124 in WM_init (C=C@entry=0x7fffe6398b88, argc=argc@entry=1, argv=argv@entry=0x7fffffffe888)
    at ../source/blender/windowmanager/intern/wm_init_exit.cc:302
#7  0x0000555555d8c5e8 in main (argc=1, argv=0x7fffffffe888) at ../source/creator/creator.cc:537
````

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (3 preceding siblings ...)
  2024-04-13 22:48 ` MechDR
@ 2024-04-15  2:20 ` oreo639
  2024-04-15  2:21 ` oreo639
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: oreo639 @ 2024-04-15  2:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2054394443

Comment:
The crash is a nullptr dereference here: https://github.com/blender/blender/blob/v4.0.2/source/blender/windowmanager/intern/wm_window.cc#L1235

What desktop environment are you using? Doe this happen with the Blender flatpak?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (4 preceding siblings ...)
  2024-04-15  2:20 ` oreo639
@ 2024-04-15  2:21 ` oreo639
  2024-04-16 15:54 ` MechDR
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: oreo639 @ 2024-04-15  2:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 372 bytes --]

New comment by oreo639 on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2054394443

Comment:
The crash is a nullptr dereference here: https://github.com/blender/blender/blob/v4.0.2/source/blender/windowmanager/intern/wm_window.cc#L1235

What desktop environment are you using? Does this happen with the Blender flatpak?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (5 preceding siblings ...)
  2024-04-15  2:21 ` oreo639
@ 2024-04-16 15:54 ` MechDR
  2024-04-16 15:55 ` MechDR
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-04-16 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2059424318

Comment:
@oreo639 xfce4. No, I haven't tried the flatpack, but I will.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (6 preceding siblings ...)
  2024-04-16 15:54 ` MechDR
@ 2024-04-16 15:55 ` MechDR
  2024-04-16 16:06 ` MechDR
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-04-16 15:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 203 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2059424318

Comment:
@oreo639 xfce4. No, I haven't tried the flatpak, but I will.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (7 preceding siblings ...)
  2024-04-16 15:55 ` MechDR
@ 2024-04-16 16:06 ` MechDR
  2024-05-07  7:20 ` MechDR
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-04-16 16:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 766 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2059447434

Comment:
Yep, it crashes again with the same crash report.

````
# Blender 4.0.2, Unknown revision

# backtrace
blender(+0xf43dd3) [0x55bff141fdd3]
blender(+0x862ea9) [0x55bff0d3eea9]
/usr/lib/libc.so.6(+0x3f8c0) [0x7f03f56558c0]
blender(+0xf8a15c) [0x55bff146615c]
blender(+0xf8a1bd) [0x55bff14661bd]
blender(+0xf53d04) [0x55bff142fd04]
blender(+0xf6998e) [0x55bff144598e]
blender(+0xf6f124) [0x55bff144b124]
blender(+0x8385e8) [0x55bff0d145e8]
/usr/lib/libc.so.6(+0x29c4c) [0x7f03f563fc4c]
/usr/lib/libc.so.6(__libc_start_main+0x85) [0x7f03f563fd05]
blender(+0x85e8b1) [0x55bff0d3a8b1]

# Python backtrace
````

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (8 preceding siblings ...)
  2024-04-16 16:06 ` MechDR
@ 2024-05-07  7:20 ` MechDR
  2024-05-07  9:30 ` naoNao89
  2024-05-14  7:51 ` MechDR
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-05-07  7:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2097618164

Comment:
This still isn't resolved...

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (9 preceding siblings ...)
  2024-05-07  7:20 ` MechDR
@ 2024-05-07  9:30 ` naoNao89
  2024-05-14  7:51 ` MechDR
  11 siblings, 0 replies; 13+ messages in thread
From: naoNao89 @ 2024-05-07  9:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

New comment by naoNao89 on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2097861452

Comment:
@MechDR Try running Blender with different command-line options or environment variables that may help diagnose the issue
```
 blender --debug-all or MESA_DEBUG=1 blender
```

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: Blender crashes on startup
  2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
                   ` (10 preceding siblings ...)
  2024-05-07  9:30 ` naoNao89
@ 2024-05-14  7:51 ` MechDR
  11 siblings, 0 replies; 13+ messages in thread
From: MechDR @ 2024-05-14  7:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3828 bytes --]

New comment by MechDR on void-packages repository

https://github.com/void-linux/void-packages/issues/49763#issuecomment-2109514269

Comment:
OK, here is what `blender --debug-all` says.

````
Switching to fully guarded memory allocator.
graph_id_tag_update: id=SCScene flags=BASE_FLAGS source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=TRANSFORM, GEOMETRY, COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GROVERRIDE_RESYNC_LEFTOVERS flags=COPY_ON_WRITE source=USER_EDIT
DEG_relations_tag_update: Tagging relations for update.
DEG_relations_tag_update: Tagging relations for update.
DEG_relations_tag_update: Tagging relations for update.
graph_id_tag_update: id=GRScene Collection flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=SCScene flags=COPY_ON_WRITE source=USER_EDIT
graph_id_tag_update: id=GRCollection flags=COPY_ON_WRITE source=USER_EDIT
Received X11 Error:
	error code:   170
	request code: 153
	minor code:   0
	error text:   GLXBadFBConfig
Received X11 Error:
	error code:   170
	request code: 153
	minor code:   0
	error text:   GLXBadFBConfig
Received X11 Error:
	error code:   170
	request code: 153
	minor code:   0
	error text:   GLXBadFBConfig
Received X11 Error:
	error code:   170
	request code: 153
	minor code:   0
	error text:   GLXBadFBConfig
Writing: /tmp/blender.crash.txt
fish: Job 1, 'blender --debug-all' terminated by signal SIGSEGV (Address boundary error)
````
As for `MESA_DEBUG=1 blender`, it basically does the same thing as just running `blender`, crashes and writes to `blender.crash.txt`.

````
Writing: /tmp/blender.crash.txt
fish: Job 1, 'MESA_DEBUG=1 blender' terminated by signal SIGSEGV (Address boundary error)
````

And there is nothing new in `blender.crash.txt`, it's the same thing as if you just run `blender`.

````
# Blender 4.0.2, Unknown revision

# backtrace
blender(+0xf43dd3) [0x5568b1097dd3]
blender(+0x862ea9) [0x5568b09b6ea9]
/usr/lib/libc.so.6(+0x3f8c0) [0x7f90396558c0]
blender(+0xf8a15c) [0x5568b10de15c]
blender(+0xf8a1bd) [0x5568b10de1bd]
blender(+0xf53d04) [0x5568b10a7d04]
blender(+0xf6998e) [0x5568b10bd98e]
blender(+0xf6f124) [0x5568b10c3124]
blender(+0x8385e8) [0x5568b098c5e8]
/usr/lib/libc.so.6(+0x29c4c) [0x7f903963fc4c]
/usr/lib/libc.so.6(__libc_start_main+0x85) [0x7f903963fd05]
blender(+0x85e8b1) [0x5568b09b28b1]

# Python backtrace
````

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-14  7:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-09  7:32 [ISSUE] Blender crashes on startup MechDR
2024-04-09 19:43 ` oreo639
2024-04-09 19:44 ` oreo639
2024-04-10 19:01 ` MechDR
2024-04-13 22:48 ` MechDR
2024-04-15  2:20 ` oreo639
2024-04-15  2:21 ` oreo639
2024-04-16 15:54 ` MechDR
2024-04-16 15:55 ` MechDR
2024-04-16 16:06 ` MechDR
2024-05-07  7:20 ` MechDR
2024-05-07  9:30 ` naoNao89
2024-05-14  7:51 ` MechDR

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).