Trust No Program
This topic is locked: you cannot edit posts or make replies.
BSOD in 3.50 64bit on Win7 in SbieDrv (with mem dump)
nyuriks
Guest

Reply with quote
Kept getting blue screens once in a while with the previous Sandboxie version, updated to the latest, and just got my first crash. Did not actually use Sandboxie for a very long time, it was sitting in the background. Not even sure why it was active? Does the "Trust No Program" apply to Sandboxie itself? Smile

Sandboxie 3.50 64bit on Windows 7 64bit.

Ran it through the WinDbg, here's the results:



MODULE_NAME: SbieDrv

FAULTING_MODULE: fffff80002a59000 nt

DEBUG_FLR_IMAGE_TIMESTAMP: 4cbb7bcf

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

FAULTING_IP:
nt!strnicmp+32e4
fffff800`02a5e4e0 8a01 mov al,byte ptr [rcx]

CONTEXT: fffff8800d220640 -- (.cxr 0xfffff8800d220640)
rax=000007ffffff0000 rbx=fffff8800d221130 rcx=000007ffffff0000
rdx=0000000000000000 rsi=0000000000000004 rdi=0000000000000000
rip=fffff80002a5e4e0 rsp=fffff8800d221010 rbp=000000007540ab1c
r8=0000000000000000 r9=00000000754434f8 r10=fffff8800d221b68
r11=00000000753f0000 r12=000000007543baa4 r13=fffff8800d221100
r14=fffff8800bf8fcd0 r15=0000000075443400
iopl=0 nv up ei ng nz na pe nc
cs=0010 ss=0018 ds=002b es=002b fs=0053 gs=002b efl=00010282
nt!strnicmp+0x32e4:
fffff800`02a5e4e0 8a01 mov al,byte ptr [rcx] ds:002b:000007ff`ffff0000=??
Resetting default scope

DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT

BUGCHECK_STR: 0x3B

CURRENT_IRQL: 0

LAST_CONTROL_TRANSFER: from fffff80002d966ed to fffff80002a5e4e0

STACK_TEXT:
fffff880`0d221010 fffff800`02d966ed : fffff880`00000000 00000000`753f0000 fffff880`00000000 fffff880`00000000 : nt!strnicmp+0x32e4
fffff880`0d2210a0 fffff800`02aa6f01 : fffff900`00000000 fffff880`0bf8fe30 fffff900`00000001 fffff880`0d222000 : nt!NtSetInformationProcess+0x441d
fffff880`0d221640 fffff800`02aa60c7 : 00000000`00000000 00000000`00000000 fffff900`c0580bf8 fffff960`00151332 : nt!ExfTryToWakePushLock+0x879
fffff880`0d221750 fffff800`02ad0b9d : fffffa80`0e16e360 00000000`00000000 00000000`00000000 fffffa80`0e16e360 : nt!KeStackAttachProcess+0x1187
fffff880`0d2217d0 fffff800`02ad2cff : fffffa80`0e16e360 fffff880`03171180 fffffa80`00000000 00000000`00000000 : nt!KeAcquireSpinLockAtDpcLevel+0x9dd
fffff880`0d221860 fffff800`02aa80e4 : fffff900`c2751100 fffff960`00000005 fffffa80`09d43b00 00000000`00000000 : nt!KeWaitForMutexObject+0x19f
fffff880`0d221900 fffff800`02aa6101 : fffffa80`0e16e360 fffffa80`0e16e3b0 00000000`00000000 00000000`00000000 : nt!PsIsSystemProcess+0x94
fffff880`0d221940 fffff800`02aa6487 : fffffa80`0e16e360 00000000`00000000 fffff800`02aa8070 00000000`00000000 : nt!KeStackAttachProcess+0x11c1
fffff880`0d2219c0 fffff880`0a713fbe : fffffa80`0e16e360 fffff880`0a705053 00000000`7540ab1c fffff800`02ac8993 : nt!ObReferenceObjectByPointerWithTag+0x233
fffff880`0d221b50 fffff880`0a705053 : 00000000`7540ab1c fffff800`02ac8993 fffffa80`0e16e360 00000000`000de278 : SbieDrv+0xffbe
fffff880`0d221b60 00000000`7540ab1c : fffff800`02ac8993 fffffa80`0e16e360 00000000`000de278 fffff880`0d221b88 : SbieDrv+0x1053
fffff880`0d221b68 fffff800`02ac8993 : fffffa80`0e16e360 00000000`000de278 fffff880`0d221b88 00000000`00fb09b8 : 0x7540ab1c
fffff880`0d221b70 00000000`7542fcba : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KeSynchronizeExecution+0x3a43
00000000`000de208 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x7542fcba


