FreeBSD Bugzilla – Attachment 170497 Details for
Bug 205903
x11/nvidia-driver-340: Repeating crash with nvidia-driver: "fault on nofault entry"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to x11/nvidia-driver to CAUSE the panic.
crash-patch-bug-195097 (text/plain), 634 bytes, created by
Anonymized Account
on 2016-05-20 07:05:04 UTC
(
hide
)
Description:
Patch to x11/nvidia-driver to CAUSE the panic.
Filename:
MIME Type:
Creator:
Anonymized Account
Created:
2016-05-20 07:05:04 UTC
Size:
634 bytes
patch
obsolete
>--- src/nvidia_subr.c.orig 2015-11-09 11:14:41.000000000 +0500 >+++ src/nvidia_subr.c 2016-05-20 11:23:23.950632000 +0500 >@@ -489,6 +489,8 @@ > nv_stack_t *sp; > > sp = sc->api_sp; >+ /* /!\ CAUSE CRASH /!\ */ >+ sp = NULL; > rm_free_unused_clients(sp, nv, filep); > > if (--sc->refcnt == 0) { >@@ -594,6 +598,10 @@ > > sc = nv->os_state; > sp = sc->api_sp; >+ /* If nvidia_open_dev failed and we're called from nvidia_dev_dtor, we >+ * already released api_sp. */ >+ if (sp == NULL) >+ return 0; > > NV_PCI_CHECK_CONFIG_SPACE(sp, nv, TRUE, TRUE, TRUE); > rm_free_unused_clients(sp, nv, filep);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205903
:
165080
|
165081
|
170497
|
170498
|
170499
|
170501
|
177275
|
185350