Windows error 0x00000007, 7

Detailed Error Information

ARENA_TRASHED[1]

MessageThe storage control blocks were destroyed.
Declared inwinerror.h

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

INVALID_SOFTWARE_INTERRUPT[2]

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

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 Code7 (0x0007)

Questions

42votes
4answers

I updated my CentOS 7 system. Why is Meltdown/Spectre only partially mitigated?

Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and reboot: kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 I have two CentOS 7 systems on which I've installed these packages and rebooted. According [...] read more
security
centos7
rhel7
vulnerabilities
16votes
3answers

Segfault with asio standalone when classes in separate files

The below is as minimal of an example as I can get. It does need to be in separate files as that seems to be what causes the segmentation fault error. I'm using Mingw x32 4.8.1 with Asio standalone 1.10.6 . I've also tested with TDM GCC 4.7.1 and Mingw [...] read more
c++
boost
boost-asio
14votes
3answers

Why does OpenProcessToken fail with ERROR_ACCESS_DENIED

I'm running a process as a user in the Administrators group, trying to get a process token for another process. The other process is run by a user not in the Administrators group. Here's the gist of the code I'm using. pid in this code represents the process id of [...] read more
c
security
winapi
11votes
4answers

Converting a character into keycode

I have a character and I want to convert it into KeyEvent KeyCode constraints http://developer.android.com/reference/android/view/KeyEvent.html#KEYCODE_0 Like if I have a character '0' I wan to convert into > Key code constant: '0' key. Constant Value: 7 (0x00000007) as specified in the KeyEvent page. What can be a best method for [...] read more
android
10votes
2answers

Exact meaning of RX 'errors' and 'frame' in ifconfig output?

I'm seeing network problems with a (RHEL) node (packets dropped), which also seem to manifest themselves by a non-zero count of the 'error' and 'frame' fields in ifconfig output: eth2 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx ... RX packets:277593775 errors:1049 dropped:0 overruns:0 frame:536 Is there a detailed description somewhere what the exact [...] read more
linux
networking
ifconfig
9votes
2answers

Google Protocol Buffers - Missing required fields even though all the fields are apparently present

I'm trying to send a protocol buffer message over TCP, but on the receiving side I'm getting a "Missing required fields" error when trying to parse, even though apparently all the fields are there. I'm sending a 4 byte header before the message that contains the length of the message. [...] read more
c++
boost-asio
protocol-buffers
7votes
2answers

Google-plus: unable to load person

I want to have Google Plus login in my application. I could connect but unable to get current user's profile information @Override public void onConnected() { String accountName = mPlusClient.getAccountName(); mPlusClient.loadPerson(this, "me"); } @Override public void onPersonLoaded(ConnectionResult status, Person person) { Log.d("onPersonLoaded - ConnectionResult", "" + status); Log.d("onPersonLoaded - person", [...] read more
android
google-plus
6votes
1answer

Service Causes SCM Error "reported an invalid current state 0"

I wrote a small service, which acts as a local network server. To write the service, I followed a tutorial on MSDN, how to write a service using the ServiceBase class. But when I register and start the service, I get error messages as shown below. I get exactly two [...] read more
c#
.net
service
6votes
1answer

node-gyp on OSX 10.7.5 -- dyld: lazy symbol binding failed: Symbol not found

I've searched quite a bit, and the closest thing I found to this same question was this (also unanswered) question: Symbol not found: _libintl_gettext I'm attempting to make a thin c++ wrapper for libpuzzle. $ node --version v0.8.18 $ npm --version 1.2.4 $ node-gyp --version v0.8.3 Source code on github [...] read more
c++
macos
node.js
dyld
node-gyp
5votes
3answers

Why is ethtool not showing me all the properties for a NIC?

CentOS 5.8 | VMWare ESX 5.1 When I run ethtool eth0 I see the following: [root@foo ~]# ethtool eth0 Settings for eth0: Current message level: 0x00000007 (7) Link detected: yes Is there any way to get the rest of the details? Particularly speed and duplex? I'm used to ethtool output [...] read more
linux
centos
nic
ethtool
5votes
3answers

How do I left pad a byte array efficiently

Assuming I have an array LogoDataBy {byte[0x00000008]} [0x00000000]: 0x41 [0x00000001]: 0x42 [0x00000002]: 0x43 [0x00000003]: 0x44 [0x00000004]: 0x31 [0x00000005]: 0x32 [0x00000006]: 0x33 [0x00000007]: 0x34 I would like to create an array of an arbitrary length and left pad it with 0x00 newArray {byte[0x00000010]} [0x00000000]: 0x00 [0x00000001]: 0x00 [0x00000002]: 0x00 [0x00000003]: 0x00 [...] read more
c#
.net
bytearray
padding
5votes
1answer

When using ExitWindowsEx, logoff works, but shutdown and restart do not

When I call logoff, it works. But shutdown and restart don't work. Everything looks OK. I looked at other examples on SO and else where and the code looks pretty uniform across most places. So I'm thinking it might be something other than the code. I'm running as admin and [...] read more
c#
winforms
4votes
0answers

Not sure I really get 10 Gbit between our servers on the 10 Gbit network