FOLLOWUP_IP:
SbieDrv+ffbe
fffff880`0a713fbe 55 push rbp

SYMBOL_STACK_INDEX: 9

SYMBOL_NAME: SbieDrv+ffbe

FOLLOWUP_NAME: MachineOwner

IMAGE_NAME: SbieDrv.sys

STACK_COMMAND: .cxr 0xfffff8800d220640 ; kb

BUCKET_ID: WRONG_SYMBOLS

Followup: MachineOwner
---------
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
Can you upload the dump file somewhere? I may be able to identify the problem by studying this post but if I could use the dump file directly it would certainly help.

_________________
tzuk
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
To configure Windows to issue minidumps instead of full dumps, please see this

http://blog.nirsoft.net/2010/07/27/how-to-configure-windows-to-create-minidump-files-on-bsod/
View user's profileSend private message
yurik


Joined: 10 Nov 2010
Posts: 4
Reply with quote
The file is almost 900MB, plus it contains tons of my private information.
I have reconfigured Windows to create minidumps instead of kernel dumps on BSOD, so the next time it happens I will be able to send it to you.
Also, I have windows debugging tools, so if you want me to do anything with the kernel dump file, I would love to help.

Thanks!
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
Thanks. I'll be looking forward to the minidump. I did look briefly at the dump analysis you posted, but something is strange about it. It's as if it is missing a bunch of stack frames in the STACK_TEXT section. I'm not really sure that I can explain it. I hope the minidump can help here, and while you're experimenting, please upgrade to version 3.51.01, so your minidump will be issued against an up-to-date version of Sandboxie.
View user's profileSend private message
yurik


Joined: 10 Nov 2010
Posts: 4
Reply with quote
Could it be that not all symbols are loaded? Please send me the pdb file so i can get a better dump text. Also, the download page only lists the 3.50 (oct 18th) version, not 3.51.
View user's profileSend private message
soccerfan


Joined: 25 Sep 2007
Posts: 421
Reply with quote
yurik wrote:
...Also, the download page only lists the 3.50 (oct 18th) version, not 3.51.

Get it here: http://sandboxie.com/phpbb/viewtopic.php?t=9320

_________________
soccerfan
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
yurik wrote:
Could it be that not all symbols are loaded? Please send me the pdb file so i can get a better dump text. Also, the download page only lists the 3.50 (oct 18th) version, not 3.51.


I'd rather not share the PDB files, and instead get the minidump from you.

As a side note, I don't think PDBs are as important for constructing stack backtrace on 64-bit Windows as they are on 32-bit Windows. I believe they designed stack frames much more strictly in 64-bit, to solve the mess that developed with 32-bit code. Not sure though, I could be wrong.
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
I got your minidump, thanks. It still looks strange. I know the Sandboxie driver is mentioned in the stack trace but it seems like an APC interrupt has taken control away from Sandboxie code, and during processing of that APC, that's when the crash occurrs.

Since you started seeing these BSODs, did you at any time uninstall Sandboxie, to see if you still get BSODs without Sandboxie installed?
View user's profileSend private message
yurik


Joined: 10 Nov 2010
Posts: 4
Reply with quote
No, haven't, but all crash dumps point to sandboxie as a culprit Smile.

I will uninstall it and let you know. Usually it happens about once or twice a week, so will know in a week or so.
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
I realize Sandboxie is named in the stack trace but again it's not clear:

Code:
STACK_TEXT: 
nt! ?? ::FNODOBFM::`string'+0xc186
nt!PspGetSetContextInternal+0x481
nt!PspGetSetContextSpecialApc+0xa1
nt!KiDeliverApc+0x1d7
nt!KiCommitThreadWait+0x3dd
nt!KeWaitForSingleObject+0x19f
nt!KiSuspendThread+0x74
nt!KiDeliverApc+0x211
nt!KiApcInterrupt+0xd7
SbieDrv!Entry2+0x5
SbieDrv!Entry1+0x23
74faab1c
nt!KiSystemServiceCopyEnd+0x13
0x74fcfcba


