I was using a python script to emulate a printer based on platform_AddPrinter test:
This worked until about 2-3 weeks ago. Now I get a crash.
My suspicion is that something has changed recently in SELinux policies.
How do I track this down?
Here's the trace for 10191 canary build:
Crash reason: SIGSYS
Crash address: 0x0
Process uptime: not available
Thread 0 (crashed)
r0 = 0xb522ab0c r1 = 0xbeef49f8 r2 = 0xb522e8d4 r3 = 0x0001aaa8
r4 = 0xb522ab0c r5 = 0xbeef49f8 r6 = 0x00000003 r7 = 0x00000063
r8 = 0xbeef4ab4 r9 = 0x00000000 r10 = 0xb522daa8 r12 = 0xb522de28
fp = 0x00000000 sp = 0xbeef49a4 lr = 0xb521e24d pc = 0xb5174318
Found by: given as instruction pointer in context
1 libselinux.so.1!init_lib [init.c : 38 + 0x7]
r4 = 0xb522ab0c r5 = 0xbeef49f8 r6 = 0x00000003 r7 = 0xbeef4a58
r8 = 0xbeef4ab4 r9 = 0x00000000 r10 = 0xb522daa8 fp = 0x00000000
sp = 0xbeef49a8 pc = 0xb521e24d
Found by: call frame info
r4 = 0x00000002 r5 = 0xb521e209 r6 = 0x00000003 r7 = 0xbeef4aa4
r8 = 0xbeef4ab4 r9 = 0x00000002 r10 = 0xb522daa8 fp = 0x00000000
sp = 0xbeef4a60 pc = 0xb523baa5
Found by: call frame info
r4 = 0x00000000 r5 = 0x00000001 r6 = 0x00000003 r7 = 0xbeef4aa4
r8 = 0xbeef4ab4 r9 = 0xb5258908 r10 = 0x00000000 fp = 0x00000000
sp = 0xbeef4a80 pc = 0xb523bb83
Found by: call frame info
r4 = 0x00000000 r5 = 0x00000000 r6 = 0x0a5327b1 r7 = 0x00000000
r8 = 0x00000000 r9 = 0x00000000 r10 = 0xb5257fb0 fp = 0x00000000
sp = 0xbeef4aa0 pc = 0xb5230ab3