Windows error 0x00000038, 56

Detailed Error Information

TOO_MANY_CMDS[1]

MessageThe network BIOS command limit has been reached.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070038.

SERIAL_DRIVER_INTERNAL[2]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x38: SERIAL_DRIVER_INTERNAL.

HRESULT analysis[3]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[3][1]
DescriptionThe default facility code.[3][1]
Error Code56 (0x0038)

Questions

5votes
1answer

"Anomaly" in signed integer in C

I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
c
optimization
integer
arm
bit-manipulation
4votes
0answers

How to debug with tiered compilation enabled?

I want to attach to java process with gdb with tiered compilation enabled. To attach at the specific instruction number by address I use print compilation as follows: java -XX:-TieredCompilation -XX:+UnlockDiagnosticVMOptions -XX:CompileCommand=print,Main.m Main It prints something like this: CompilerOracle: print Main.m Java HotSpot(TM) 64-Bit Server VM warning: printing of assembly [...] read more
java
debugging
jvm
jit
4votes
1answer

How can I make my Java-generated zip file identical to a WinZip-generated one

I have a class that is zipping a directory's contents into a zip file. The code I'm using is below. The problem I'm having is that the zip file generated by me cannot be read by the application I'm loading it into. However, if I unzip the zip file that's [...] read more
java
zip
3votes
1answer

Change display format of DirectX "Object Table"

While debugging with VS 2012 Graphic's Debugger, I want to look at an index buffer, but the format that is showing it in is as float. This means the numbers are different than they would be with an int or short format. Does somebody know how to change this? Here [...] read more
visual-studio-2012
hlsl
directx-11
3votes
2answers

Please help correct this bug: reading integers line by line from a file using fscanf in c

I tried using this code: int index = 0; int value; int IntegerArray[MAXARRAYSIZE]; while(fscanf(fp, "%d", &value) == 1){ IntegerArray[index++] = value; } but I received this error: > Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_PROTECTION_FAILURE at address: 0x00000038 0x98a7c1ea in __svfscanf_l () fp is of type FILE [...] read more
c
arrays
scanf
2votes
0answers

How can I use LD to place ARM reset vectors in a program segment

I have an ARM A5 Microprocessor with 2 major segments of memory. When it boots up, a hardware bootloader (see page 64) loads a 64k software bootloader that I wrote into sram. The software bootloader then reads an .elf file from a flash memory chip and loads it into ddram. [...] read more
c
linker
arm
linker-scripts
2votes
0answers

Protobuf-net serializer used in Unity gives Invalid IL code IL_0035: call 0x06000001

Using Unity 5.0.1f1, protobuf-net r668. I've set up a protobuf serializer dll using Visual Studio 2013, set to framework "Unity .Net 3.5 Subset Base Class Libraries" (I've also tried .Net 3.5 with same result). I have 4 parent data types to serialize: two rather simple ones, and two a tad [...] read more
c#
unity3d
protobuf-net
2votes
1answer

Using sed and awk together to create replacement maps

I'm attempting to reverse engineer some software to gain a better understanding the lower-level workings of the OS. I want to replace the raw address dumps from objdump -d with the corresponding values from objdump -t, something that even the -Dslx option seems to miss. the output from objdump -t [...] read more
bash
shell
sed
awk
objdump
2votes
6answers

a C program crashes, using a double-type variable length array

I am reading C Primer Plus these days and here is the code I wrote for the programming practice No.4 in Chapter 10, finding the index of the largest number in a double-typed array. I used variable length array in order to manually specify the array size: #include <stdio.h> int [...] read more
c
arrays
floating-point
double
variable-length
1vote
1answer

Is it legal to have statically-allocated pure-virtual-parent-class references to statically-allocated child class objects?

UPDATE: I am not asking people to try this out & see if the code works for them. I am asking whether the code pattern is legal C++, regardless of whether it works for you. I am investigating what I believe is a bug in the IAR C++ compiler for [...] read more
c++
c++03
1vote
0answers

C - Get File Bytes as Unsigned Int

I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
c
1vote
2answers

Memory leak due to marshalling managed delegate?

I seem to be experiencing a memory leak in some code that's been in production for a while now (I see the Process\Private Bytes counter rising over time in PerfMon for my process). Note the code works without issue other than the leaking. The code that seems to be responsible [...] read more
c#
c++
1vote
0answers

IIS - w3wp.exe crashes on loading the web service

I have a simple web service which loads and OCX. On calling a method of this OCX, which essentially makes a connection with remote server causing w3wp.exe to crash. I have no clue why this happens. In my assumption this could be a security issue because when I run the [...] read more
iis
w3wp
0votes
0answers

Hard drive slow down suddenly