We have a 3 Unix (1 Ubuntu 2 Redhat) servers connected via their 10 Gbit network cards to a 10 Gbit switch (our IT person made sure we got the correct cables). We experience some odd behaviour when sending files between the servers (either via scp 10Gbit-ip or a folder [...] read more
ubuntu
redhat
unix
network-speed
10gbethernet
4votes
2answers

Bonding not working properly (CentOS 5.4, Intel 10G, 802.3ad)

We've configured network bonding using a Intel Network Adapter X540 with two ports. Both ports are connected to a Brocade switch with a configured LACP trunk. Everthing seems to work fine; but when we physical disconnect both ports, the status of the bonding interface is still up! The link status [...] read more
bonding
4votes
1answer

NFS client has unbalanced read and write speeds

I've got a NetApp as my nfs server, and two Linux servers as the nfs clients. The problem is that the newer of the two servers has extremely differing read and write speeds whenever it is doing read and writes simultaneously to the nfs server. Separately, reads and writes look [...] read more
linux
networking
nfs
netapp
4votes
1answer

How to test 10 gigabit Intel X520 on Ubuntu

I got Intel X520 and connected it to PCI-E x16. The card is recognized as 10 Gbit by ethtool: # ethtool eth5 Settings for eth5: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full 10000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10000baseT/Full Advertised auto-negotiation: Yes Speed: 10000Mb/s Duplex: Full Port: [...] read more
linux
ubuntu
networking
arp
4votes
2answers

Investigating Memory Leak

We have a slow memory leak in our application and I've already gone through the following steps in trying to analyize the cause for the leak: 1. Enabling user mode stack trace database in GFlags 2. In Windbg, typing the following command: !heap -stat -h 1250000 (where 1250000 is the [...] read more
windows
debugging
memory-management
memory-leaks
windbg
4votes
1answer

Source column numbers in DWARF line table

For any element in a C/C++ source file, I would like to be able to determine the corresponding memory location within its compiled executable. Compiling with debug, and using the resulting DWARF information goes a long way towards this, but falls just short of my goal. GCC seems to generate [...] read more
c
debugging
gcc
dwarf
3votes
3answers

Digitally signed driver not verified by Windows (Code 52)

I am installing the I2CTools USB-to-I2C Elite driver for Win 10 x64, but I got a dialog saying ”Jungo Connectivity: a digitally signed driver is required.” In device manager the two drivers JungoConnectivity WinDriver1251 and USB-to-I2C Elite drivers are marked with yellow triangles and Details says: Not digitally signed. I [...] read more
windows-10
usb
drivers
digital-signature
3votes
2answers

Bonded Gigabit Interfaces capped at ~500mbps each

This issue has been driving me nutty for days now! I recently bonded the eth0/eth1 interfaces on a few linux servers into bond1 with the following configs(same on all systems): DEVICE=bond0 ONBOOT=yes BONDING_OPTS="miimon=100 mode=4 xmit_hash_policy=layer3+4 lacp_rate=1" TYPE=Bond0 BOOTPROTO=none DEVICE=eth0 ONBOOT=yes SLAVE=yes MASTER=bond0 HOTPLUG=no TYPE=Ethernet BOOTPROTO=none DEVICE=eth1 ONBOOT=yes SLAVE=yes MASTER=bond0 HOTPLUG=no [...] read more
linux
bonding
dell-powerconnect
lacp
3votes
2answers

How to change 'Advertised pause frame use' and autonegotiation setting on gigabit NIC

I'm investigating some poor nfs performance on a new server, as compared to an old server. Both the old and the new server are nfs clients, and they connect to the same exact NetApp nfs server. My specific question: How to I change the "Advertised pause frame use" setting? I [...] read more
linux
networking
nfs
ethernet
3votes
5answers

Network performance in large transfer of data

I'm using DD over Netcat to copy a hard disk from one system to another, straight clone. I booted RIP on each system. target system: nc -l -p 9000 |pv|dd of=/dev/hda source system: dd if=/dev/hda |pv|nc 9000 -q 10 The transfer seems to be hovering around 10 or 11 MB/s, [...] read more
networking
performance
netcat
3votes
1answer

Resizer MFT fails to process output during playback of H264-encoded video

I'm implementing an application for Windows which should play videos (some kind of video player). I'm using MediaFoundation for video playback, and it works fine for most of the videos, but fails certain ones. I create the following MF topology: MF_TOPOLOGY_SOURCESTREAM_NODE -> MF_TOPOLOGY_TRANSFORM_NODE (Microsoft H264 Video Decoder MFT) -> MF_TOPOLOGY_TRANSFORM_NODE [...] read more
video
ms-media-foundation
mft
3votes
1answer

Changing callvirt to call in IL

During some experiments with IL, I attempted to change callvirt calls in an assembly to call methods. Basically what happens is that I have an inheritance chain with member functions that I am calling. Basically the call is similar to this: ((MyDerivedClass)myBaseObject).SomeCall(); or in IL castclass MyDerivedClass // ** 1 [...] read more
c#
.net
il
peverify
3votes
1answer

AWS EC2 t2.micro instance very unstable

I'm running a wordpress page on an AWS EC2 t2.micro instance. Nothing fancy but just a simple wordpress site. It has been happening pretty consistently that every few weeks: 1. my page will be unreachable, ssh not reachable either 2. when check on dashboard, everything looks right, no warning or [...] read more
amazon-web-services
amazon-ec2
reboot
3votes
1answer

Issue after updating to mono 4.0.1 on Ubuntu

I just upgraded to the just released Mono version 4.0.1 on my ubuntu machines. The previous installed version of mono was 3.2.7 (if I remember correctly). Now the issue: My first issue is regarding SignalR and self-hosting. I have a .NET 4.5.1 console application in which I self host NancyFx, [...] read more
asp.net
ubuntu
mono
signalr
self-hosting
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
2votes
2answers

Diagnosing a slow in-home ethernet connection when other connected devices are working fine

I have an Intel NUC connected directly to my router by a short Ethernet cable, running Debian 9. According to speedtest-cli, it's getting about 4mbps up and down, roughly symmetric. Meanwhile, most devices on the network (all connected via WiFi) are getting in the neighborhood of 150 down and 25 [...] read more
debian
ethernet
home-networking
2votes
1answer

MS SQL on Ubuntu 18.04 configuration setup not working as expected

I am trying to install MS SQL server on Ubuntu 18.04. Everything went fine until I ran sudo /opt/mssql/bin/mssql-conf setup First I got: usermod: no changes Choose an edition of SQL Server: 1) Evaluation (free, no production use rights, 180-day limit) 2) Developer (free, no production use rights) 3) Express [...] read more
ubuntu-18.04
ms-sql
2votes
1answer

Unusable open souce ATI driver on Debian Jessie

BACKGROUND I'm now forced to use open source proprietary driver (radeon kernel module) since after the last upgrade I got Xorg version 7.7 and fglrx just doesn't support it. For what concerns the normal desktop usage this driver works fine, even better than fglrx, I even have high resolution frame [...] read more
debian
crash
amd-radeon
2votes
2answers

3 OS computer, Hard Drives Corrupted, Any way to save the data?

I have a computer. Its a pretty amazing computer. I built it myself. It has 3 500gb hard drives in it, all with different OS's: XP, Vista, and 7. Some how, it seems ALL 3 have gotten corrupted. one day I turned on my computer, I booted up XP. It [...] read more
windows-7
windows-xp
windows-vista
hard-drive
backup
2votes
2answers

Interference When Installing Windows XP

I had several problems on my old pc, so I decided to reinstall Windows XP. The problem is, when it copies the files, I get a lot of errors with Windows XP setup cannot copy file, so I ignore all of them, as enter will not do. Then, when it [...] read more
windows-xp
installation
bsod
2votes
1answer

Ubuntu server: weird latency jumps in lan

