varun...@gmail.com writes:
> Hello Everyone,
>
> I am trying to solve a mixed-integer problem using Cplex Python API
> and I get this error Segmentation fault (core dumped). i am not able
> to figure out the reason for this.
> Traceback
>
> srva@hades:~$ python RW10.py --output test --logPath log
On 06/01/2014 12:28 PM, varun...@gmail.com wrote:
Hello Everyone,
I am trying to solve a mixed-integer problem using Cplex Python API and I get
this error Segmentation fault (core dumped). i am not able to figure out the
reason for this.
Traceback
srva@hades:~$ python RW10.py --output test --
I try gdb the executable file in another machine
and get this:
Error -3 from inflate: incorrect header check
Error decompresing struct
if I do gdb in my machine (where I generate the executable file)
I get nothing, and the app work correctly.
I try to search about that, but i don't get it.
Coul
Hi.
On 4.4.2014. 11:17, Chris Angelico wrote:
But from here you need someone more familiar with cxfreeze. All I
can advise is to compare installed packages on each; maybe you
have multiple versions of some library or something.
From what little I know of it, it freezes as little as possibl
On Fri, Apr 4, 2014 at 8:06 PM, wrote:
> the first one is ubuntu 12.04 64-bit (where i generate the executable file),
> and the second one is the same. Any idea? I confused for days until today.
>
> Thanks for your replay
That's a good start. Next thing to try is running your executable
under g
the first one is ubuntu 12.04 64-bit (where i generate the executable file),
and the second one is the same. Any idea? I confused for days until today.
Thanks for your replay
On Friday, April 4, 2014 3:57:33 PM UTC+7, Chris Angelico wrote:
> On Fri, Apr 4, 2014 at 7:36 PM, wrote:
>
> > Hello,
On Fri, Apr 4, 2014 at 7:36 PM, 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
> s
On Aug 6, 6:35 am, Vipul Raheja wrote:
> Hi,
>
> I have wrapped a library from C++ to Python using SWIG. But when I
> import it in Python, I am able to work fine with it, but it gives a
> segmentation fault while exiting. Following is the log:
>
> vipul@vipul-laptop:~/ossim-svn/src/pyossim/swig$ p
Vipul Raheja wrote:
> I have wrapped a library from C++ to Python using SWIG. But when I
> import it in Python, I am able to work fine with it, but it gives a
> segmentation fault while exiting.
1. Use a debugger
Run python with "gdb python", import the module and exit. The debugger
should then s
On Sat, Aug 6, 2011 at 2:34 PM, Vipul Raheja wrote:
> Here's the link: www.geofemengineering.it/data/master_wrap.cxx
> Thanks and Regards,
> Vipul Raheja
Ugh. Unfortunately that file is somewhat lengthy... I hate to say
"tl;dr" to people, but... is there any way to simplify that down?
Perhaps th
I have little reason to doubt that it's related to referencing counting,
but:
http://stromberg.dnsalias.org/~dstromberg/checking-early.html
On Sat, Aug 6, 2011 at 3:35 AM, Vipul Raheja wrote:
> Hi,
>
> I have wrapped a library from C++ to Python using SWIG. But when I
> import it in Python, I a
Hi,
I did look out for the problem's solution but have been struggling with it
ever since. I also asked around on IRC too but haven't quite progressed
towards the solution. Here is the link to the swig-generated .cxx file which
we need to look into for the answers. Could you please have a look at
On Sat, Aug 6, 2011 at 12:16 PM, Vipul Raheja wrote:
> Hi Chris,
> Thanks for the reply.
> However, the error occurs even if I don't do anything, that is, even if I
> simply import the library and exit() after that.
> I created a file a.py whose contents were the following:
> import pyossim
> exit
Hi Chris,
Thanks for the reply.
However, the error occurs even if I don't do anything, that is, even if I
simply import the library and exit() after that.
I created a file a.py whose contents were the following:
import pyossim
exit()
Upon execution, the log was as follows:
vipul@vipul-laptop:
On Sat, Aug 6, 2011 at 11:35 AM, Vipul Raheja wrote:
> Hi,
>
> I have wrapped a library from C++ to Python using SWIG. But when I
> import it in Python, I am able to work fine with it, but it gives a
> segmentation fault while exiting. Following is the log:
The most likely cause of this is that y
On Thu, Oct 15, 2009 at 9:08 PM, ankita dutta wrote:
> hi,
> well, even i was also using matplotlib for some time, and it was working
> fine.
> but this time i use it for data which is quite large,( my input file has
> single column of float values ,
> and length ( no. of rows) of this column is 1
hi,
well, even i was also using matplotlib for some time, and it was working
fine.
but this time i use it for data which is quite large,( my input file has
single column of float values ,
and length ( no. of rows) of this column is 10,000,000. )
may be because of size it might have crashed.
any wa
On Thu, Oct 15, 2009 at 7:46 PM, ankita dutta wrote:
> thanx david,
>
> yes ,i am using matplotlib for plotting graph.
> i am using this lines in my programme:
>
> "import matplotlib.pyplot as plt"
>
> now, if the problem with matplotlib ( and i will send them mail) ,
The problem is how matplotli
hi chris,
i am using matplotlib for plotting graph, as following:
"import matplotlib.pyplot as plt"
can you kindly tell me how to fix this problem(crashing) ?
On Thu, Oct 15, 2009 at 3:36 PM, Chris Rebert wrote:
> On Thu, Oct 15, 2009 at 2:14 AM, ankita dutta
> wrote:
> > hi,
> > i am relat
thanx david,
yes ,i am using matplotlib for plotting graph.
i am using this lines in my programme:
"import matplotlib.pyplot as plt"
now, if the problem with matplotlib ( and i will send them mail) ,
but can you kindly tell alternatively , how can i plot graph for my
programme.
ankita
On Thu,
On Thu, 2009-10-15 at 14:44 +0530, ankita dutta wrote:
> hi,
> i am relatively new to python programming,
> i am facing the following problem:
>
> i am tring to simply obtain data from a file ( "B.txt" , data in
> this file are in single column and floats)
> and plot a graph between those value
On Thu, Oct 15, 2009 at 2:14 AM, ankita dutta wrote:
> hi,
> i am relatively new to python programming,
> i am facing the following problem:
>
> i am tring to simply obtain data from a file ( "B.txt" , data in this file
> are in single column and floats)
> and plot a graph between those values a
On Thu, Oct 15, 2009 at 6:14 PM, ankita dutta wrote:
> is dumped
> segmentation fault
>
>
It looks like you are using matplotlib, and matplotlib is the one
likely to segfault. You could check that it is indeed the case by just
commenting the part which does the plot - but I would be very
surpr
On Apr 14, 9:00 pm, bieff...@gmail.com wrote:
> On Apr 15, 12:39 am, sanket wrote:
>
>
>
> > Hello All,
>
> > I am dealing with this weird bug.
> > I have a function in C and I have written python bindings for it using
> > ctypes.
>
> > I can call this function for couple of times and then suddenl
>
> Thanks Diez,
>
> I used the gdb but it just crashed and kicked my out of gdb prompt.
> how can I get a stack trace?
That's odd, has never happened for me before. Can you show us what you do
exactly, and what gdb & co say?
Diez
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 15, 12:39 am, sanket wrote:
> Hello All,
>
> I am dealing with this weird bug.
> I have a function in C and I have written python bindings for it using
> ctypes.
>
> I can call this function for couple of times and then suddenly it
> gives me seg fault.
> But I can call same function from a
On Apr 14, 6:45 pm, Aaron Brady wrote:
> On Apr 14, 6:04 pm, sanket wrote:
>
>
>
> > On Apr 14, 4:00 pm, MRAB wrote:
>
> > > sanket wrote:
> > > > Hello All,
>
> > > > I am dealing with this weird bug.
> > > > I have a function in C and I have written python bindings for it using
> > > > ctypes.
Aaron Brady wrote:
On Apr 14, 6:04 pm, sanket wrote:
On Apr 14, 4:00 pm, MRAB wrote:
sanket wrote:
Hello All,
I am dealing with this weird bug.
I have a function in C and I have written python bindings for it using
ctypes.
I can call this function for couple of times and then suddenly it
On Apr 14, 6:04 pm, sanket wrote:
> On Apr 14, 4:00 pm, MRAB wrote:
>
>
>
> > sanket wrote:
> > > Hello All,
>
> > > I am dealing with this weird bug.
> > > I have a function in C and I have written python bindings for it using
> > > ctypes.
>
> > > I can call this function for couple of times an
sanket wrote:
On Apr 14, 4:00 pm, MRAB wrote:
sanket wrote:
Hello All,
I am dealing with this weird bug.
I have a function in C and I have written python bindings for it using
ctypes.
I can call this function for couple of times and then suddenly it
gives me seg fault.
But I can call same func
On Apr 14, 3:56 pm, "Diez B. Roggisch" wrote:
> sanket schrieb:
>
> > Hello All,
>
> > I am dealing with this weird bug.
> > I have a function in C and I have written python bindings for it using
> > ctypes.
>
> > I can call this function for couple of times and then suddenly it
> > gives me seg f
On Apr 14, 4:00 pm, MRAB wrote:
> sanket wrote:
> > Hello All,
>
> > I am dealing with this weird bug.
> > I have a function in C and I have written python bindings for it using
> > ctypes.
>
> > I can call this function for couple of times and then suddenly it
> > gives me seg fault.
> > But I ca
sanket wrote:
Hello All,
I am dealing with this weird bug.
I have a function in C and I have written python bindings for it using
ctypes.
I can call this function for couple of times and then suddenly it
gives me seg fault.
But I can call same function from a C code for any number of times.
I
sanket schrieb:
Hello All,
I am dealing with this weird bug.
I have a function in C and I have written python bindings for it using
ctypes.
I can call this function for couple of times and then suddenly it
gives me seg fault.
But I can call same function from a C code for any number of times.
Marcus.CM schrieb:
Hi,
I use the following ctype to load a .so library in Linux.
vr = ctypes.CDLL(sstr)
And the following to release it so that i can reload the library without
quiting the python script.
_ctypes.dlclose(vr._handle)
These calls are guarded by a writer lock and access to
On May 21, 6:32 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> I have a simple DB table that stores md5 signature pairs:
>
>Table "public.duplicate"
> Column | Type | Modifiers
> --+---+---
> sig | bytea | not null
> orig_sig | bytea | not null
> Indexes:
> "
Hi,
I found the reason for the segmentation fault and hope that my solution
might be helpful for somebody else some day :)
On Tue, 2008-04-08 at 19:31 +0900, Dietrich Bollmann wrote:
Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0xb046ab90 (LWP 9854)]
> threadstate
Abandoned wrote:
> I run a my script and 3-4 minutes later give me an error
> "segmentation fault".
> What is the reason of this error ?
The reason is that the process tries to write to a memory address it
outside of its allocated segments.
Regards,
Björn
--
BOFH excuse #20:
divide-by-zero e
Bruno Desthuilliers wrote:
> Jorge Godoy a écrit :
>> Without seeing any code, it is hard to say anything. But the answer to
>> the ultimate question is "42".
>
> Indeed. Err, what was the question, exactly ?-)
As soon as calculations are finished, you'll know. :-)
--
http://mail.python.org/ma
Jorge Godoy a écrit :
> Abandoned wrote:
>
>> Hi..
>> I run a my script and 3-4 minutes later give me an error "segmentation
>> fault".
>> What is the reason of this error ?
>>
>> I use in my script:
>> Threading
>> Psycopg2
>> open & write to txt
>> urlopen
>>
>> My platform is ubuntu linux.
>>
>
Abandoned wrote:
> Hi..
> I run a my script and 3-4 minutes later give me an error "segmentation
> fault".
> What is the reason of this error ?
>
> I use in my script:
> Threading
> Psycopg2
> open & write to txt
> urlopen
>
> My platform is ubuntu linux.
>
> I'm sorry my bad english.
> King re
"pycraze" <[EMAIL PROTECTED]> writes:
>I would like to ask a question. How do one handle the exception due to
>Segmentation fault due to Python ? Our bit operations and arithmetic
>manipulations are written in C and to some of our testcases we
>experiance Segmentation fault from the python librari
[EMAIL PROTECTED] wrote:
> "Simon Forman" <[EMAIL PROTECTED]> writes:
>
> > pycraze wrote:
> >> I would like to ask a question. How do one handle the exception due to
> >> Segmentation fault due to Python ? Our bit operations and arithmetic
> >> manipulations are written in C and to some of our te
"Simon Forman" <[EMAIL PROTECTED]> writes:
> pycraze wrote:
>> I would like to ask a question. How do one handle the exception due to
>> Segmentation fault due to Python ? Our bit operations and arithmetic
>> manipulations are written in C and to some of our testcases we
>> experiance Segmentatio
pycraze wrote:
> I would like to ask a question. How do one handle the exception due to
> Segmentation fault due to Python ? Our bit operations and arithmetic
> manipulations are written in C and to some of our testcases we
> experiance Segmentation fault from the python libraries.
>
>From what
pycraze wrote:
> I would like to ask a question. How do one handle the exception due to
> Segmentation fault due to Python ? Our bit operations and arithmetic
> manipulations are written in C and to some of our testcases we
> experiance Segmentation fault from the python libraries.
>
> If i know
pycraze wrote:
> I would like to ask a question. How do one handle the exception due to
> Segmentation fault due to Python ?
This is confusing. A seg fault kills the process immediately. No
exception (in the Python sense of that word) is raised.
> Our bit operations and arithmetic
> manipulations
pycraze wrote:
> I would like to ask a question. How do one handle the exception due to
> Segmentation fault due to Python ? Our bit operations and arithmetic
> manipulations are written in C and to some of our testcases we
> experiance Segmentation fault from the python libraries.
>
> If i know h
Unfortunately (i guess), I am not doing any XML. However, I am taking
the previous suggestion of putting print lines in every other line of
my code and then seeing where it crashes. Hopefully, that will solve
the problem.
thanks for the suggestions everybody
-- Kiran
Frank Millman wrote:
> Kira
Kiran wrote:
> Hello All,
> In my program, I have a main thread which is the GUI (wxPython) and
> then a thread which goes and reads data from a socket. The reason this
> is in a different thread is because the data might take some time to
> come back, and I want to have the GUI to be responsiv
if you don't know exactly which line of code causes the segfault, use
print statements to determine that. then try to either
redesign/refactor so that line isn't necessary, or protect its
operation somehow.
if you do know, tell us what it is and we might not need to see all
your code.
Kiran wrote:
>Now I'm even more confused. What kind of array is "error" here? First you tell
>me it's a (25000, 80) array and now you are telling me it is a (25000,) array.
>Once you've defined what "error" is, then please tell me what the quantity is
>that you want to calculate. I think I told you several diff
True! it is rediculous/insane as I mentioned and noted and agreed with
you (in all your responses) and was my problem, however, not wrong
(same result), as I was just simply noting (not to be right), although,
yes, insane. Thanks again.
--
http://mail.python.org/mailman/listinfo/python-list
py_genetic wrote:
>>No! matrix objects use matrix multiplication for *. You seem to need
>>elementwise
>>multiplication.
>
> No! when you mult a vector with itself transposed, the diagonal of the
> resulting matrix is the squares of each error (albeit you do a lot of
> extra calc), then sum the s
py_genetic wrote:
>>No! matrix objects use matrix multiplication for *. You seem to need
>>elementwise
>>multiplication.
>
> No! when you mult a vector with itself transposed, the diagonal of the
> resulting matrix is the squares of each error (albeit you do a lot of
> extra calc), then sum the s
>No! matrix objects use matrix multiplication for *. You seem to need
>elementwise
>multiplication.
No! when you mult a vector with itself transposed, the diagonal of the
resulting matrix is the squares of each error (albeit you do a lot of
extra calc), then sum the squares, ie trace(). Its a ni
[EMAIL PROTECTED] wrote:
> This is great advise and much appreciated. It was the answer to my
> problem, thank you. However, isn't this faster...
> scipy.sum(scipy.array(scipy.matrix(error)*scipy.matrix(error)), axis =
> None)
> as we you explained in my other posting?
No! matrix objects use ma
>I'm afraid you're using terminology (and abbreviations!) that I can't follow.
>Let me try to restate what's going on and you can correct me as I screw up. You
>have a neural net that has 80 output units. You have 25000 observations that
>you
>are using to train the neural net. Each observation ve
> If I run it from the shell (unix) I get: Segmentation fault and see a
> core dump in my processes. If I run it in the python shell I get as
> above:
> File "D:\Python24\Lib\site-packages\numpy\core\defmatrix.py", line
> 149, in
That's a Window's path... Does Windows even make full use o
[EMAIL PROTECTED] wrote:
> Im using rprop (not dependent on error function in this case ie.
> standard rprop vs. irprop or arprop) for an MLP tanh, sigmod nnet as
> part of a hybrid model. I guess I was using a little Matlab thought
> when I wrote the SSE funtion. My batches are about 25,000 x 80
Im using rprop (not dependent on error function in this case ie.
standard rprop vs. irprop or arprop) for an MLP tanh, sigmod nnet as
part of a hybrid model. I guess I was using a little Matlab thought
when I wrote the SSE funtion. My batches are about 25,000 x 80 so my
absolute error (diff betwee
[EMAIL PROTECTED] wrote:
> Good point. Finding the SSE using an absolute error matrix of (25000 x
> 1) is insane. I pulled out the error function (for now) and I'm back
> in business. Thanks for all the great advise.
Could you go back for a second and describe your problem a little bit more. It
Good point. Finding the SSE using an absolute error matrix of (25000 x
1) is insane. I pulled out the error function (for now) and I'm back
in business. Thanks for all the great advise.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> I'm running operations large arrays of floats, approx 25,000 x 80.
> Python (scipy) does not seem to come close to using 4GB of wired mem,
> but segments at around a gig. Everything works fine on smaller batches
> of data around 10,000 x 80 and uses a max of ~600mb of mem
If I run it from the shell (unix) I get: Segmentation fault and see a
core dump in my processes. If I run it in the python shell I get as
above:
File "D:\Python24\Lib\site-packages\numpy\core\defmatrix.py", line
149, in
__mul__
return N.dot(self, other)
MemoryError
I your experience as one of
[EMAIL PROTECTED] wrote:
> I'm running operations large arrays of floats, approx 25,000 x 80.
> Python (scipy) does not seem to come close to using 4GB of wired mem,
> but segments at around a gig. Everything works fine on smaller batches
> of data around 10,000 x 80 and uses a max of ~600mb of mem
66 matches
Mail list logo