Windows error 0x00000030, 48

Detailed Error Information

SET_OF_INVALID_CONTEXT[1]

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

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 Code48 (0x0030)

Questions

25votes
4answers

Using hexdump to output only ASCII

I'm trying to output ASCII values corresponding to some binary data. I have successfully applied the hexdump utility to output hexdump and ASCII side-by-side as below: 00000120 20 20 20 20 3d 20 30 78 30 30 30 30 30 30 33 30 | = 0x00000030| 00000130 0a 01 00 [...] read more
linux
command-line
hexdump
10votes
1answer

How to get the processes that have systray icon

I am trying to create application that get the list of processes that have systray icon. I searched alot and found number of references: 1. http://www.raymond.cc/blog/find-out-what-program-are-running-at-windows-system-tray/ 2. https://superuser.com/questions/708674/how-to-find-out-what-process-a-system-tray-icon-corresponds-to 3. Which Windows process is displaying a given taskbar system tray icon? 4. https://social.msdn.microsoft.com/Forums/vstudio/en-US/53e27f60-37af-406f-bbdc-45db2bd3dee6/how-to-find-a-system-tray-process 5. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4c4f60ce-3573-433d-994e-9c17f95187f0/finding-which-applications-and-services-are-listed-in-the-system-tray?forum=csharpgeneral 6. http://www.codeproject.com/Articles/10497/A-tool-to-order-the-window-buttons-in-your-taskbar 7. Get ToolTip Text [...] read more
c#
c++
winapi
taskbar
8votes
0answers

Fixing crashes Windows Phone apps with crashinfo of dev dashboard

I have a simple wp8.1 app published in the store (universal app) but it crashed. So I downloaded the excel file containing crash info from https://dev.windowsphone.com/en-us/DownloadReport The crash(es) occur in the latest version of my app and the clients have 8.1 (because you cannot run universal apps otherwise) Here is [...] read more
exception
windows-phone-8.1
win-universal-app
5votes
1answer

sms using adb shell not working

I am trying to send the sms by both adb shell am and adb shell service call .I am getting error for both . a)I am trying to send the sms following adb shell am command adb shell am start -a android.intent.action.SENDTO -d sms:"phoneNumber" --es sms_body "SMS BODY GOES HERE" [...] read more
adb
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
5votes
5answers

Debugging an iPhone crash report

How do I debug the following crash report? A user installs the App from the App Store but the App crashes when loaded. I cannot re-produce the crash myself. I went to my crash reports on my own iPad and found a similar one, but again, cannot re-produce it. The [...] read more
objective-c
cocoa-touch
ipad
crash-reports
5votes
5answers

Cocos2dx iOS Approved App Crashing

So I have been stuck for a couple of days on this extremely strange and annoying problem. So I have an app that I released to the ios app store and I have recently went back and added some extra features to the application. I didnt touch the core of [...] read more
iphone
ios
cocos2d-iphone
cocos2d-x
5votes
1answer

Android Permissions on Runtime.getRuntime().exec()

I have an App with the following permission on the manifest. My App is running on Android JB 4.1.2. UPDATE: I'm trying to run the App on JB, but it not works. It works on earlier API versions. <manifest xmlns...> <uses-permission android:name="android.permission.SET_DEBUG_APP"/> The problem is when I execute a command [...] read more
android
permissions
command
3votes
1answer

grub doesn't seem to load my kernel correctly

I use grub to load my kernel. Although I specified .=0x100 0000 in the linker script, I can only find a valid MultiBoot2 header at 0x10 0000. After comparing them one by one, I found that it is not my kernel. And use gdb to debug Found that qemu's RIP [...] read more
assembly
gcc
osdev
grub
multiboot
3votes
0answers

Bluetooth Enable Disable ADB command and Opening Android Activity with Android Driver not working in Some Android 7 devices