My hard drive has become very very slow and I don't know why. You can see the performance here: sudo hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: read(2097152) returned 28672 bytes How can I diagnostic my Hard Drive and fix it? I don't lose any data. The Hard Drive [...] read more
hard-drive
performance
speed
0votes
0answers

Arduino Yun Mini Bricked linux (kernel panic) SQUASHFS ERROR, Reflashing with serial YMODEM or Kermit, O WIFI, SD card, Eth, or USB

INTRODUCTION I am actually newbie to this advanced perspective of linux routers based systems as openWRT and i faced a problem with my Arduino Yun Mini board which found to be operated with this firmware for linux interfacing and WiFi module, So: THE PROBLEM: i tried to upgrade the system [...] read more
arduino
openwrt
u-boot
squashfs
kermit
0votes
0answers

How to implement poll function into Linux kernel module?

I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
c
linux-kernel
linux-device-driver
polling
gpio
0votes
1answer

Z3 Equation Solver - Bitmask Operation

After reverse engineering a program, I found the constraints. I have to find two unsigned numbers such that: x + y = 0xC0ED91BD and x * y = Z In the original program, the multiplication of the numbers is performed using imul instruction. Z should be such that when only [...] read more
python
z3
z3py
0votes
0answers

Error Messages when including mongodb in c++ project

I've followed the steps to include mongoDB in my c++ project described in this questions. However, if I want to debug it, it autmatically stops because of an unhandled exeption. in the output section it says: Exception thrown at 0x0FB8AC5C (libmongoc-1.0.dll) in mongodb_test.exe: 0xC0000005: Access violation reading location 0x00000038. Unhandled [...] read more
c++
mongodb
unhandled-exception
libmongoc
0votes
0answers

Storing value in int array from mysql of type mediumint

I am new to C and working on a project at the moment but I am having an issue. I have a int array which is defined as below: int* SwitchIDs = malloc(sizeof(int)); int* SeizeUTC = malloc(sizeof(int)); int* CorrelationIDs = malloc(sizeof(int)); I run a query which retrieves values from the [...] read more
c
arrays
malloc
realloc
0votes
0answers

Android admob viewpager Fatal error

I have a not pretty nice problem with Admob and my android application. Let's explain: I use an AdView Banner in fragment 1 inside a ViewPager. When i switch to fragment 2 , viewpager keep fragment 1 as usual but the AdView inside Fragment 1 still refresh itself and cause [...] read more
android
android-fragments
android-viewpager
admob
0votes
1answer

Sort of an event driver

I am trying to make a Linux Kernel driver in the Raspberry pi 3 that turns on a led when a button in a joystick es pressed(Sets GPIO as an Output and then sets it on) and also reads the status of that GPIO port. My driver for turning on [...] read more
c
linux
linux-kernel
linux-device-driver
raspberry-pi3
0votes
1answer

c++ resize 2D vector memory error

I have a small class: header file - Grid.h: class Grid { public: Grid(); ~Grid(); bool WriteGridToDSGrdFile(char* FileName); bool SetGrid(float *noisearray, int nx, int ny); private: std::vector<std::vector<float>> GridData; }; implementation - Grid.cpp bool Grid::SetGrid(float* noisearray, int nx, int ny) { for (size_t ix = 0; ix < nx; ix++) { [...] read more
c++
vector
0votes
1answer

Memory access violation when using Boost::Serialization

I'm trying to do serializations using Boost's serialization library, but they always fail with the same unhelpful runtime error. Say, for example, I have a simple struct: struct test { unsigned int value; template<class Archive> void serialize(Archive & ar, unsigned int const version) { ar & BOOST_SERIALIZATION_NVP(value); } }; This [...] read more
c++
serialization
boost
0votes
2answers

Renderscript Fatal Signal 11 (code = 1)

In my project I am taking a 15x15 bitmap of random colors and determining how distinct each is from each other pixel. When Distinct.start() is called, I get the following error: A/libc(18416): Fatal signal 11 (SIGSEGV) at 0x00000038 (code=1), thread 18538 (AsyncTask #1) From what I've been able to find, [...] read more
android
renderscript
0votes
2answers

Crash in png_set_read_fn() on Windows 7

I'm cross-compiling some C code for Windows 7 and linking to libpng12.dll found here. Unfortunately, the line below causes a crash (GDB says segmentation fault): png_structp png = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); I'm not sure where to start to debug this--that function seems very straightforward and unrelated to the rest [...] read more
c
windows
gdb
libpng
-1votes
1answer

C++ Access violation writing location in for loop

I was trying to make a Bounding Box work in order to implement frustrum culling in my engine. But as soon as i run the solution, an Access violation run time error appears in the transform function of the Bounding Box. void BoundingBox::Transform(D3DXVECTOR3 pos, D3DXVECTOR3 rot, D3DXVECTOR3 sca) { D3DXQUATERNION [...] read more
c++
directx

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  3. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0