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

8votes
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
4votes
1answer

QEMU "-bios" vs. "-kernel" vs. "-device loader,file=..."

For background, I'm running bare-metal QEMU-4.1.0 on aarch64. There are several ways to get QEMU to load compiled code into memory. I'd like to understand what the underlying differences are, because I see very different behavior and the documentation doesn't shed any light. Consider this first command line: qemu-system-aarch64 \ [...] read more
qemu
arm64
3votes
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
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
1vote
1answer

GRUB2 produces "multiboot header cannot be found" error when loading my kernel

I read GRUB Multiboot header not found but I cannot still load my kernel I tries to write the multiboot2 header directly in the .s file then link it. It is supposed to appear before all other segment: [kheader.s] .section .mbt2std tag_start: .long 0xE85250D6 .long 0 .long tag_end-tag_start .long -1*(tag_end-tag_start [...] read more
gcc
x86-64
osdev
grub2
multiboot
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
2answers

What is the space between [ELF Header] and [data segment]?

I compiled very very simple assembly code with nasm and ld under Linux (CentOS6 32bit). nasm -f elf -o basic1.o basic1.asm ld -o basic1 basic1.o cat basic1.asm ;--------------------------------------- section .data msg db 'hello world', 10, 00 section .bss tests resd 100 segment .text global _start _start: And, I execute the [...] read more
assembly
nasm
elf
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 [...] 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
-1votes
0answers

dotnet core publish for ARM

Trying to do asp net core publish for aws ec2 t4g linux-2 linux arm machine. I do this Menu build/publish Set the target runtime to linux-arm64 zip the publish folder Transfer zip file to the machine unzip then objdump I get file format elf64-x86-64 architecture: i386:x86-64, flags 0x00000112: which I [...] read more
.net
linux
asp.net-core
amazon-ec2
amazon-linux-2

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