Result: Parcel( 0x00000000: ffffffff 0000006e 0065004e 00640065 '....n...N.e.e.d.' 0x00000010: 00420020 0055004c 00540045 004f004f ' .B.L.U.E.T.O.O.' 0x00000020: 00480054 00410020 004d0044 004e0049 'T.H. .A.D.M.I.N.' 0x00000030: 00700020 00720065 0069006d 00730073 ' .p.e.r.m.i.s.s.' 0x00000040: 006f0069 003a006e 004e0020 00690065 'i.o.n.:. .N.e.i.' 0x00000050: 00680074 00720065 00750020 00650073 't.h.e.r. .u.s.e.' 0x00000060: 00200072 00300032 00300030 006e0020 'r. .2.0.0.0. [...] read more
java
automation
adb
appium
3votes
1answer

Stream from IP Camera very jittery on VLC

This question is a prologue to the one I previously asked here. I'm working on an IP camera project that is based on TI OMAP-L138. All in all, the H264 encoded video is streamed via live555 libraries over RTSP. For Live555 I'm using deviceSource based framed source. However, when I [...] read more
c++
algorithm
h.264
live555
3votes
1answer

clr.dll exception causes the iis crashed, PDB symbol for clr.dll not loaded, The version of SOS does not match the version of CLR you are debugging

Recently, my asp.net application crashed. I got the event logs on windows, two type exception message: Application: w3wp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an internal error in the .NET Runtime at IP 000007FEF9CFDDE3 (000007FEF9B00000) with exit code 80131506. Faulting application name: w3wp.exe, version: 7.5.7601.17514, time [...] read more
clr
windbg
sos
debugdiag
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
1answer

Projection matrix causing inaccuracy in clip-space depth calculation?

Currently working with SlimDX's Direct3D 11 bindings and having significant difficulty with my shader, the source of which follows: /* * * * * * * * * * PARAM STRUCTS * * * * * * * * * */ struct VSPointIn { float3 pos : POSITION; float4 color [...] read more
c#
directx
direct3d
hlsl
slimdx
2votes
1answer

CentOS not finding wifi adapter

I installed CentOS on a Lenovo yoga laptop a few days ago, but I cannot get the wifi to work. I've tried lots of things following suggestions from replies to several questions on different sites. NetworkManager-wifi is installed (and always was). Below are some of the commands people usually ask [...] read more
linux
networking
wireless-networking
centos-8
2votes
3answers

I got segmentation fault in c inline assembly when I called jmp

I got an segmentation fault when I use jmp. At the first time,I just used jmp 0x30, and I got segmentation fault. I debuged my program by using gdb, and i saw that after jmp was called, it jump to a absolute address. (gdb) b main Breakpoint 1 at 0x80483b7: [...] read more
c
assembly
x86
segmentation-fault
inline-assembly
2votes
2answers

How to load HTML string to embedded WebBrowser control?

I know there are a lot of articles about this on the internet, and I tried many of them. Although I can make my browser load a webpage on internet, somehow I can't manage to make it load HTML from memory. Most of the time, the two methods below just [...] read more
c++
winapi
ihtmldocument2
2votes
0answers

Windbg - Tracking native cryptography leak in C++/VB6/C# application

I'm currently attempting to track down a leak in a C++ service that loads VB6 modules that load .NET libraries using windbg, and as of now, feel like I'm so close to the answer, but can't seem to lock it in. Starting with !heap -s, I identify the heap in [...] read more
.net
windbg
2votes
1answer

How can I use the USB DMA Engine for the LPC1788?

I'm developing code for the NXP LPC1788 microcontroller and lately I've been trying to improve the way that the USB works. My current issue with the USB is that it's configured in slave mode and, due to the high volume of messages that have to be sent and received in [...] read more
c
usb
microcontroller
lpc
2votes
0answers

mspgcc-size ROM/RAM usage in percentage

With mspgcc-size I can get an output like this: text data bss dec hex 13072 236 65296 78604 1330c We know that: Flash = data + text RAM = data + bss How can I extract the size of ROM/RAM from the selected -mmcu=msp430g2553 with the toolchain? e.g. ROM: 8192 [...] read more
microcontroller
avr-gcc
toolchain
2votes
1answer

C++ STL map exception. (root of nonmutable tree)

I have problem with my parameters class. When I try invoke getProperty in any other form except main, I get exception "access violation at 0x00459bd6: read of address 0x00000030" in xtree on this code _Nodeptr& _Root() const { // return root of nonmutable tree return (_Parent(_Myhead)); } Class initialized in [...] read more
c++
map
stl
c++builder
2votes
1answer

How to diagnose a corrupted suffix pattern in a mixed managed/unmanaged x32 .NET application

I've got a .NET application that pinvokes several libraries, all 32 bit (the application is 32 bit as well). I recently started getting crash bugs that occurred when the GC started freeing memory, and when I attached I saw that it was an access violation. After some web searches, I [...] read more
c#
pinvoke
windbg
unmanaged
2votes
1answer

Query all Windows Services with JNA

Currently I'm trying to query all installed Windows Services from (remote) machine. I had a look at win32.Advapi32. > But here I can only "get" a defined (I have to give a "ServiceName") Windows > Services. (Advapi32.INSTANCE.OpenSCManager, Advapi32.INSTANCE.OpenService, > Advapi32.INSTANCE.QueryServiceStatusEx) Do you know any API which allows to query all [...] read more
java
api
winapi
windows-services
jna
2votes
0answers

Pointers and Protected Memory in C#

I am working on a C# project to search the contents of windows event log files. It needs to be compatible with .evt and .evtx files. I copied the code from http://www.codeproject.com/Articles/15288/Parsing-event-log-evt-file that reads .evt files and in the case of some files (not all) when I run it, I [...] read more
c#
.net
pointers
memory
2votes
1answer

Page Heap doesn't record useful stack infomation?

I'm trying to test a crash scenario (in an isolated test-app) with normal page heap (not full). I have set up the flags with gflags /p /enable Test.exe and I'm overwriting an integer buffer by one element ... const size_t s = 100; vector<int> v1(s, 0); int* v1_base = &v1[0]; [...] read more
debugging
visual-c++
windbg
gflags
pageheap
1vote
1answer

bond failing to start the backup network card on failure of main one

Our production server has 4 network cards, linked 2 by 2 on 2 bonds. External network: bond0 : eth0 up & running, eth1 active-backup Internal network: bond1 : eth2 up & running, eth3 active-backup We got at the same time failure of eth0 and eth2 : Mar 3 10:38:16 localhost [...] read more
networking
linux-networking
ethernet
bonding
1vote
0answers

Newly setup WSUS all clients stuck at downloading 0%

Recently I created a newly WSUS setup for the first time and it's all still new to me so be gentle ;-) I've set up WSUS as described on the internet (pretty basic) and all went well without any problems; I then deployed all new Windows 10 Pro v2004 images [...] read more
windows-10
powershell
windows-update
wsus
1vote
1answer

Why am I not receiving interrupts on Port Status Change Event with the Intel's xHC on QEMU?

I'm coding a small OS kernel which is supposed to have a driver for the Intel's xHC (extensible host controller). I got to a point where I can actually generate Port Status Change Events by resetting the root hub ports. I'm using QEMU for virtualization. I ask QEMU to emulate [...] read more
c++
x86
usb
osdev
hci
1vote
3answers

Disassemble instruction set for 8051 microcontroller

I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
assembly
reverse-engineering
microcontroller
disassembly
8051
1vote
1answer

Azure OPC Publisher says "no job received" when trying to write OPC UA data to cloud

im trying to follow those tutorials: https://sandervandevelde.wordpress.com/2018/11/06/getting-started-with-opc-ua-on-azure-iot-edge/ and https://docs.microsoft.com/en-us/azure/iot-accelerators/howto-opc-publisher-run to bring data from an opc-ua server to the azure cloud. I have already successfully played through the https://docs.microsoft.com/en-us/azure/iot-edge/quickstart tutorial. I think maybe the OPCPublisher does not find the configuration file?! I set up the configuration file under C:\iiotedge\pn.json (with changed [...] read more
azure
azure-iot-hub
opc-ua
azure-iot-edge
1vote
1answer

How to fix 'Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled' caused by registerForNotify()

I am trying to connect two ESP32 via Bluetooth, while one is serving as the server and one as a client. Connecting the client to the server works just fine and discovering the characteristic works too. But when I try to register the characteristic for notify, I get an error [...] read more
esp32
arduino-c++
1vote
0answers

Android `service` command - how to use compound types as arguments?

I'm trying to automate replies to a group MMS with Tasker. So far, I've been able to write a couple shell scripts with Termux that can poke into the SQLite database where received messages are stored, and get the content of those messages and the numbers of the participants in [...] read more
android
tasker
1vote
1answer

Link Error during Rust compilation (Cargo)

I'm calling some WinAPI functions with the Rust FFI (in this case MessageBoxA). My code was working until I did a little variable change and the compilation gave me an error as: = note: Non-UTF-8 output: WinAPI-dd8845a539e186b8.4ojwfrbxjnkzuhga.rcgu.o : er ror LNK2019: symbole externe non r\xe9solu MessageBoxA r\xe9f\xe9renc\xe9 dans l a [...] read more
winapi
rust
linker
ffi
rust-cargo
1vote
2answers

Error in Arduino IDE using strncmp function

I am using the following code to compare two strings and get the error: > #define _EXFUN(name, proto) name proto > > ^ > > exit status 1 invalid conversion from 'char' to 'const char*' > [-fpermissive] As I understand strncmp function is looking for 'const char*', but when I [...] read more
c++
c
arduino
strncmp
1vote
0answers

How to SendRequest with correct body by using wininet in mql4

I have dummy web service with URL: http://47.91.231.122:5002/token which return data in JSON I want to call this service using WINInet APi in mql.Can anybody help me how to use contruct "HttpSendRequest" method to add header and data to call this service? enter image description here Get the access token [...] read more
wininet
mql
1vote
2answers

How to upload a file with unique name in Visual Studio Webtest

Using Visual Studio 2015 I've recorded a web test which includes uploading a file to the website. This site doesn't allow to upload files with the same name. In webtest scenario I have a File Upload Parameter with the property Generate Unique Name set to True: enter image description here [...] read more
visual-studio
load-testing
web-testing
webtest
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

Avoid or remove lock from StgOpenStorage()

Greets, I found a similar question at Opening OLE Compound Documents read-only with StgOpenStorage but that solution didn't work for me. I try to open an outlook .msg file with StgOpenStorage(). My problem is, that StgOpenStorage always locks my file. So, how can I avoid/remove the lock StgOpenStorage() adds to [...] read more
c#
winapi
com
1vote
2answers

Find out if an int contains an element from an enum set using binary operations

I am using a library that concatenates one or more enums by ORing their values like this: TestEnum { VAL1(0x00000001), VAL2(0x00000002), VAL3(0x00000100), VAL4(0x00000200), VAL5(0x00000400), VAL6(0x00000800), VAL7(0x00001000), VAL8(0x00002000), VAL9(0x00004000), VAL10(0x00008000), // special values VAL11(0x00000000), VAL12(0x00000010), VAL13(0x00000020), VAL14(0x00000030); private static final Map<Integer, TestEnum> TEST_ENUM_MAP; // constructor, populate map etc. public static TestEnum [...] read more
java
enums
binary-operators
1vote
1answer

kechkfault infected with signal 12 while launching Sybase 12.5.4

I am having troubles accessing my Sybase 12.5.4 instance on Solaris 9 because when I launch it, I get the following log: 00:00000:00001:2016/06/02 11:37:54.32 server Database 'master' is now online. 00:00000:00000:2016/06/02 11:37:54.33 kernel Current process (0x40004) infected with signal 12 (SIGSYS) 00:00000:00000:2016/06/02 11:37:54.33 kernel Address 0xff3dc0dc (), siginfo (code, address) [...] read more
solaris
sybase
1vote
0answers

Crashreport from Xcode, no idea how to read

I know its a bit awkward asking this, but I have no idea how to read this crash report and find the position and cause of this error described in the following crash-report. Can someone help me ? Any hint, where to look, or howto navigate to the code in [...] read more
ios
xcode
crash-reports
1vote
1answer

New to HTML and Flask. How to let a user submit an image and description without having to sign in?

I am currently designing a steganography web app as a part of my beginner Computer Science summer program. With a very limited understanding of HTML, Flask, and the interconnected languages like SQL and jquery, I've ran into a bit of a roadblock. So far I've looked at a lot of [...] read more
python
forms
flask
user-input
steganography
1vote
2answers

iOS Application crashes in release version on device

I am facing a strange issue, and have already spent quite a lot of time on this. A crash occurs in my application, specifically in release build, on the device. The crashlog is: Incident Identifier: 1879D689-B225-4586-8E8E-D4D9DB392ABB CrashReporter Key: c432ffa8a13433b330d0fc03863778260c00be45 Hardware Model: iPhone5,3 Process: CSR Proximity [5696] Path: /var/mobile/Applications/4C6CDC7D-E594-4976-923B-0A62B68C0053/CSR Proximity.app/CSR Proximity [...] read more
ios
crash
release-mode
sigbus
1vote
1answer

uPP Device Driver is dropping data from buffer

I have written code for a uPP device driver to be used with an OMAPL138 based custom board for data acquisition through a camera lens. The code for my device driver is: /* * A device driver for the Texas Instruments * Universal Paralllel Port (UPP) * * Modified by: [...] read more
c
multithreading
arm
linux-device-driver
omap
1vote
2answers

C# RawInputDevice in Windows: How I can disable messages for all applications except my?

I have a RawInputDevice that I registered. // sample private void SplashLoad(object sender, EventArgs e) { var rid = new RawInputDevice[1]; rid[0].UsagePage = HidUsagePage.GENERIC; rid[0].Usage = HidUsage.Keyboard; rid[0].Flags = RawInputDeviceFlags.INPUTSINK; rid[0].Target = Handle; if (!Win32.RegisterRawInputDevices(rid, (uint)rid.Length, (uint)Marshal.SizeOf(rid[0]))) { throw new ApplicationException("Не удалось зарегистрировать устройство."); } inputBuffer = ""; this.terminateFlag = [...] read more
c#
winapi
raw-input
1vote
1answer

UIWebview crashing on IOS 7 but not on IOS 6

I'm using Xcode 5 to make my app. When I run it on the simulator using IOS 6.1 everything works perfectly, but when I run the app on IOS 7 it crashes! Here is the crash log I'm getting from the webview: `Incident Identifier: 01BCFB4C-E85B-488D-9855-4188D27566B1 CrashReporter Key: cc047dce10a1cd20b4718dbf73ddc413162841fe Hardware Model: [...] read more
iphone
ios6
uiwebview
ios7
xcode5
1vote
2answers

How to get the vertical and horizontal alignment by an integer?

I'm trying to convert an integer value to a content alignment. The integer can hold both a horizontal and a vertical alignment at the same time. First I created an enum, which describes all possibilities (i have to use the values of android Gravity class: http://developer.android.com/reference/android/view/Gravity.html) typedef enum{ GravityHorizontalCenter = [...] read more
ios
objective-c
alignment
bit-shift
bitmask
1vote
1answer

iMX6Q NAND Boot issue in WinCE

I'm trying to boot eboot.nb0 from NAND. (Micron, MT29F4G08ABBDA) in WinCE7. Processor: i.MX6Q I have successfully booted u-boot.bin from NAND using kobs-ng tool in linux. Also, if i use modified eboot.nb0 instead of u-boot.bin in kobs, it is booting without any problem. But when i use MFGTool (in WinCE) for [...] read more
c
visual-studio
embedded
storage
windows-ce
1vote
0answers

Iphone App crashes on AD HOC

my app runs fine on development mode, but for some reason on ad hoc i get a crash right after loading screen. I really can't understand what could be wrong, any tips on how to test it better? Apple rejected it with this message: We found that your app failed [...] read more
ios
xcode
crash
cocos2d-iphone
adhoc
1vote
0answers

FTP file listing crash (iOS 6.1)

I have waited for iOS 6.1 hoping that it can solve some network issue I have discovered during the development of my application (with iOS 6.0.x). Actually, the iOS 6.1 resolve some of these issues, but unfortunately other still occurs. I have opened a bug report to Apple, but my [...] read more
ftp
crash
file-listing
ios6.1
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++
0votes
0answers

WIFI 6 Card not working even though the computer detects it and up to date drivers are installed

I have run into a dead end here. I am trying to install an Intel AX200 WIFI + Bluetooth network card onto my desktop PC. I connected it to a PCIe port that had more slots than needed but I read that this should be fine. Additionally, a cable from [...] read more
wireless-networking
drivers
network-adapter
computer-building
0votes
0answers

Wifi driver installation without wifi

I recently changed to a new laptop and did a dual boot of windows and parrot security-4.7(as per my prev laptop). However, I found out that the installer could not detect my WiFi driver and I had to install a non free firmware for my WiFi driver Ax201. I tried [...] read more
firmware
wifi-driver
parrot-os
0votes
0answers

dwarfdump output with overlapping ranges

I am using the dwarfdump command with these options -fFpPEo against a binary file. The output looks like this: fde: < 7><0x00000000:0x00000092><clear><fde offset 0x00005d70 length: 0x00000030><eh offset none> 0x00000000: <off cfa=00(r13) > 0x00000004: <off cfa=24(r13) > <off r4=-24(cfa) > <off r5=-20(cfa) > <off r6=-16(cfa) > <off r7=-12(cfa) > <off r8=-8(cfa) [...] read more
dwarf
0votes
0answers

What is a better way to turn a user-inputted hexadecimal string into a binary in MIPS?

I'm taking a computer architecture class, and they're having us use MIPS assembly. Our current assignment is asking us to take a user-inputted hex string, and turn it into a binary one. The code I've written "works", but it's horrible, to say the least. What would be a better approach [...] read more
assembly
mips
mars-simulator
0votes
0answers

How to store character immediate in .space type MIPS

I'm currently trying to convert an ascii character to its equivalent in binary as part of a larger program that I have running. I have an input buffer that I can successfully parse through character by character, and I am using branch statements to run specific commands like so: .data [...] read more
assembly
char
mips
0votes
1answer

iPad 3 crash on app launch with EXC_BAD_ACCESS and KERN_INVALID_ADDRESS

I'm checking my app with iPad its working fine, the flow goes well. When I try with the iPad 3, It crashes with the following log: CrashReporter Key: 793204a942c8c4835c8ee40189ce37008d86e70c Hardware Model: iPad3,3 Process: Jansirani [696] Path: /var/mobile/Applications/3C74B74A-7D41-4A61-9EF5-F6E92252612D/Jansirani.app/Jansirani Identifier: Jansirani Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] [...] read more
ios
storyboard
ipad-3
0votes
0answers

In appium how to check fingerprint setting is enabled i.e. fingerprint added or not

To verify fingerprint setting is enabled i.e. fingerprint added or not, I am using adb shell. Below is the command adb shell service call fingerprint 14 i32 1 s16 "android.permission.USE_FINGERPRINT" Below is the output that I am getting Result: Parcel( 0x00000000: ffffffff 00000095 0075004d 00740073 '........M.u.s.t.' 0x00000010: 00680020 00760061 00200065 [...] read more
appium
fingerprint
adb-shell
0votes
2answers

ESP8266-12F WiFi soft AP config.authmode failed

For a project I try do use the ESP8266 RTOS SDK. First step I install the tools and the toolchain. The hello_world example and the other gpio example works fine. I try the softAP example and get a Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled Error. I [...] read more
esp8266
freertos
rtos
access-point
0votes
0answers

According to the standard PCI bus scan but the result is abnormal

This is scanning code uint32_t pci_read_configd(uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset) { uint32_t address; uint32_t lbus = (uint32_t)bus; uint32_t ldev = (uint32_t)dev; uint32_t lfunc = (uint32_t)func; address = (uint32_t)((lbus << 16) | (ldev << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint32_t)1 << 31)); out_port32(0xcf8, [...] read more
c
operating-system
qemu
pci
pci-bus
0votes
0answers

Android adb send SMS error doent't work permissions

When i try to send SMS using adb with command: adb shell service call isms 7 i32 0 s16 "com.android.mms" s16 "+1234567890" s16 "null" s16 "Hey\ you\ !" s16 "null" s16 "null" there is error: Result: Parcel( 0x00000000: ffffffff 0000005e 006f0043 00790070 '....^...C.o.p.y.' 0x00000010: 006e0069 00200067 006d0073 00200073 'i.n.g. .s.m.s. [...] read more
android
sms
adb
0votes
1answer

IBM-MQ PCF using to get subscriber count with a particular Topic

I'm using IBM-MQ, and I want to get the number of subscribers for a specific topic using PCFMessage MQQueueManager qmgr = null; PCFMessageAgent agent = null; Hashtable<String, Object> hashtable = new Hashtable<String,Object>(); hashtable.put(MQConstants.HOST_NAME_PROPERTY,"HOST NAME"); hashtable.put(MQConstants.PORT_PROPERTY,1414); hashtable.put(MQConstants.CHANNEL_PROPERTY,"CHANNEL NAME"); hashtable.put(MQConstants.USER_ID_PROPERTY, "USER_ID"); hashtable.put(MQConstants.PASSWORD_PROPERTY, "PASSWORD"); agent = new PCFMessageAgent(qmgr); PCFMessage request = new PCFMessage(MQConstants.MQCMD_INQUIRE_TOPIC_STATUS); [...] read more
java
ibm-mq
0votes
0answers

i have problem when run c# and c++ program

i have source code like this one namespace TrialCheck { class Program { static void Main(string[] args) { string[] urls = new string[] { "http://localhost:9900" }; if (File.Exists("urls.txt")) urls = File.ReadAllLines("urls.txt"); var webHost = new WebHostBuilder() .UseKestrel() .UseUrls(urls) .UseStartup<Program>() .Build(); webHost.Run(); } public void ConfigureServices(IServiceCollection services) { services.AddMvc(); } public [...] read more
java
c#
c++
0votes
1answer

MIPS Exception 6 [Bad instruction address] for Newton's Method of finding Square Roots

I'm trying to implement Newton's Method for calculating integer square roots of a given k ($a0 here). I get the correct output but it is followed by an infinite series of Exception 6 errors like the following: sqrt(32) = 5 sqrt(33) = 5 sqrt(34) = 5 sqrt(35) = 6 sqrt(36) [...] read more
exception
assembly
mips
qtspim
0votes
1answer

Difficulties Understanding Format String Exploitation

I am reading a book, Hacking: The Art of Exploitation 2nd Edition, and I'm at the chapter of format string vulnerability. I read the chapter multiple times but I'm unable to clearly understand it, even with some googling. So, in the book there is this vulnerable code: char text[1024]; ... [...] read more
c
format-string
stack-memory
0votes
1answer

XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder

Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that. It turned out that the error is being thrown inside parsing the JMS envelope and inside the ParseJmsFolder method. This is the exception we [...] read more
.net
jms
ibm-mq
xms
rfh2
0votes
0answers

MIPS - Print a character using ASCII

I am in the middle of writing a MIPS program, with restricted syscall 1, 4 and 8. There is a part that I have to print characters using it's ASCII value. Let's say after all the calculation I stored the corresponding number in $s0, which is 65 in this case. [...] read more
assembly
ascii
mips
0votes
0answers

How to solve gfortran compilation and linking error?

I have trying to compile a collection of old fortran and C codes with gfortran. They compile fine on a linux workstation but this fails in a Mac. Any idea on how to solve this ? The Makefile in the Linux version has one extra flag in CFLAGS and FFLAGS [...] read more
fortran
gfortran
0votes
1answer

_Mtx_t variable failed ,how i declare it in order to don't reference to null?

the variable _Mtx_t failed and references null. How i declare it in order to all his function doesn't fail? #include <iostream> #include <stdio.h> #include <thread> #include <conio.h> #include <mutex> #include <signal.h> #include <condition_variable> #define NUM_READERS 6 #define NUM_READS 5 #define NUM_WRITERS 6 #define NUM_WRITES 5 using namespace std; _Cnd_t read_phase, [...] read more
c++
0votes
1answer

Get list of services using JNA

I need to list all of the services installed, running and stopped (STATE = ALL). Earlier I was using command "sc query" but I need to do this using JNA. I've never used JNA before so I don't know much. I found this Query all Windows Services with JNA and [...] read more
java
winapi
jna
0votes
0answers

Why does platform_get_irq fail to get irq in my mailbox-altera driver?

I'm new to do Linux driver development. I encounter the problem of failing to get irq when I try to use driver mailbox-altera. On my platform DTS related to mailbox is as follows: hps_bridges: bridge@0xc0000000 { compatible = "altr,bridge-17.1", "simple-bus"; reg = <0xc0000000 0x20000000>, <0xff200000 0x00200000>; reg-names = "axi_h2f", "axi_h2f_lw"; [...] read more
linux-device-driver
device-driver
intel-fpga
device-tree
0votes
0answers

Finish thread by atomic bool crash

I have following worker thread: class CWorkerThread { public: CWorkerThread(){} ~CWorkerThread(){} bool startUiThread() { try { std::thread th(&CRefreshUiWorkerThread::operator(), this); if (th.joinable()) { th.detach(); } } catch (std::exception ex) { //print logs return false; } //print logs return true; } void stopUiThread() { m_bFinishFlag = true; } protected: void operator()() { [...] read more
c++
multithreading
atomic
0votes
1answer

Hololens No Capture Device Found Error

I am trying to capture a photo from the hololens using this Unity tutorial. When I run the code on the emulator, no error is thrown and an image is captured. When running on the actual hololens I get a "Access violation reading location 0x00000030." error. Here is the code [...] read more
c#
unity3d
hololens
0votes
4answers

C 2D arrays of string of unknown length, Crashing when accessing the elements

so I've been running into this error and I cant seem to find an answer for it so far, apologies if this question has been asked before. Heres the affected code: char **List_Of_Words; int List_Index=0; List_Of_Words = malloc(Number_of_Words *sizeof(char*)); //Processed_Word word is a word that has been read from a [...] read more
c
multidimensional-array
c-strings
0votes
1answer

The !address windbg command says that heap address is 'REGionUsageIsVAD' even though it was allocated using HeapAlloc

My heap buffer of interest was allocated as follows: 0:047> !heap -p -a 1d7cd1f0 address 1d7cd1f0 found in _DPH_HEAP_ROOT @ 5251000 in busy allocation ( DPH_HEAP_BLOCK: UserAddr UserSize - VirtAddr VirtSize) 1cf8f5b0: 1d7cc008 3ff8 - 1d7cb000 6000 68448e89 verifier!AVrfDebugPageHeapAllocate+0x00000229 76e465ee ntdll!RtlDebugAllocateHeap+0x00000030 76e0a793 ntdll!RtlpAllocateHeap+0x000000c4 76dd5dd0 ntdll!RtlAllocateHeap+0x0000023a 000ca342 TEST+0x0002a342 000be639 TEST+0x0001e639 As [...] read more
debugging
windbg
0votes
1answer

How to convert hex editor output of the form "0x00000040 20 66 6F 72 6D 2D 64 61 74 61 3B 20 6E 61 6D 65 form-data; name" to plain text?

I get output from visual studio as a string in the form of: 0x00000000 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D ---------------- 0x00000010 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 37 64 34 -------------7d4 0x00000020 [...] read more
visual-studio
hex-editors
0votes
0answers

"non-zero exit value 42"

I am having an issue with adding custom images to my app. When I do,I get gradle errors. I searched on here and seen the solution to add: android: { useNewCruncher false } But that didn't help. I am still getting the "non-zero exit value 42 error". Here is my [...] read more
java
android-studio
0votes
1answer

SDL2/SDL_Image loading objcopy files

As stated on the topic, i'm using objcopy to load SDL_Image images with MinGW over Eclipse Helios for windows. I'm using the command: objcopy --input-target binary --output-target pei-i386 --binary-architecture i386 Lilothyn.jpg Lilothyn.o That results in the file: Lilothyn.o: file format pei-i386 Lilothyn.o architecture: i386, flags 0x00000030: HAS_SYMS, HAS_LOCALS start address [...] read more
c++
mingw
sdl-2
sdl-image
objcopy
0votes
2answers

ADC LPC1768 simple

this is my code #include "LPC17xx.h" // Device header #include "GPIO_LPC17xx.h" // Keil::Device:GPIO uint32_t voltag1 = 0 ; uint32_t voltag2 = 0 ; volatile uint32_t adstat; int blink=1; int main() { //Config timer LPC_TIM1->MCR=2; LPC_TIM1->MR0=20000000; //Match Resgister LPC_TIM1->TCR=1; LPC_TIM1->EMR = 0x00000030 ; //Config ADC LPC_PINCON->PINSEL1 |= (1 << 14) | [...] read more
arm
keil
adc
0votes
2answers

how to interpret FILENAME attribute of NTFS MFT?

I have read NTFS MFT. Here is the picture (in 4 byte words, lower address is shown to the left) enter image description here [https://i.stack.imgur.com/cVd9D.jpg] The highlighted region is the filename attribute. and below is the attribute format. typedef struct _NTFS_ATTRIBUTE { unsigned int dwType; unsigned int dwFullLength; unsigned char [...] read more
ntfs
ntfs-mft
0votes
3answers

This is Iphone Device Crash Log Help me to debug this

Any one help to debug this Crash Log Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000001, 0xe7ffdefe Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x30064430 0x30060000 + 17456 1 Foundation 0x32235230 0x32229000 + 49712 2 CoreFoundation 0x3050611e 0x304e7000 + 127262 3 CoreFoundation 0x30504b5c 0x304e7000 + 121692 4 Foundation 0x322351e0 0x32229000 [...] read more
iphone
0votes
1answer

core dump analysis gdb: print return address and arguments

I am trying to debug core dump using gdb as below $ sudo gdb /usr/sbin/ietd /tmp/ietcore/CoreDump This GDB was configured as "x86_64-linux-gnu". Reading symbols from /usr/sbin/ietd...(no debugging symbols found)...done. [New LWP 5978] Core was generated by `/usr/sbin/ietd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fdb77c0da03 in _IO_vfprintf_internal (s=<optimized out>, [...] read more
c
linux
gdb
kernel
coredump
0votes
0answers

How resolve my EXC_BAD_ACCESS (SIGSEGV)

I run my application on iOS 8.2. The application is runing and execute my code well, on one of my tested devices it is crashed. how can i fix it? why it is crash on specific device? I run a zombie test, there is no zombies. Here is my report [...] read more
ios
objective-c
crash-reports
0votes
1answer

Xcode symbolication error

I have a small app made with SpriteKit and i receive EXC_RESOURCE error all the time and i really don't know. I want to see crash log , but Xcode doesn't symbolicate correct. I need to see Thread 0 , but it is the only one who isn't symbolicate. Exception [...] read more
ios
xcode
sprite-kit
symbolicate
0votes
1answer

SDL android app crashes when interacting with touchscreen

I am trying to develop games for android using the SDL library. The app itself starts perfectly and you are able to use everything except the touchscreen. If the touchscreen is interacted with the app crashes leaving the following message in the logcat: Fatal signal 11 (SIGSEGV) at 0x00000030 (code=1), [...] read more
android
java-native-interface
sdl
0votes
1answer

ios app crashes for only one customer

One of my customers reports consistent crashing, about 75% of the times he performs a particular operation in the app. That operation involves some image processing. He's using an iPhone 4S (the same model I used when developing the app) and iOS 7.1.1. No other customer has reported this issue. [...] read more
ios
xcode
crash-reports
0votes
1answer

How to resolve unhandled exception? (OpenGL, GLFW3)

The exception says: > Unhandled exception at 0x00F52157 in Foundry.exe: 0xC0000005: access violation > reading location 0x00000030. and points to this line in controls.cpp: glfwGetCursorPos(window, &xpos, &ypos); Controls code in separate file controls.cpp: #include "stdafx.h" #include <GLFW/glfw3.h> extern GLFWwindow* window; #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> using namespace glm; #include "controls.hpp" glm::mat4 [...] read more
c++
opengl
glfw
cursor-position
0votes
2answers

In iphone ios 7.0.4 app crashes when Launch the app

i made a game using cocos 2d. it's work fine in iOS 5 and 6 but it crashes when launching the app to the splash screen in ios 7.0.4 on device. i developed the game in xocde 4.6.1. I have a crash log report. -------------------------------------------------------------------------------- Incident Identifier: CE1591CE-8C42-4A28-B9BC-475D2DA3D003 CrashReporter Key: [...] read more
ios
iphone
crash
0votes
0answers

app crashing on navigation

I'm using 2 xib files. I have a UIViewController called ViewController1 with a hidden Navigation Bar. I have a second xib called ViewController2 with a visible Navigation Bar. Both are of class UIViewController. The second view controller has just one table view. When I navigate from ViewController1 (by way of [...] read more
iphone
ios
uiviewcontroller
0votes
1answer

Cant find bug, EXC_BAD_ACCESS

Last time I posted on Stackowerflow I screwed up because thought I knew more than I did. Renamed methods to make it easier and just made everything very confusing. So I am going to make another try now. Anyways, my application have been rejected a couple of times by Apple [...] read more
iphone
objective-c
exc-bad-access
0votes
1answer

Cocos2d-x app only crashes in Ad-hoc build

My cocos2d-x application crashes in Ad-hoc which built in release after I upgrade to xcode 4.6. Here is what I did for testing: 1. Use the same app's ipa which built in 4.5.2, no problem 2. Run the app in release through xcode in device, no problem 3. Build the [...] read more
ios
cocos2d-x
crash-reports
adhoc
0votes
1answer

What does this crash mean (iOS)?

When I submitted my app, Apple complained for a crash (which doesn't occur on my devices). (the app uses both Cocos2d and Kamcord). Here is the log they sent me. Does anyone have any idea on what's going on ? Incident Identifier: DF08231F-6870-4BA1-B676-FABB198B2C1D CrashReporter Key: aca1b4fd3ac58a223f67f43ce5c768e6e94616f0 Hardware Model: xxx Process: [...] read more
ios
crash-log
0votes
2answers

Converting Hex to Binary and storing bits in an array

I'm trying to write a function in C to convert a Hex value into its binary representation then store each bit separately in an array. So currently I'm using this long winded method.. void HexToBinary(int *bits, unsigned int hex) { bits[31] = (hex & 0x90000000) >> 31; bits[30] = (hex [...] read more
c
binary
hex
0votes
1answer

App Crashing Upon Startup for Users, Cannot Replicate Errors

The update for my app went live the other day, with no problems in testing on various devices and operating systems. However, it is crashing for several of my users upon startup. I am fairly new at reading crash logs. Can someone point me in the right direction as to [...] read more
iphone
ios
crash
crash-reports
symbolicatecrash
0votes
1answer

crash log debugging

one of my app user is getting a wearied crash and he send me the report can any one help me in finding the error. The app is already in use so needed to fix it soon. He said that he is getting the crash when he is navigating in [...] read more
iphone
ios
debugging
uitableview
crash-reports
0votes
1answer

Exception Codes: KERN_INVALID_ADDRESS at 0x0000003d

I am using address book framework for my application and I have got crashes on that code. That code is shown below +(NSMutableArray *)getcontactdetails { [self current_function_name:@"Inside getcontactdetails"]; NSMutableArray *list = [[NSMutableArray alloc] init]; ABAddressBookRef addressBook; CFArrayRef allSources; addressBook = ABAddressBookCreate(); ABRecordRef source = ABAddressBookCopyDefaultSource(addressBook); allSources = ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(addressBook, source, kABPersonFirstNameProperty); [...] read more
iphone
addressbook
-1votes
1answer

Restrict Characters using regex matches in java

Basically i have a java String which i want to restrict all the characters other than this regex code String UcharSet = "^[a-zA-Z0-9-~!@#().]+"; if("hello.hi".matches(UcharSet)){ UNotAllowedCharEC = "0x00000030"; } now the problem is that my if statement always gets to execute although i have my regex to allow . so i [...] read more
java
regex
-1votes
1answer

GDB - see what have accessed the address/break on it

I am trying to overwrite the function vtable: Here it is done: Before memcpy (gdb) x/100x 0xb7993150 0xb7993150: 0xb6eae130 0xb6eae130 0x41414141 0x41414141 0xb7993160: 0x41414141 0x41414141 0x41414141 0x41414141 0xb7993170: 0x00000000 0x00000000 0x00000030 0x00000023 0xb7993180: 0x6c707061 0x74616369 0x2f6e6f69 0x6574636f 0xb7993190: 0x74732d74 0x6d616572 0x00000000 0x0000001b 0xb79931a0: 0x00000001 0x00000001 0xb7993078 0x00000000 0xb79931b0: 0x00000000 0x0000002b [...] read more
gdb
exploit
-1votes
1answer

restricting char set using regex in java

Basically i am trying to restrict a user not to input characters that are not allowed in username box. i found that this could be implement by String.matches() String UcharSet = "[a-zA-Z0-9-~!@#().]+"; boolean UMORN = "Username.is@example.com".matches(UcharSet); if(UMORN != true) UNotAllowedCharEC = "0x00000030"; as you can see i have string of [...] read more
java
-2votes
2answers

EXC_BAD_ACCESS with ARC

I'm using ARC, I have a CustomTableViewController and I'm adding a CustomView to my background cell, header and footer. For example in the tableView:viewForFooterInSection method i put these lines of code: - (UIView *) tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section { CustomFooter *footer = [[CustomFooter alloc] init]; return footer; } CustomFooter is a [...] read more
iphone
objective-c
ios
automatic-ref-counting
-4votes
1answer

char arr = "..."; in C program leads to crash

im a beginner and my english is not so well so sorry first. i wrote a function that gets a string and a number, and move every letter in the string 'number' steps. i tried to debug it and it stop working. anyone knows the problem? here is my code: [...] read more
c
arrays
string

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