Getting aborted when writing to bar0 of pci