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


Groups > comp.lang.python > #69657

Re: segmentation fault, executable python file

References <d673b6a7-e339-42d7-9a4a-3ffe79981879@googlegroups.com>
Date 2014-04-04 19:57 +1100
Subject Re: segmentation fault, executable python file
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.8889.1396601858.18130.python-list@python.org> (permalink)

Show all headers | 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