We replaced our aging firewall with this server, running Ubuntu 16.04. It does (almost) nothing other than running iptables with about 900 rules (filter & nat combined). The aging server it replaced worked fine and there were no issues whatsoever. Every once in a while (it can be once an [...] read more
linux-networking
ubuntu-16.04
2votes
0answers

Cannot set 1G speed on 10G nic using ethtool

I have a linux server with 10G fibre nics: xyz@xyz48:~$ sudo ethtool p1p1 Settings for p1p1: Supported ports: [ FIBRE ] Supported link modes: 10000baseT/Full Supported pause frame use: No Supports auto-negotiation: No Advertised link modes: 10000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: No Speed: 10000Mb/s Duplex: Full Port: [...] read more
performance
nic
ethtool
2votes
2answers

Eth0 is slow and generates errors

On one of my linux computers the network is acting weird. It's really slow when connecting to any computer outside of my local network (~1.5 Kb/s no matter what server). At the same time it has good speed within the local network (>4 Mb/s). Dmesg does not report any errors [...] read more
linux
networking
2votes
1answer

Error: Halt timed out, wake up GDB

I'm having trouble using OpenOCD to flash the firmware on a at91sam7s512 micro-controller. Whenever I send a halt command (via telnet) it throws the following error: Halt timed out, wake up GDB. timed out while waiting for target halted in procedure 'halt' The board is a Proxmark3 Easy Below is [...] read more
gdb
firmware
openocd
2votes
2answers

change in endianness while ethernet transmission

I work with zedboard and vivado v2017.3. I am trying to send data stored in a register(slv_reg0 in PL section of Zynq) pointed by baseaddr_p in the following program. I use lwip echo server application to read this address and send it to the PC via Ethernet. This part of [...] read more
c
vivado
zynq
2votes
1answer

Opendaylight Can't Connect to HP Aruba SDN Switch

My lab recently procure an HP (Aruba) 2920 24G and I was told to test it out on an OpenDaylight controller. First, I setup the OpenDaylight Carbon (0.7.2) with dlux features, odl-mdsal-apidocs, odl-restconf, and odl-l2switch-switch installed. The Opendaylight can communicate with my other switches including an SBC running an Open [...] read more
sdn
opendaylight
2votes
2answers

Command-line access to OS X's keychain - How to get e-mail address associated with account

I'm writing a Bash command-line tool that accesses the keychain for emulating a web browser to communicate with web pages. It's quite straightforward to get the password stored in the keychain from there: PASSWORD=`security find-internet-password -gs accounts.google.com -w` But it's a bit more tricky to extract the email address, as [...] read more
macos
bash
keychain
2votes
3answers

looking for java .pdb files, analyze a crash hdmp file

I am trying to analyze .hdmp file (windows crash dump) that contains a java crash. I am seeing the stack dump crash and all the dlls/modules but not the java ones such as (jvm,nio,etc..). When I use windbg or Visual Studio it shouts about missing java symbols/.pdb files which do [...] read more
java
windbg
crash-dumps
jvm-crash
2votes
0answers

App shutdown with EXC_RESOURCE, CPU exception on iOS 7

Application runs in a background, communicates with BLE device. It was working fine in our testing, but now we are getting crashes. Crash report shows below details, here on thread 15 crash occurs. it show's related to CPU cycles. Incident Identifier: 8F9083BF-497C-4441-BBB5-8554C875808A CrashReporter Key: 0e515d51d2295f1e4cd5e5820df913a684243b28 Hardware Model: iPad2,6 Process: backboardd [...] read more
ios
ios7
crash
crash-reports
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
1answer

ASM help - assembly language binary bomb phase_6

I have been working on this for hours. I have tried to find the right answer, but I just can't. I have searched around, and many people say that the input is numbers 1-6 and no repeat, but I can't find where it says that anywhere in the assembly code. [...] read more
assembly
1vote
0answers

Ethernet connection drops for 10-20 seconds every 20 minutes

Once or twice an hour, my Ubuntu machine's ethernet connection will drop: $ ping google.com (nothing happens) After 10-20s (though sometimes longer) it will magically come back. During the outages, I'm unable to ping google.com or an IP, so I don't think it's a DNS issue. I've tried a number [...] read more
networking
ubuntu
ubuntu-17.04
1vote
0answers

What TweakNT actually do in the registry?

I want to know what does TweakNT actually do to the registry in the "remove timebomb" operation, so I use regshot to capture the changes as following: *---------------------------------- KEYS ADDED: 57 HKLM\SYSTEM\WPA\MediaCenter HKLM\SYSTEM\WPA\TabletPC HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32 HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU* HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\reg HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.avi HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.avi\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.bmp HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.bmp\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.css HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.css\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.dib HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.dib\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.emf HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.emf\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.gif [...] read more
windows-xp
windows-registry
1vote
0answers

Synergy 1.5 crash (OSX 10.6.8)

THANKS FOR TAKING THE TIME TO READ THIS I recently installed Synergy 1.5 r2278 (for Mac OSX 10.6.8) and was using it fine for most of the day, then it decided to stop working (the only thing I changed systemwise was the screensaver - and then after it started crashing [...] read more
synergy
1vote
1answer

Multiple BSOD Windows 7

I'm using Windows 7 and I've gotten multiple BSOD errors when browsing with chrome or watching videos. I've updated my integrated graphics card driver but it didn't solve the problem. I've run Memtest86+(12 passes) - everything was OK, I've also tested the HDDs - no problem, too. I've disabled GPU [...] read more
windows-7
google-chrome
memory
bsod
1vote
1answer

Updating a single file in a CPIO archive

I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks: DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000" 120 0x78 ASCII cpio archive [...] read more
disk-image
cpio
1vote
0answers

Improving TCP performance over a gigabit network lots of connections and high traffic for storage and streaming services

I have two servers, Both servers hardware Specification are Processor : Dual Processor RAM : over 128 G.B Hard disk : SSD Hard disk Outging Traffic bandwidth : 3 Gbps network cards speed : 10 Gbps Server A : for Encoding videos Server B : for storage videos andstream videos [...] read more
apache-2.2
networking
centos
nginx
tcp
1vote
1answer

10g network cards running at less than 1 gigabit

I have installed 10 gigabit fiber-optic cards in two of my servers, but when I test their throughput they run at only around 600Mbps or so: $ scp random.1G rcm2:/tmp random.1G 100% 1024MB 73.1MB/s 00:14 My routes look correct. The network drivers and hardware seem to be setup correctly. Can [...] read more
routing
10gbethernet
1vote
0answers

Cannot enable WOL in Ubuntu using ethtool

I'm trying to build a linux box that will run without a monitor or keyboard, runs Ubuntu server, will go into suspend after a certain amount of time and is able to be woken up through network communication. Most of it is already in working order, except for the Wake-on-LAN [...] read more
ubuntu
wake-on-lan
ethtool
1vote
1answer

Configuring MSSQL Server on ubuntu - Cannot open or read the persistent registry: \SystemRoot\security.hiv

I'm using the following guide to install MSSQL server on my ubuntu 16.04 machine https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu?view=sql-server-2017 when I'm running: sudo /opt/mssql/bin/mssql-conf setup no matter what kind of SQL Server edition I choose, I'm getting the following error: Confirm the SQL Server system administrator password: Configuring SQL Server... This program has encountered [...] read more
sql-server
ubuntu-16.04
1vote
1answer

pymqi on macos Library not loaded: @rpath/libmqic_r.dylib

I'm trying to set up IBM MQ and pymqi on my macbook. MQ is done via docker, no issues there. I've installed the IBM MQ from https://developer.ibm.com/messaging/2019/02/05/ibm-mq-macos-toolkit-for-developers/ and followed the instructions. I pip installed pymqi with no issues after that. But when simply running import pymqi I get ImportError: dlopen(/Users/.../Library/Python/2.7/lib/python/site-packages/pymqi/pymqe.so, [...] read more
python
python-2.7
ibm-mq
1vote
0answers

MIPS Assembly Calculating memory addresses

I am learning about assembly and am doing assembly computations, particularly with MIPS instructions to calculate the changed registers and memory addresses. The initial address states are here : $t0 = 0x0000000B, $t1 = 0xFFFFFFFF, $t2 = 0xABABABAC This is the code we have to use to calculate: addi $t4, [...] read more
assembly
memory
mips
computation
1vote
1answer

Enum with Enum elements in Python3

I'm setting an enumeration "A" of possible commands in my Python code. I would also create another enumeration "B" listing some specific commands "A". Thus I tried : class all_commands(IntEnum): SET_ELEMENT_A = 0x00000001 GET_ELEMENT_A = 0x00000007 GET_ELEMENT_B = 0x0000000E SET_ELEMENT_C = 0x00000010 GET_ELEMENT_C = 0x00000011 GET_ELEMENT_D = 0x00000015 class getter_commands(IntEnum): [...] read more
python-3.x
list
enums
1vote
1answer

Problem compiling IDL created with OleView

To correct a problem with the name of the value for the enum, after searching, that I need to modify the TLB file of my DLL. The first step that I need to do is to create the IDL file. So I use Oleview to create the file. Before doing [...] read more
idl
typelib
midl
oleview
1vote
0answers

How to install WCF class library project as a windows service programmatically in C#

Trying to create the windows service programmatically. Found out the reference from stackoverflow to do it. However the parameter filename in InstallAndStart method expects a .exe In my case, my WCF project which i want to host as windows service is a Service library project. Hence the output is in [...] read more
c#
wcf
windows-services
1vote
0answers

Why does updating a Keychain item password cause a re-prompt for app access?

I am storing a generic password using the macOS Keychain Services. This password should be usable without prompting by an Apple app already on the system. I initially create it using code something like this: itemName="Some Item" appPath="/Applications/Some Apple.app" security add-generic-password -a "$username" -s "$itemName" -w "$password" -T "$appPath" "$keychain" [...] read more
macos
security
keychain
1vote
2answers

Python parsing JSON count Blocks

I have a .json file exported from Wireshark wich has the following example: "_source": { "layers": { "frame": { "frame.encap_type": "1", "frame.time": "Jan 23, 2018 10:32:28.074649000 Mitteleurop\u00c3\u00a4ische Zeit", "frame.offset_shift": "0.000000000", "frame.time_epoch": "1516699948.074649000", "frame.time_delta": "0.000036000", "frame.time_delta_displayed": "0.000036000", "frame.time_relative": "141.761654000", "frame.number": "18", "frame.len": "76", "frame.cap_len": "76", "frame.marked": "0", "frame.ignored": "0", "frame.protocols": "eth:ethertype:pn_rt:pn_dcp" [...] read more
python
json
parsing
wireshark
1vote
2answers

easy_install ReviewBoard [Errno 104] Connection reset by peer

I have a Kubuntu 10.04 VM image and am trying to install ReviewBoard by following The Linux Installation Wiki. When I get to the step to easy_install ReviewBoard, I encounter a problem I cannot find a solution to. Below is the console output: >> sudo easy_install ReviewBoard Searching for ReviewBoard [...] read more
python
easy-install
kubuntu
review-board
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

How to handle COM events in console application with ATL - client's suspensions

I'm totally new in COM programming. I have big problem. I’m trying to handle events from CANoe application via COM Server. Firstly I tried do it in native C++ but without results. Now I’m trying it by using ATL. I'm doing something wrong but I don’t have any idea what. [...] read more
events
visual-c++
com
atl
com-server
1vote
1answer

Windows Service with FileSystemWatcher starts and stops immediately after

I am creating a pos app that cannot communicate with my fiscal printer. So I have decided to store a receipt in a text file as Json object and make Windows Service app with FileSystemWatch to check for file updates and forward it to printer. I am using third party [...] read more
c#
windows-services
filesystemwatcher
1vote
2answers

Different results between step debugging and running program on tiva c

I have a TIVA tm4c123G I have been trying to create a communication between it and my ADXL345 sensor using I2C protocol which I succeeded in writing and reading from the accelerometer the readings of the device address and the register values that I just wrote to which means everything [...] read more
c
arm
embedded
accelerometer
i2c
1vote
2answers

Jenkins deletes keys in keychain

We have a problem with fastlane when running on Jenkins. For some reason the key in the keychain gets removed when running the jenkins script. But if I run the command from command-line it works every time. First time I have provide password to gitrepo, second time it runs fine, [...] read more
jenkins
fastlane
fastlane-match
1vote
0answers

Convert Windows Service Status DWORD value into human readable format

I have a function for enumerating all the services on a Windows system using win32service.EnumServicesStatus() function from PyWin32 module in Python 3. I'm able to get the Status Name, Service Description and Status. The problem is that for the status instead of getting a string like "running", "paused", "stopping", "restarting" [...] read more
python
winapi
service
status
pywin32
1vote
4answers

Decoding pcie config space capabilites manually - looking for example

I don't have an o/s running so I can't decode pcie using something like lspci (I wish lspci would take input from a file!). I have a hex dump below (this is a Xilinx Ultrascale FPGA but the question is generic), I'm trying to understand where the capabilities start and [...] read more
pci
pci-e
1vote
1answer

Installing QScintilla2 for Anaconda on OSX: an @rpath issue

With a lot of blood, sweat and tears I have managed to compile QScintilla2 ( https://www.riverbankcomputing.com/software/qscintilla/download) for usage in the Anaconda Python Distribution (2.5.0; Python 2.7.11; PyQt4) on Mac OS X El Capitan. After compilation and installation of everything inside the Qt4Qt5 and Python folders without errors or warnings, all [...] read more
python
macos
anaconda
rpath
qscintilla
1vote
0answers

Driver Deployment is failing on virtual machine

I have create sample driver with the help of tutorials, Code contains , DRIVER_INITIALIZE DriverEntry; EVT_WDF_DRIVER_DEVICE_ADD KmdfHelloWorldEvtDeviceAdd; NTSTATUS DriverEntry(_In_ PDRIVER_OBJECT DriverObject, _In_ PUNICODE_STRING RegistryPath) { NTSTATUS status; WDF_DRIVER_CONFIG config; DbgPrint("Hello, World"); KdPrintEx((DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "KmdfHelloWorld: DriverEntry\n")); WDF_DRIVER_CONFIG_INIT(&config, KmdfHelloWorldEvtDeviceAdd); status = WdfDriverCreate(DriverObject, RegistryPath, WDF_NO_OBJECT_ATTRIBUTES, &config, WDF_NO_HANDLE); return status; } NTSTATUS KmdfHelloWorldEvtDeviceAdd(_In_ WDFDRIVER [...] read more
c++
driver
wdk
kmdf
1vote
0answers

How can Install a windows services with c# code i have using the Administrator privilege account I have?

How can Install a windows services with c# code I have using the Administrator privilege account I have? Please note that:- The following classes are download from different sources and from other programmers work from this site. I don't want to claim any of this work as mine. I am [...] read more
c#
windows
winforms
service
impersonation
1vote
0answers

Iterating over words in MIPS

I have array of words in .data array: .word 0x0000012, 0x0000d42f, ..... , 0 // 0 indicates end of array. I need to print each word's count of '1's and then at the end print the maximum count of '1's . I tried moving the word to a temporary register [...] read more
assembly
mips
1vote
0answers

Java Out of memory EXCEPTION_ACCESS_VIOLATION (0xc0000005)

I have a java application, it had been running for 1 month. It suddenly crashes with this error message. I use nssm to create windows service for my application. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6ecf4803, pid=4484, tid=1040 [...] read more
java
1vote
2answers

Generating IL for Nullable<T> serialization?

I'm writing my own serializer that emits IL to generate the [de]serialization codes. For nullables, I thought I could generate the following (take int? as an ex) (assuming we already generated methods to [de]serialize int): public static void Serialize(Stream stream, int? value, object context) { Serialize(stream, (int)value, context); } public [...] read more
c#
nullable
reflection.emit
il
conversion-operator
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
0answers

Eclipse : fatal error in JeasyOpc

I am working with the last version of JeasyOpc on a server OPC RSLINX passing information of each tag to a database. Everything works fine, but it falls on the day of running, this depends of the workload. I know i need to handle well the memories, i have tried [...] read more
java
eclipse
jeasyopc
1vote
1answer

How to Edit COM Library to Provide Method Access

In our header file we have the class definition where GroupInit, EditInit were protected. I want to be able to access these methods by adding a reference to the generated GrpSvr.tlb file from a C# solution so I changed these to public... #if !defined(AFX_GRPCALL_H__FFB54BC3_B15E_11D1_99BC_0000E803C444__INCLUDED_) #define AFX_GRPCALL_H__FFB54BC3_B15E_11D1_99BC_0000E803C444__INCLUDED_ #if _MSC_VER >= 1000 [...] read more
c++
com
interop
1vote
1answer

Accessing COM Interface from C++ COM Server that doesn't register via C#

I've been asked to integrate with an already-shipped product that is a COM server. Along with this product was provided a .tlb file. I've used tlbimp to export the tlb to primary assembly and I've included that in my C# project. When I attempt to execute my COM client I [...] read more
c#
c++
visual-studio-2012
com
0votes
1answer

Slow ethernet, despite GbE hardware: Searching for causes

I am having issues with slow network speeds in my home network between 2 boxes. Here are the specs: Box1:ASRock H97 Performance, Manjaro Box2:ASRock FM2A78M-ITX+, Debian 9 Switch:Netgear GS305v2 Both boxes are connected to the switch with Cat.7 (10m and 2m) cables. So everything should work with Gigabit Ethernet, right? [...] read more
networking
ethernet
gigabit-ethernet
0votes
0answers

WOL works after systemctl suspend but not after auto-suspend

I successfully configured Wake-On-LAN on my computer. It works perfectly after using sudo systemctl suspend, but unable to wake after the auto-suspend delay (on Ubuntu, Settings -> Energy). Information about my network card : jml@jml-desktop:~$ sudo ethtool enp0s31f6 [sudo] Mot de passe de jml : Settings for enp0s31f6: Supported ports: [...] read more
ubuntu
wake-on-lan
0votes
1answer

USB ethernet adapter connected and found in ifconfig, but not working

I've bought a USB ethernet adapter for my ARM-Board running debian to have a second interface. I compiled and loaded the driver/module and the device is being recognized: [ 5.285487] usb 2-1.3.1: new high speed USB device number 5 using usb20_host [ 5.410218] usb 2-1.3.1: New USB device found, idVendor=0b95, [...] read more
networking
drivers
arm
0votes
2answers

USB Audio and Video devices no longer work after Windows 10 Update KB3176493

I'm not sure if it's related to KB3176493 as I can't find anything else relating. I've been searching all day and all I've found are a ton of totally unrelated Windows XP/8 posts. Anyway, came to my Computer today to find it rebooted. Great, update with telling me. Then I [...] read more
windows
windows-10
usb
audio
drivers
0votes
1answer

Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings

My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more
windows-10
sleep
power-management
dell-inspiron
0votes
3answers

Not getting gigabit on my office ethernet

I've got a new fiber based internet connection and new gigabit router (ZyXEL Wireless VDSL2 Gateway) whereas my old router was only 100Mb/s. My desktop computer is in my office in a 4 years old extension to the house where the electricians mounted an ethernet socket as well as in [...] read more
linux
ethernet
gigabit-ethernet
0votes
0answers

Linux and Intel 82599ES 10-Gigabit SFI/SFP+ link always down

I have HP ProLiant dl360 gen 9, when server starts i have link on Intel 82599ES. After start linux (Slackware 14.2 kernel 4.4.19) link is down (something like spf power is down?). How can I fix it? # lspci | grep Network 04:00.0 Ethernet controller: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ [...] read more
linux
networking
network-adapter
slackware
0votes
2answers

What is necessary to activate gigabit?

OK, I got the following situation: I have a laptop with a usb (3.0) attached gigabit lan card. On the other hand I have a banana pi and a FritzBox which are also gigabit capable. If I connect everything using short cables I get a transmission of about 1GBit/s. Thus [...] read more
networking
ethernet
gigabit-ethernet
0votes
0answers

OpenVPN TAP Driver install problems

I originally posted this on the network engineering part, and they said that superuser would be the better place to ask this. So here I am! I have tried asking this question on the OpenVPN forum, but no repsonses, and I have searched for hours for answers as well as [...] read more
vpn
openvpn
0votes
0answers

How to configure gigabit NIC to connect to 100mpbs router?

I have an Ubuntu 12.04 box with two "Intel Corporation I350 Gigabit" ports. These work fine with my cable modem at 1Gbps speed. I tried to have my old Linksys wrt54g router in between. The wireless connection to the router works fine, but I cannot get the Ubuntu box to [...] read more
ubuntu
networking
home-networking
gigabit-ethernet
0votes
2answers

Problem with macbook pro default iSight(built-in iSight)

I have many trouble with my iSight, in skype in show green video instead of my video, in "image capture" iSight was not recogonized , just it was recognized in "photo Booth". When I wanted to switch to ooVoo. I downloaded and installed it without any problems, but when I [...] read more
macos
skype
isight
0votes
1answer

Slow Upload Speed - CentOS 6

I've been having an issue with my servers upload speed slowing down for the last week. When it first occurred restarting the network service would resolve the slow speeds. The speed would then be okay for anywhere from 24 to about 72 hours and then slow down to a crawl [...] read more
networking
centos
performance
upload
service
0votes
2answers

Ethernet port not detected

I just added additional 1gb port to my existing 4gbs on my server. All 4 are placed on a NET CARD PCIE 1GB E1G44HTBLK 904223 INTELand the additional one is connected to motherboard(S5520SC) integrated Ethernet port. from dmidecode I can see the motherboard ports are enabled. but I cannot see [...] read more
networking
ethernet
gigabit-ethernet
0votes
1answer

TX packets error & Collisions

I am seeing a lot of collisions and errors on a WAN port (Sophos SG210) which connects to fiber NTU ( Cisco ME 3400E) This is 100Mb up/down fiber but I am getting around 60Mb download and 3Mb upload. I think the cause of the slow upload speed is because [...] read more
networking
firewall
0votes
2answers

10 gbps ethernet adapter (Intel 82599 / ixgbe) on slower network - "Link is not ready"

Perhaps this is a newbie problem - I know nothing about 10 gbps networking hardware. I purchased a motherboard for building a new computer and I'm trying to get it online. Its onboard 10 Gbps adapter doesn't get past "Link is not ready". The networking setup is fine - I [...] read more
networking
linux-networking
0votes
1answer

transfer rate faster than the NIC suggests

i followed this thread to get the information on reading NIC speeds.How do I verify the speed of my NIC? i am using ethtool to verify the speed of my NIC as discussed the thread. :~ # ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: [...] read more
linux
networking
nfs
nic
ethtool
0votes
2answers

Ubuntu 14.04 bond (balance-rr) down but slaves are up

I am trying to setup balance-rr on my Ubuntu 14.04 server. I have a USB 3.0 dual NIC adapter (eth1 and eth2). It is direct connected to my NAS. It was working and then I rebooted and now it isn't working. I can't seem to get it to work now [...] read more
ubuntu
bonding
0votes
1answer

I see my clients in AD but not in WSUS

I set up a WSUS but dont see any clients in the Unassigned Computers group. I can find my clients in the ADAC, when I select myWSUS (local) > computers. My group policy management got a domain myWSUS.local but I dont see the groups here, is this maybe the problem? [...] read more
active-directory
windows-server-2012
group-policy
groups
windows-service
0votes
1answer

NIC seems slow, even on 100Mb/s full duplex

So I have a server running Centos 6 64bit with cPanel. It's set on eth0 running at 100MB/s full duplex. But, one particular server seems sluggish on its connectivity, despite server load being minimal on CPU and memory. Would like some tips on tracing the cause. I don't think the [...] read more
networking
connection
ethernet
nic
0votes
0answers

How to get ethernet card speed as 1000Mb/s into Centos

I have setup a network which fully supported 1000Mb/s speed. Same network shows 1000Mb/s speed in Windows system but in Centos it is showing 100Mb/s speed. Why? My ethtool output as follow [root@localhost ~]# ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half [...] read more
centos6.5
0votes
1answer

How to change the setting for a network device reported by ethtool, specifically Speed, on VM?

This is related to these two questions, although they don't answer my question. The machines are RHEL6. 1.ethtool not showing all the properties2.changing network speed to 1000Mb/s Output on VM: [root@foo ~]# ethtool eth0 Settings for eth0: Current message level: 0x00000007 (7) Link detected: yes Output on Real Hardware: (interested [...] read more
networking
virtual-machines
openstack
gigabit-ethernet
ethtool
0votes
1answer

Diagnosing a network connectivity issue with a new network switch, new network cards, one new and two old servers

I'm new to managing networks and I've reached the limit of what I can do on my own by just using google. I tried to find similar questions but didn't find anything like what I'm dealing with at the moment. Important background info: I'm setting up a 10 gigabit network [...] read more
linux
networking
0votes
3answers

Ethtool on VMWare

I'm trying to determine the speed of my ethernet uplinks using ethtool on my VM (a VMware ESX Server). Running the command gives the following output: ~> ethtool eth0 Settings for eth0: Current message level: 0x00000007 (7) Link detected: yes This obviously doesn't contain the information I'm looking for, that [...] read more
vmware-esx
ethtool
0votes
2answers

CentOS: e1000 is shown as FIBER port, but it must be MII

I installed an Intel gigabit card, it is shown as: [root@mail ~]# ethtool eth0 Settings for eth0: Supported ports: [ FIBRE ] Supported link modes: 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: FIBRE PHYAD: 0 Transceiver: external Auto-negotiation: on Supports Wake-on: [...] read more
linux
networking
intel
0votes
1answer

Use DLL in PowerShell

I'm trying to use a function from a DLL in PowerShell. I currently have the code below, though it leads to a crash when calling the function. I'm fairly new at this, so any help is appreciated. The purpose of the code is to use EloGetDiagnosticsData() in PowerShell to return [...] read more
c#
powershell
escaping
pinvoke
0votes
1answer

GCC build fails on OSX 10.14.1 with "malformed object (unknown load command 1)"

I am trying to build a library on my mac (OSX Version 10.14.1, Xcode Version 10.1) and it fails giving following error: Building target: application.a ar -r "application.a" api.o ar: creating archive application.a /opt/local/bin/ranlib: object: application.a(api.o) malformed object (unknown load command 1) ar: internal ranlib command failed make[1]: *** [application.a] [...] read more
c++
macos
gcc
llvm
0votes
0answers

Testing chained compute shader dispatches on Microsoft Basic Render Driver: Why might a UAV mutate between dispatches?

As per the title, I have a few different compute shaders (pipeline state objects) that I'm dispatching to (i.e. dispatch to shader0, shader0 does stuff to the uav, dispatch to shader1, shader1 does more stuff to the uav, etc.). I'm testing this using both DX11 and DX12. Running the shaders [...] read more
c++
compute-shader
directx-12
0votes
1answer

STM32F103 priorities to handle nested interrupts

I could find a problem related to NVIC_Init in STM32F10x library related to priorities to handle nested interrupts. We know that any interrupt with a priority value equal or higher than BASEPRI ( 11 in our case) can call FromISR() FreeRTOS API functions. FreeRTOS uses 15 level ( the lowest [...] read more
c
interrupt
stm32
freertos
0votes
0answers

How to get output from a winapi based DeviceIOControl function?

just started with my first steps using the WinAPI calling functions. So here is the Code: public enum EMethod : uint { Buffered = 0, InDirect = 1, OutDirect = 2, Neither = 3 } [Flags] public enum EFileDevice : uint { CDRom = 0x00000002, Disk = 0x00000007, VirtualDisk = [...] read more
c#
winapi
0votes
0answers

recursive procedure height of tree

I'm trying to write a function that calculates the height of a tree using this algorithm: height(root) if root == nil then return 0 h1 = height(root.left) h2 = height(root.right) answer = max(h1,h2) +1 return answer first I call the function passing the root, the the base case, if the [...] read more
mips
0votes
0answers

can't get opencv-based application to run on Macbook older than mine

I have already compiled opencv on the Mac and created a MacOS application based on it. It currently works on a variety of Macs for the past couple months. However, my Macbook is a Late 2013. Right now, no users with Early 2013 Macbooks or older can run it. I [...] read more
c++
macos
opencv
0votes
0answers

Java Error: C [javaHeclib.dll+0x197d5a]

I am running an automation script for HEC-HMS simulation but I got this error: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x29337d5a, pid=10404, tid=10800 # # JRE version: 6.0_19-b04 # Java VM: Java HotSpot(TM) Client VM (16.2-b04 mixed mode [...] read more
java
0votes
0answers

Protobuf-net InvalidProgramException on first time serialization

Im started a small project, to test protobuf functionality with unity. I tried to serialize some polymorphic values from different buttons click. When I start project, I always have an InvalidProgramException at first button-click. But all subsequent clicks don't cause that exception. I'm tried to google that, but found nothing. [...] read more
c#
unity3d
protobuf-net
0votes
1answer

ARM STM/LDM instructions issue

I'm trying to understand this examble about LDM and STM instructions, but I have a problem with the final result, here is the example: PRE r0 = 0x00009000 r1 = 0x00000009 r2 = 0x00000008 r3 = 0x00000007 STMIB r0!, {r1 - r3} MOV r1, #1 MOV r2, #2 MOV r3, [...] read more
assembly
arm
0votes
3answers

First argument is wrong when passing __VA_ARGS__

I'm trying to pass __ VA_ARGS __ to a function. For some reason the first argument is always wrong (seems like an address): #define PRINTF_ERROR(format, ...) {\ PrintfError(format, __FUNCTION__, ##__VA_ARGS__);\ } void PrintfError(const char* format, const char* function, ...) { va_list args; va_start(args, format); printf("%s(): ", function); printf(format, args); va_end(args); [...] read more
c
macros
variadic-functions
0votes
0answers

MediaPlayer: MediasetNextMediaPlayer() not working before Android 5 api 21

I want to run this code on pre Lollipop devices , but it is not working because of MediasetNextMediaPlayer() I have test the code on the 21+ API and working as required. There are 3 mediaPlayers with OnCompletionListener public void playall(final View view) { x = 0; i = 0; [...] read more
java
android
json
android-mediaplayer
0votes
2answers

Search Replace multiple strings from command output (Perl or Sed)

Can someone suggest how can I do the follwing: ` attributes: 0x00000007 <blob>="Test" 0x00000008 <blob>=<NULL> "acct"<blob>="abc@xyz.com" password: "mycrypticpassword" ` If I want to extract abc@xyz.com and the password value and assign them to variables in a shell script, can it be done in perl or sed? Thanks read more
perl
sed
pattern-matching
0votes
0answers

How to connect to LDAPS using Apache LDAP Client?

I'm following the user guides for Apache's LDAP Client API to connect to the ApacheDS LDAPS server. But it will not connect. I have tried everything. I'm able to connect to the LDAP server. The user guide isn't really helpful because they leave out some functions that are used in [...] read more
java
apache
active-directory
ldap
0votes
1answer

Tiva C cannot change value of MDR register

i have a tiva c micro controller the tm4c123gxl and i have been trying for a while now to use the I2C module on the board with a digital accelrometer with no result , i have been trying to set the MDR register with a certain value to send but [...] read more
c
arm
microcontroller
keil
0votes
1answer

Program Runs Fine until I turn it into a Service

I am building a service. Basically, it waits for files to arrive into a directory then encrypts them into another directory then deletes them. It works fine when it's not a service, however it isn't working as a service. When I interrupt the service to debug it, it is stuck [...] read more
c#
service
0votes
1answer

Binary bomb- phase 6

This is the disassembly of phase_6: 08048dbf <phase_6>: 8048dbf: 55 push %ebp 8048dc0: 89 e5 mov %esp,%ebp 8048dc2: 83 ec 18 sub $0x18,%esp 8048dc5: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 8048dcc: 00 8048dcd: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 8048dd4: 00 8048dd5: c7 44 [...] read more
assembly
x86
reverse-engineering
0votes
1answer

Reading Assembly Code (Bomb lab phase 5 help)

I have to decode this assembly language for the bomb lab: Dump of assembler code for function phase_5: 0x08048e79 <+0>: push %ebx 0x08048e7a <+1>: sub $0x28,%esp 0x08048e7d <+4>: lea 0x1c(%esp),%eax 0x08048e81 <+8>: mov %eax,0xc(%esp) 0x08048e85 <+12>: lea 0x18(%esp),%eax 0x08048e89 <+16>: mov %eax,0x8(%esp) 0x08048e8d <+20>: movl $0x804a9de,0x4(%esp) 0x08048e95 <+28>: mov 0x30(%esp),%eax [...] read more
assembly
x86
reverse-engineering
0votes
2answers

Use KeyEvent in Button onClick

I want to use KeyEvent example KEYCODE_0 Linkin button onClick <Button android:id="@+id/Btnequal_id" android:layout_width="wrap_content" android:layout_height="60dp" android:layout_weight="1" android:onClick="0x00000007" android:text="=" /> read more
android
onclick
keyevent
0votes
0answers

MacOSX build not running on older version

I am facing a strange issue on 10.8. My client is reporting that build isn't working on 10.8. I have tested the build on 2 systems both systems have 10.11 installed. in 10.8 log its saying Library not loaded: @rpath/libfmod.dylib reason: image not found I have added "@executable_path" in Runtime [...] read more
xcode
osx-mavericks
osx-yosemite
osx-mountain-lion
osx-snow-leopard
0votes
0answers

the Binary Bomb Phase 5

I'm currently working on the binary bomb lab and I'm very confused. I tried asking my friends and searching online but it seems like that my bomb is different. Dump of assembler code for function phase_5: 0x08048d7e <+0>: push %ebp 0x08048d7f <+1>: mov %esp,%ebp 0x08048d81 <+3>: push %edi 0x08048d82 <+4>: [...] read more
assembly
x86
0votes
1answer

When / Otherwise not working as expected (Microsoft Visual Studio)

I've been struggling getting the output formatted the way I want but I'm just not using xsl often enough. This need to generate a table, it only extracts the information if there is a value in the node named 'Active' but when there is no data or value named 'Counted [...] read more
xslt-1.0
0votes
0answers

Unhandled exception at 0x6FEB1F62 (libstdc++-6.dll) in Octave Stand-alone program

I've created an Octave Stand-alone program that crashes after successfully running with the following error: Unhandled exception at 0x6FEB1F62 (libstdc++-6.dll) in PDetection.exe: 0xC0000005: Access violation reading location 0x00000007. Here is my code: #include "stdafx.h" #include <iostream> #include <fstream> #include <sstream> #include <octave/oct.h> #include <octave/octave.h> #include <octave/parse.h> #include <octave/builtin-defun-decls.h> int main(void) [...] read more
c++
octave
0votes
2answers

What is changed about reflection in mono 4.x? (compatibility with mono 3.x)

My exception with mono 4: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: Invalid IL code in (wrapper delegate-invoke) <Module>:invoke_callvirt_CancellationTokenRegistration_CancellationToken&_Action`1<object>_object (System.Threading.CancellationToken&,System.Action`1<object>,object): IL_0057: castclass 0x00000007 more details available here: https://github.com/Anthilla/Antd/issues/8 Everything builds fine with mono 3.2.x, 3.12.1 and other 3.x but starting from 4.0.0-beta [...] read more
c#
.net
mono
0votes
3answers

Running SignalR self-host samples throws exception with latest mono dev branch

Using Mono on Linux, the sample Microsoft.AspNet.SignalR.Mono found at https://github.com/SignalR/SignalR seems to work using the stable release of mono but not with the latest development branch (3.99). Anyone encounter this? I get the following exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidProgramException: [...] read more
linux
mono
signalr
0votes
1answer

Executable ignoring rpath entry

I'm trying to create an executable that uses a set of locally installed dynamic libraries, however when I try to run the program I get the following error: dyld: Library not loaded: libSDL2-2.0.1.dylib Referenced from: /Volumes/OSXData/Users/danielrs/Development/Projects/Test/build/./ClearScreen Reason: image not found Trace/BPT trap: 5 Executinng the command otool -L ClearScreen gives: [...] read more
c++
macos
cmake
0votes
1answer

How do I flip the most significant bit in MIPS?

I am trying to convert a number in 2's complement in MIPS to sign magnitude. To do this, I think I would: 1. subtract 1 2. 'Not' the word 3. Flip the most significant bit For example, 11111111111111111111111111111001 (0xfffffff9) would become 00000000000000000000000000000111 (0x00000007). I figured out how to do step [...] read more
mips
0votes
2answers

Android Studio Failed to load map

I have run into some problems while creating an app. It says: Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors). I have consulted other posts on this question, but it has not solved my issue. I had [...] read more
java
android
google-maps
google-maps-api-3
0votes
1answer

How to save a group of registers and restore them later?

The following example from the book Arm System Developers Guide shows an STM increment before instruction followed by an LDM decrement after instruction. PRE r0 = 0x00009000 r1 = 0x00000009 r2 = 0x00000008 r3 = 0x00000007 STMIB r0!, {r1-r3} MOV r1, #1 MOV r2, #2 MOV r3, #3 PRE(2) r0 [...] read more
assembly
arm
cpu-registers
instruction-set
0votes
1answer

linux x86 tcp bind shellcode (GAS syntax) bind() does not return zero

i'm trying to make a tcp bind shellcode on linux x86 architecture and i'm using GAS syntax. i could successfully call socketcall(SYS_SOCKET) and got a file descriptor (which is not NULL) now that im trying to use that fd and make a SYS_BIND call i seem to get a return [...] read more
linux
sockets
assembly
gas
shellcode
0votes
1answer

Test value of LPTSTR

I have two strings I want to compare. I was following the named piper server/client example of this page: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365592%28v=vs.85%29.aspx Anyhow, in my "GetAnswerToRequest" I define a string like so LPTSTR option = TEXT("THIS IS A TEST"); and then I try to compare it to the pchRequest parameter, which is [...] read more
c
winapi
0votes
1answer

How to load a stacktrace into Visual Studio 2013 for offline debugging?

Well i'm in the situation where my dll file passes all the tests but somehow on the production server it sometimes does crash at the least expected moments. There is actually no possibility to run a debugger but there is a generated stacktrace file: An exception occured at address 0x0045DA51 [...] read more
windows
debugging
visual-c++
visual-studio-2013
visual-studio-debugging
0votes
2answers

Access violation with using structures and arrays without using pointers

So I'm trying to make this program that takes a struct array in a struct array and assigns a random number from 1-9 to it struct multiDim { int t[16]; }; struct multi { multiDim t[16]; }; multi generate() { multi m; srand(time(NULL)); for (int i = 0;i <= 16; [...] read more
c++
arrays
struct
visual-studio-2013
access-violation
0votes
1answer

Bit-shifting in Java

Why is it that: return 1 | (1 << 32) // returns 0x00000001 but: return 6 | (1 << 32) // returns 0x00000007 I was expecting the latter to return 0x00000006. What type of bitmask can be OR-ed with the expression to generate 0x00000006 for 6 | (1 << 32)? read more
java
bit-manipulation
0votes
1answer

Setting a SAFARRAY output parameter in a COM method

I'm trying to study and reimplement a (black-box) COM server for an existing (black-box) client. I successfully registered a dummy implementation by importing the type library and creating a .NET class that implements the interface of the server. I have a problematic signature that does not seem to work when [...] read more
c#
com
interop
0votes
3answers

Passing variable value into a TextView

I am new at this world, and I just learned how to do some simple code in objective-c but now I am trying to learn basis even for Java and Android. So .. This would be simple even for me with Obj-C but I am having troubles with Java. I'd [...] read more
android
0votes
1answer

Strange stack trace in Windows Phone 8

Hi I have a Windows phone app which is getting a number of crashes reported by the dev center. I recently did an upgrade which included some minor changes and the moving of some common code from a Silverlight class library to a Windows phone class library (so that I [...] read more
windows-phone-8
crash-dumps
0votes
1answer

How to view internet-passwords from Keychain using Java (mac)

I would like to create a simple java app (for mac) that takes in a website and outputs my password associated with the website in Keychain. My problem is that my app can't read the password from the output. If I manually write: security find-internet-password -gs www.google.com into the Terminal [...] read more
java
terminal
passwords
keychain
inputstreamreader
0votes
1answer

Unable to port FSCTL_GET_RETRIEVAL_POINTERS call to C#

I'm running into an odd problem trying to call DeviceIOControl with FSCTL_GET_RETRIEVAL_POINTERS in C#. I've tried the code from Jeffrey Walls blog as well as my own code but keep running into the same problem. The problem seems to be in the Extents structure in RETRIEVAL_POINTERS_BUFFER. When Extents[0]->NextVcn is 1 [...] read more
c#
c++
winapi
memory
interop
0votes
3answers

I am using MC9S08DZ60.h of CodeWarrior to create a Visual Studio project I am getting error C2054: expected '(' to follow '_PTDD'

I am using MC9S08DZ60.h of CodeWarrior to create a Visual Studio project. I am getting: > error C2054: expected '(' to follow '_PTDD'`. MC9S08DZ60.h is a header file for microcontroller MC9S08DZ60 (from Freescale Semiconductor): typedef union { byte Byte; struct { byte PTDDD0 :1; /* Data Direction for Port D [...] read more
c
visual-studio
microcontroller
codewarrior
0votes
1answer

Publishing Flash to iOS app crashes when more than 45 swfs included

I'm experiencing the strangest problem. I've built an app in Flash CS6. The assets folder contains 70 swfs (no code just images and sprites). When I try to publish, Flash crashes. After many attempts, I discovered that the failure point is reached when I include more than 45 swfs e.g. [...] read more
ios
flash
flash-cs6
0votes
1answer

Crash report when user accesses the addressbook

Incident Identifier: 236B9D70-0A5E-49B4-8A60-797CC9FEFF2BCrashReporter Key: 38c652a88ce03779805e96d5c4e36f9df820deba Hardware Model: xxx Process: LuckyOne [3493] Path: /var/mobile/Applications/7878C92C-5629-4163-AA84-B1D1C6676D2A/LuckyOne.app/LuckyOne Identifier: LuckyOne Version: ??? (???) Code Type: ARM (Native) Parent Process: launchd [1] Date/Time: 2013-06-26 15:24:11.148 -0700 OS Version: iOS 6.1.3 (10B329) Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x000000000000defe Crashed Thread: 1 Thread [...] read more
ios
abaddressbook
-1votes
1answer

Intel 82599EB Not Working on Linux

I have just received my new X310 + Intel 82599EB. I cannot ping the device. 1. If I connect the X310 to the 1Gb ethernet port of my host then everything works fine; 2. If I connect the X310 to the 10Gb 82599EB with the supplied cable, I cannot ping [...] read more
linux
networking
intel
10gbethernet
-1votes
0answers

Can't recognize the shellcode after overflowing the return address

I'm sure that I got the return address right. But I got a Segmentation fault after returning from the main function. I'm using 32-bit Debian GNU/Linux 10 (buster). The c program is: // victim.c #include <string.h> int main(int argc, char* argv[]) { char little_array[512]; if(argc > 1) strcpy(little_array, argv[1]); return [...] read more
c
stack-overflow
shellcode
-1votes
1answer

Defusing a Binary Bomb: phase_5

Here is my understanding of what the code is doing, and how I'd like to solve it: First I need to find a string, and then reverse engineer that string, based on the 16-byte lookup table that I have found. I do know that the values of these "offsets" must [...] read more
assembly
x86
reverse-engineering
-1votes
1answer

Application Not running on Emulator due to “Binder Thread Pool”

10-07 00:23:49.443 1268-1268/? E/hwservicemanager: BINDER_SET_INHERIT_FIFO_PRIO failed with error -1 --------- beginning of system 10-07 00:23:51.504 1268-1268/? E/hw-IPCThreadState: binder thread pool (1 threads) starved for 1871 ms 10-07 00:23:55.324 1271-1280/? E/vold: Failed to pclose /system/bin/sgdisk --android-dump /dev/block/vold/disk:253,48 : Success 10-07 00:23:55.947 1271-1280/? E/vold: Failed to pclose /system/bin/blkid -c /dev/null -s TYPE [...] read more
android
build
android-emulator
-4votes
1answer

Application Not running on Emulator due to "Binder Thread Pool"

I am trying open the application on Emulator, But unable to On Logcat I am getting this 10-07 00:23:49.443 1268-1268/? E/hwservicemanager: BINDER_SET_INHERIT_FIFO_PRIO failed with error -1 --------- beginning of system 10-07 00:23:51.504 1268-1268/? E/hw-IPCThreadState: binder thread pool (1 threads) starved for 1871 ms 10-07 00:23:55.324 1271-1280/? E/vold: Failed to pclose [...] read more
android-emulator
mobile-application

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