As you can see, SbieDrv got to execute just 0x20-0x30 bytes in a couple of places (Entry1 and Entry2) and then there was delivery of an APC and control went somewhere else, unrelated to Sandboxie.

Of course if the crashes continue even with Sandboxie out of the way, I'm not sure how you would be able to identify the cause of the crash, considering it seems to actually occur in the Windows kernel, at some undocumented location.
View user's profileSend private message
yurik


Joined: 10 Nov 2010
Posts: 4
Reply with quote
It is strange. I sent you a few more minidumps from my previous crashes, could you take a look if they occur at the same place? Could it be that sandboxie is putting kernel into some unstable mode so that an APC interrupt causes major problem? Or do you think the stack is corrupted somehow?
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
These additional three minidumps look like they have nothing to do with Sandboxie, but exactly like the BSOD reported in this discussion here --

http://www.minecraftforum.net/viewtopic.php?f=17&t=48721

They match on the bugcheck - SYSTEM_SERVICE_EXCEPTION (3b)
they match on the faulting IP - nt! ?? ::FNODOBFM::`string'+c186
and they even match on the process name - devenv.exe.

So I suggest you take the advice from that other discussion and "[install] the recommended graphic driver version instead of NVidia's lastest". Unfortunately it doesn't say what exactly is that "recommended" graphic driver.
View user's profileSend private message
Same...
ub3rst4r


Joined: 27 Sep 2010
Posts: 1
Reply with quote
Same thing happens to me on Sandboxie v3.48 with Windows 7 (64bit). The stack trace is a little difference though and it might have something to do with devenv.exe (MS Visual Studio 2010) ??

Quote:

*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************

KMODE_EXCEPTION_NOT_HANDLED (1e)
This is a very common bugcheck. Usually the exception address pinpoints
the driver/function that caused the problem. Always note this address
as well as the link date of the driver/image that contains this address.
Arguments:
Arg1: ffffffffc0000005, The exception code that was not handled
Arg2: fffff800030514e0, The address that the exception occurred at
Arg3: 0000000000000000, Parameter 0 of the exception
Arg4: 000007ffffff0000, Parameter 1 of the exception

Debugging Details:
------------------


EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.

FAULTING_IP:
nt! ?? ::FNODOBFM::`string'+c186
fffff800`030514e0 8a01 mov al,byte ptr [rcx]

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: 000007ffffff0000

READ_ADDRESS: GetPointerFromAddress: unable to read from fffff800032f40e0
000007ffffff0000

CUSTOMER_CRASH_COUNT: 1

DEFAULT_BUCKET_ID: VISTA_DRIVER_FAULT

BUGCHECK_STR: 0x1E

PROCESS_NAME: devenv.exe

CURRENT_IRQL: 1

EXCEPTION_RECORD: fffff8800710fdc8 -- (.exr 0xfffff8800710fdc8)
ExceptionAddress: fffff800030514e0 (nt! ?? ::FNODOBFM::`string'+0x000000000000c186)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 000007ffffff0000
Attempt to read from address 000007ffffff0000

