Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69657

Re: segmentation fault, executable python file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'binary': 0.07; 'subject:file': 0.07; 'executable': 0.09; 'things,': 0.09; 'runs': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'fine.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'guessing': 0.16; 'sorts': 0.16; 'unix,': 0.16; 'subject:python': 0.16; 'fix': 0.17; 'wrote:': 0.18; 'file,': 0.19; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'versions': 0.24; 'cc:2**0': 0.24; 'script': 0.25; 'possibly': 0.26; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'matching': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'run': 0.32; 'another': 0.32; 'says': 0.33; 'fri,': 0.33; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'two': 0.37; 'pm,': 0.38; 'how': 0.40; 'most': 0.60; 'kind': 0.63; 'pc,': 0.91; '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=7VwSnukVyKfgh5q+dMw7eX9vJLzGaeY+09Bgsrtvn9M=; b=Nbdn0T6R0HG9kAIY9DK10a2Kzqqne6pbbgCYoENKv6VymKJyTqZ4UJ39MADoTDF1Me NFzfRx9f3DVt6i6aZsb2ZPFuQh6mat5xnQENsJ90kYYH9Kq3tWjFoeVqtNxnZnTsSEEz WjGNjB8BJvq6XafOo2xvitwOJtJXqc0XK0IEynuPcgI+/ZvlKXkPFAOF57co7GKmd7Kc CnUQUrpy1aLLaWboYuc4moL5Zy1gv32/W9mcuNboBIjXZtEjDeFtkMqrs6eWtRu7LuYY NGWYlO2TP6tXDYxLKW2dXIp/roDgiz3UO1bbYGqrf/jS9yJ2Q9uFtLiJ0yAhaPbL3idL gGHQ==
MIME-Version 1.0
X-Received by 10.66.129.133 with SMTP id nw5mr13570761pab.98.1396601853681; Fri, 04 Apr 2014 01:57:33 -0700 (PDT)
In-Reply-To <d673b6a7-e339-42d7-9a4a-3ffe79981879@googlegroups.com>
References <d673b6a7-e339-42d7-9a4a-3ffe79981879@googlegroups.com>
Date Fri, 4 Apr 2014 19:57:33 +1100
Subject Re: segmentation fault, executable python file
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.15
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.8889.1396601858.18130.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1396601858 news.xs4all.nl 2935 [2001:888:2000:d::a6]:57813
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:69657

Show key headers only | View raw


On Fri, Apr 4, 2014 at 7:36 PM,  <fanny@itprovent.com> wrote:
> Hello,
> I generated an executable python file using cxfreeze.
> I run that file, it runs fine.
> But when I run it on another PC, it don't run. I try to it via terminal, and it says "Segmentation fault(core dump)". I try again run it with sudo, it says nothing and nothing happend.
>
> Could any of you please let me know how to fix this?

Freezing a Python script into a binary requires matching all sorts of
things, including the word size (32-bit or 64-bit), most likely the
versions of various shared libraries, and possibly other
compatibilities as well. What are the two computers? I'm guessing your
second one is some kind of Unix, but that's as much as I can tell.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

segmentation fault, executable python file fanny@itprovent.com - 2014-04-04 01:36 -0700
  Re: segmentation fault, executable python file Chris Angelico <rosuav@gmail.com> - 2014-04-04 19:57 +1100
    Re: segmentation fault, executable python file fanny@itprovent.com - 2014-04-04 02:06 -0700
      Re: segmentation fault, executable python file Chris Angelico <rosuav@gmail.com> - 2014-04-04 20:17 +1100
      Re: segmentation fault, executable python file Jurko Gospodnetić <jurko.gospodnetic@pke.hr> - 2014-04-04 13:05 +0200
        Re: segmentation fault, executable python file fanny@itprovent.com - 2014-04-29 22:10 -0700

csiph-web