[ python-Bugs-1723338 ] Crash in ctypes callproc function with unicode string arg

SourceForge.net noreply at sourceforge.net
Wed May 23 06:06:36 CEST 2007


Bugs item #1723338, was opened at 2007-05-22 03:43
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1723338&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Colin Laplace (claplace)
>Assigned to: Thomas Heller (theller)
Summary: Crash in ctypes callproc function with unicode string arg

Initial Comment:
I've recently came to a bug using ctypes.
I was using ctypes to call a syscall and and passing it
a string argument, which was in fact in unicode.
This resulted in a python crash in the callproc function.

You can easily reproduce the crash by launching the attached python file (or at this link: https://core.fluendo.com/elisa/trac/browser/branches/rewrite-1/elisa/extern/inotify.py 
)

tested with python 2.5

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2007-05-22 21:06

Message:
Logged In: YES 
user_id=33168
Originator: NO

Thomas, could you take a look?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1723338&group_id=5470


More information about the Python-bugs-list mailing list