Re: [Pyobjc-dev] PyObjC code injection on Leopard
Brought to you by:
ronaldoussoren
|
From: Ronald O. <ron...@ma...> - 2007-11-13 08:31:57
|
On Tuesday, November 13, 2007, at 08:53AM, "Luc Heinrich" <lu...@ho...> wrote: >On 13 nov. 07, at 00:24, Bill Bumgarner wrote: > >> The injecting process will, at the least, need to be in a >> particular group/user (that I can't remember right now). Try >> injecting as root and see if it works (as root can do all). The group was 'procmod' on Tiger/x86, I'd guess it is the same on Leopard. > >Trying to inject as root causes a segfault, so at least something is >happening... :) objc.inject isn't tested automaticly and not something I use very often (basicly only at demo's), hence it can break without me noticing that. Yet another item for my todo list :-( Ronald > >Process: Python [6466] >Path: /System/Library/Frameworks/Python.framework/Versions/ >2.5/Resources/Python.app/Contents/MacOS/Python >Identifier: Python >Version: ??? (???) >Code Type: PPC (Native) >Parent Process: bash [6445] > >Date/Time: 2007-11-13 08:47:39.189 +0100 >OS Version: Mac OS X 10.5 (9A581) >Report Version: 6 > >Exception Type: EXC_BAD_ACCESS (SIGSEGV) >Exception Codes: KERN_INVALID_ADDRESS at 0x00000000ffffffff >Crashed Thread: 0 > >Thread 0 Crashed: >0 _objc.so 0x0028f9c0 machImageForPointer + 280 >1 _objc.so 0x0028fb08 mach_inject + 60 >2 _objc.so 0x0029b0c4 objc_inject + 1116 >3 _objc.so 0x0029499c >PyObjCMethodSignature_AsDict + 8940 >4 org.python.python 0x00143f68 PyObject_Call + 48 >5 org.python.python 0x001c72bc PyEval_EvalFrameEx + 18200 >6 org.python.python 0x001c8a34 PyEval_EvalCodeEx + 2048 >7 org.python.python 0x001c6cc4 PyEval_EvalFrameEx + 16672 >8 org.python.python 0x001c8a34 PyEval_EvalCodeEx + 2048 >9 org.python.python 0x001c8b54 PyEval_EvalCode + 44 >10 org.python.python 0x001e3554 PyErr_Display + 2100 >11 org.python.python 0x001e3c98 PyRun_FileExFlags + 148 >12 org.python.python 0x001e5868 PyRun_SimpleFileExFlags >+ 424 >13 org.python.python 0x001f2374 Py_Main + 2808 >14 org.python.pythonapp 0x00001f84 0x1000 + 3972 > >Thread 0 crashed with PPC Thread State 32: > srr0: 0x0028f9c0 srr1: 0x0200f030 dar: 0xffffffff dsisr: >0x40000000 > r0: 0x0028f9bc r1: 0xbffff160 r2: 0xa046f540 r3: >0xffffffff > r4: 0x0009efec r5: 0x00000001 r6: 0x00000000 r7: >0x00000003 > r8: 0x00000000 r9: 0x00000000 r10: 0x8fe0396c r11: >0xa0436898 > r12: 0x91f21cdc r13: 0x00000171 r14: 0x00021c94 r15: >0x0056dedc > r16: 0x0057c37c r17: 0x002bac7c r18: 0x002bac7c r19: >0x0000008c > r20: 0xbffff268 r21: 0xbffff26c r22: 0xbffff274 r23: >0xcafebabe > r24: 0xbffff270 r25: 0x00276000 r26: 0x0000005b r27: >0x0029a6bc > r28: 0x00000003 r29: 0x0009efec r30: 0xffffffff r31: >0x0028f8bc > cr: 0x84442448 xer: 0x00000004 lr: 0x0028f9bc ctr: >0x91f21cdc >vrsave: 0x00000000 > >... >... > >-- >Luc Heinrich > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Pyobjc-dev mailing list >Pyo...@li... >https://lists.sourceforge.net/lists/listinfo/pyobjc-dev > > |