Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #88153
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'affected': 0.07; 'problem:': 0.07; 'cc:addr:python-list': 0.11; '.py': 0.16; 'fiddle': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:ctypes': 0.16; 'subject:usage': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'cc:addr:python.org': 0.22; 'skip:l 30': 0.24; 'subject:problem': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'code': 0.31; 'open': 0.33; 'subject:with': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'next': 0.36; 'skip:[ 10': 0.38; 'rather': 0.38; 'more': 0.64; 'it!': 0.67; 'mar': 0.68; 'email,': 0.69; 'glad': 0.83; '2015': 0.84; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=5R5ZMRYYxpkjP57I/3XRtIIIZcEn0ElIlVmOwPUew60=; b=hupkUm+AJv/MeQHpWeMM+cN+7fwAEUEI0Bya5cu2qdolo3LMPzi2sXmYKN5Hes2pN6 nMIhYjHmC10fd146dkQEjNfFHmylFTbcjZcxb2J22hS9Bgds4YG5MlQsi5TdQVM6/IxF Tz+i7sBpLF6ba0crJgid89O8LRP/50d/vAub4rRs0YR4BOoJbGYEi+xMek32C4koVIM8 Ts00hYo/knQXkN3qqCBDdsrcoiL1MN49aJcD+cnoi57+VjAxRNwSzvJTW9TL180Lw0rb 5K6erQHoI4G5xuqHUjWGWMCHiPzpBugpDPGQHaosduzGot6wV4MN4ctrqgrNgmMO+fWP L7ig== |
| MIME-Version | 1.0 |
| X-Received | by 10.42.238.140 with SMTP id ks12mr5362612icb.12.1427462823890; Fri, 27 Mar 2015 06:27:03 -0700 (PDT) |
| In-Reply-To | <CAMA3c49YM0keTjigowO1We3427O1Auxh4K0f4cvmizpoS6LaGA@mail.gmail.com> |
| References | <CAMA3c4_7vpeeVTNdac3EP1ZW8POr5XtZMkt2Tr684aiP+Vfy0A@mail.gmail.com> <CAMA3c49YM0keTjigowO1We3427O1Auxh4K0f4cvmizpoS6LaGA@mail.gmail.com> |
| Date | Sat, 28 Mar 2015 00:27:03 +1100 |
| Subject | Re: ctypes problem: segfault with pointer usage |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.19 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.250.1427462832.10327.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1427462832 news.xs4all.nl 2956 [2001:888:2000:d::a6]:51327 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:88153 |
Show key headers only | View raw
On Sat, Mar 28, 2015 at 12:22 AM, Bruno Cauet <brunocauet@gmail.com> wrote: > Found the problem: I just have to add libgio.g_object_unref.argtypes = > [ctypes.c_void_p] > It now works flawlessly! Sorry for the noise. Glad you solved it! I had a quick look at your email, but since you attached your code rather than including it in-line, I would have had to fiddle around a bit (Gmail won't let me just look at a .py attachment in the browser, I have to download it and open it in my editor). Tip: Next time, include your code in the body of the email, and people are that much more likely to look at it. Of course, the rubber-ducking effect isn't affected by this :) ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: ctypes problem: segfault with pointer usage Chris Angelico <rosuav@gmail.com> - 2015-03-28 00:27 +1100
csiph-web