TRAP_FRAME: fffff8800710fe70 -- (.trap 0xfffff8800710fe70)
NOTE: The trap frame does not contain all registers.
Some register values may be zeroed or incorrect.
rax=000007ffffff0000 rbx=0000000000000000 rcx=000007ffffff0000
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000000000
rip=fffff800030514e0 rsp=fffff88007110000 rbp=000000007464ac00
r8=0000000000000000 r9=0000000074683528 r10=fffff88007110ba8
r11=0000000074630000 r12=0000000000000000 r13=0000000000000000
r14=0000000000000000 r15=0000000000000000
iopl=0 nv up ei ng nz na pe nc
nt! ?? ::FNODOBFM::`string'+0xc186:
fffff800`030514e0 8a01 mov al,byte ptr [rcx] ds:000007ff`ffff0000=??
Resetting default scope

LAST_CONTROL_TRANSFER: from fffff800030f6a39 to fffff800030bc740

STACK_TEXT:
fffff880`0710f5f8 fffff800`030f6a39 : 00000000`0000001e ffffffff`c0000005 fffff800`030514e0 00000000`00000000 : nt!KeBugCheckEx
fffff880`0710f600 fffff800`030bbd82 : fffff880`0710fdc8 fffff880`07110120 fffff880`0710fe70 00000000`00000001 : nt!KiDispatchException+0x1b9
fffff880`0710fc90 fffff800`030ba8fa : 00000000`00000000 fffff880`07110120 fffff880`0710ff00 fffff800`030ba93d : nt!KiExceptionDispatch+0xc2
fffff880`0710fe70 fffff800`030514e0 : 00000000`00004204 00000000`00010216 fffff880`07110020 00000000`00000018 : nt!KiPageFault+0x23a
fffff880`07110000 fffff800`033896ed : fffff880`00000000 00000000`74630000 fffff880`00000000 fffff880`00000000 : nt! ?? ::FNODOBFM::`string'+0xc186
fffff880`07110090 fffff800`03099f01 : 00000000`00000000 fffff880`06c7ee70 ffffffff`00000000 fffff880`07111000 : nt!PspGetSetContextInternal+0x481
fffff880`07110630 fffff800`030990c7 : 00000000`00000000 00000000`00000000 fffffa80`000000d5 fffff880`07110db0 : nt!PspGetSetContextSpecialApc+0xa1
fffff880`07110740 fffff800`030c3b9d : fffffa80`07b53b60 00000000`00000000 00000000`00000000 fffffa80`07b53b60 : nt!KiDeliverApc+0x1d7
fffff880`071107c0 fffff800`030c5cff : 00000000`00000058 fffff880`07110940 fffff880`00000000 fffff800`033aee96 : nt!KiCommitThreadWait+0x3dd
fffff880`07110850 fffff800`0309b0e4 : 00000000`00000000 fffff880`00000005 fffff880`07110b00 fffff880`07110a00 : nt!KeWaitForSingleObject+0x19f
fffff880`071108f0 fffff800`03099101 : fffffa80`07b53b60 fffffa80`07b53bb0 fffff880`07110bc8 00000000`00000000 : nt!KiSuspendThread+0x74
fffff880`07110930 fffff800`03099487 : 00000000`00000001 00000000`00000000 fffff800`0309b070 00000000`00000000 : nt!KiDeliverApc+0x211
fffff880`071109b0 fffff800`030d4570 : fffff880`04d0e7f1 fffff880`07110ca0 fffff800`030c880a 00000000`0a2fe4f0 : nt!KiApcInterrupt+0xd7
fffff880`07110b48 fffff880`04d0e7f1 : fffff880`07110ca0 fffff800`030c880a 00000000`0a2fe4f0 00000000`74622450 : nt!ExGetPreviousMode
fffff880`07110b50 fffff880`07110ca0 : fffff800`030c880a 00000000`0a2fe4f0 00000000`74622450 00000000`7464af68 : SbieDrv+0xf7f1
fffff880`07110b58 fffff800`030c880a : 00000000`0a2fe4f0 00000000`74622450 00000000`7464af68 00000000`00000020 : 0xfffff880`07110ca0
fffff880`07110b60 fffff880`07110ca0 : fffffa80`07b53b60 fffff880`04d00053 00000000`7464ac00 00000000`fff95000 : nt!ExReleaseResourceAndLeavePriorityRegion+0x12
fffff880`07110b90 fffffa80`07b53b60 : fffff880`04d00053 00000000`7464ac00 00000000`fff95000 fffff880`07110ca0 : 0xfffff880`07110ca0
fffff880`07110b98 fffff880`04d00053 : 00000000`7464ac00 00000000`fff95000 fffff880`07110ca0 fffff800`030c880a : 0xfffffa80`07b53b60
fffff880`07110ba0 00000000`7464ac00 : 00000000`fff95000 fffff880`07110ca0 fffff800`030c880a 00000000`00000003 : SbieDrv+0x1053
fffff880`07110ba8 00000000`fff95000 : fffff880`07110ca0 fffff800`030c880a 00000000`00000003 00000000`006b07e0 : 0x7464ac00
fffff880`07110bb0 fffff880`07110ca0 : fffff800`030c880a 00000000`00000003 00000000`006b07e0 00000000`0000c271 : 0xfff95000
fffff880`07110bb8 fffff800`030c880a : 00000000`00000003 00000000`006b07e0 00000000`0000c271 00000000`00000000 : 0xfffff880`07110ca0
fffff880`07110bc0 fffff880`03aa3132 : fffffa80`07b53b60 0000013b`0cac02fe 00000000`0a2fee60 00000000`0a2ffd20 : nt!ExReleaseResourceAndLeavePriorityRegion+0x12
fffff880`07110bf0 fffffa80`07b53b60 : 0000013b`0cac02fe 00000000`0a2fee60 00000000`0a2ffd20 fffff800`030c8b25 : 0xfffff880`03aa3132
fffff880`07110bf8 0000013b`0cac02fe : 00000000`0a2fee60 00000000`0a2ffd20 fffff800`030c8b25 fffff800`030bb993 : 0xfffffa80`07b53b60
fffff880`07110c00 00000000`0a2fee60 : 00000000`0a2ffd20 fffff800`030c8b25 fffff800`030bb993 00000000`00000000 : 0x13b`0cac02fe
fffff880`07110c08 00000000`0a2ffd20 : fffff800`030c8b25 fffff800`030bb993 00000000`00000000 fffff880`07110ca0 : 0xa2fee60
fffff880`07110c10 fffff800`030c8b25 : fffff800`030bb993 00000000`00000000 fffff880`07110ca0 00000000`0384ffb4 : 0xa2ffd20
fffff880`07110c18 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiIpiInterrupt+0x135


