Windows error 0x00000112, 274

Detailed Error Information

MSRPC_STATE_VIOLATION[1]

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

HRESULT analysis[2]

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[2][3]
DescriptionThe default facility code.[2][3]
Error Code274 (0x0112)

Questions

7votes
2answers

Startup code of a statically-linked executable issues so many system calls?

I am experimenting by statically compiling a minimal program and examining the system calls that are issued: $ cat hello.c #include <stdio.h> int main (void) { write(1, "Hello world!", 12); return 0; } $ gcc hello.c -static $ objdump -f a.out a.out: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: EXEC_P, [...] read more
c
linux
static-linking
libc
system-calls
5votes
2answers

objdump - head ELF - Meaning of flags?

$ objdump -f ./a.out ./a.out: file format elf32-i386 architecture: i386, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x080484e0 $ objdump -f function.o function.o: file format elf32-i386 architecture: i386, flags 0x00000011: HAS_RELOC, HAS_SYMS start address 0x00000000 What is the meaning of flags (flags 0x00000011: OR flags 0x00000112:) ? Nothin in the [...] read more
objdump
2votes
1answer

"kernel must be loaded first"

I wrote a mini-boot loader and a simple kernel that print a string. I followed step-by-step this playlist(First 3 videos to be precise!). Anyway, when I boot my virtual machine(with my ISO) I get those messages: "error: no multiboot header found." "error: you need to load the kernel first." I [...] read more
c
assembly
kernel
bootloader
2votes
0answers

Difference between OUTPUT_ARCH(arm) and OUTPUT_ARCH(armv4) in linker script

Among other things I am trying to understand the difference between OUTPUT_ARCH(arm) and OUTPUT_ARCH(armv4). Assume we have next files (I have used linker script example from here as a basis): main.c: int main(void) { test_1(); test_2(); return 0; } main.lds: OUTPUT_ARCH(arm) SECTIONS { . = 0x10000; .text : { *(.text) [...] read more
c
gcc
arm
embedded
ld
1vote
1answer

avr-ld: avr:51 architecture of input file `main.o' is incompatible with avr output

I tried to use this Code/Guide on an ATmega1284p. The problem that I encounter is that the linker does not work, and I get following error message after executing (code builds well for ATmega88): avr-ld -o main.elf main.o -g avr-ld: avr:51 architecture of input file `main.o' is incompatible with avr [...] read more
c
linker
avr
atmega
avr-gcc
1vote
2answers

Seg Fault in ARM Assembly

So, I am trying to learn ARM assembly and basically what I want to do is turn on the LEDs of my BeagleBone Black using pure assembly. I know how to program in C very well, but I am new to ARM assembly if that makes any difference. Basically I [...] read more
c
assembly
beagleboneblack
1vote
0answers

Makefile for nontrivial hello world cross building leads to segemnation fault on Raspberry

Two updates - see at the end of this post: After two sleepless nights I decided (for the very first time) to directly ask for your support. Problem: When I try to cross-compile for Raspberry (RPI) a peace of code on my intel ubuntu it leads to the code which [...] read more
c++
makefile
raspberry-pi
cross-compiling
toolchain
0votes
0answers

Objdump: Retrieve flags

I'm actually studying the unix objdump command. I want to retrieve the flags showed by the command "objdump -f file" Here is an example > $>objdump -f /bin/ls /bin/ls: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x0000000000404e68 I know that I can obtain 112 by [...] read more
c
unix
bsd
objdump
0votes
0answers

Linker script location counter invalid value

I am writing a linker script as: SECTIONS { . = 0x100000; .phys . : { *(.phys.text) *(.phys.data) . = ALIGN(4K); } .phys.bss . (NOLOAD) : { boot_stack_bottom = .; . = . + 4K; boot_stack_top = .; *(.phys.bss) } . = . + KERNEL_OFFSET; .boot . : AT(ADDR(.boot) - [...] read more
linker
x86-64
ld
osdev
linker-scripts
0votes
1answer

Operating System Process Management, Memory Management, Kernel

I am working in software firm where hardware independent coding is done on the Network Chipsets and fully Multigthreading coding implemented and various buffers(CRU Buffer, Linear Buffer) are handled and memory (stack memory) is optimally used. And IPC done via Message queues. And Multiple Locks, Semaphores are used for concurrency [...] read more
memory
process
operating-system
kernel
buffer
0votes
2answers

Booting custom kernel on xeon-phi

I am trying to boot a custom kernel on Xeon-phi instead of the default Linux kernel. At this link, I found a way to cross compile my kernel which compiles successfully using k1om-mpss-linux-gcc cross compiler. Is cross compiling enough ? I get the error > mykernel.img is not a k1om [...] read more
gcc
kernel
cross-compiling
xeon-phi
0votes
0answers

Binary donot run neither with -m32 nor with 64bit gcc option

enter code here------------ SYSTEM INFO Using intel-core i7 processor installed UBUNTU 13.10 -------------------------------------------------------------------------------- CODE INFO My program generates binary : test It links with one shared library : libtest.so libtest.so links with libc.so.6 When tried to run the binary ./test gives the following error: bash: ./test: cannot execute binary file [...] read more
c
linux
bash
gcc
0votes
0answers

Windows Phone Listpicker crash with lumia 1520

One of my user has problem with the listpicker. The problem is only happen with his lumia 1520 (and I think also with other phone with that resolution but I can't test it). The listpicker crash when the user tap on it and it goes to full mode display in [...] read more
windows-phone-8
windows-phone-toolkit
lumia
0votes
3answers

GNU C Cross-compiler: Cannot execute binary file

I've been trying to compile busybox from source for ttylinux x64 I'm currently.. dealing with. Because of some king of bug (very similar to described here) I'm forced to use cross compiler. But this thing refuses to work. When I try to run it: $ /mnt/hdd/cross-compiler-x86_64/bin/x86_64-gcc --version I get: -bash: [...] read more
linux
unix
gcc
busybox
0votes
1answer

Get programs flags with a C program

I'm actually trying to get the flags of given by the objdump -s command through a C program. But I don't know where to look for them. For example here: ./my_objdump: file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED start address 0x00000000004006f0 I would like to know how [...] read more
c
unix
elf
0votes
1answer

dumpbin equivalent in unix

I'm using SCons to compile few programs and then I want to check what type of binary file is it. Is it 64bit or 32bit, in windows I used dumpbin. I tried using nm for unix and that returned the following ~/Documents/scons_unix/SCons_test$ nm VisualStudio08-32bit 0000000000600e50 d _DYNAMIC 0000000000600fe8 d _GLOBAL_OFFSET_TABLE_ [...] read more
unix
scons
dumpbin

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0