STACK_COMMAND: kb

FOLLOWUP_IP:
SbieDrv+f7f1
fffff880`04d0e7f1 ?? ???

SYMBOL_STACK_INDEX: e

SYMBOL_NAME: SbieDrv+f7f1

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: SbieDrv

IMAGE_NAME: SbieDrv.sys

DEBUG_FLR_IMAGE_TIMESTAMP: 4c5fd243

FAILURE_BUCKET_ID: X64_0x1E_SbieDrv+f7f1

BUCKET_ID: X64_0x1E_SbieDrv+f7f1

Followup: MachineOwner



Minidump: http://www.mediafire.com/?9638t94wel6iimq

Thanks!
View user's profileSend private message
tzuk


Joined: 22 Jun 2004
Posts: 15008
Reply with quote
As I said in my earlier comment in this topic, I don't believe Sandboxie is causing this problem.
View user's profileSend private message
BSOD in 3.50 64bit on Win7 in SbieDrv (with mem dump)
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 2  

Use the RSS feed to watch this topic for replies
  
  
 This topic is locked: you cannot edit posts or make replies.  

Sandboxie is Copyright © 2004-2012 by Sandboxie Holdings LLC.  All rights reserved.
Sandboxie.com | Contact Author
This site has been viewed 208,703,273 times since June 2004