473,668 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SIGILL importing random

Hi all,

I've embedded python into an older application and created some extensions
to interact with the old data structures. Everythings works like a charm -
beside a simple "import random". During import the whole process crashes
with a SIGILL. I've found some older mails describing just the same
problem: http://mail.python.org/pipermail/pyt...ay/035386.html
Unfortunately I'm not able to read x86 assembler code:(
I'm using gcc version 4.0.3 (Debian 4.0.3-1) and python:
Python 2.3.5 (#2, Mar 6 2006, 10:12:24)
[GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] on linux2

Everything out of the box from Debian unstable. Anybody with any idea about
this?

Mathias
May 19 '06 #1
0 1051

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1938
by: benevilent | last post by:
Hey, Occasionally I am getting a SIGILL instruction when embedding the python Interpreter. Here is a backtrace: #0 0x0810b73e in try_3way_to_rich_compare (v=0x8ffe7a4, w=0x8220420, op=0) at Objects/object.c:946 #1 0x0810ba49 in PyObject_RichCompare (v=0x8ffe7a4, w=0x8220420, op=0) at Objects/object.c:1042 #2 0x08149c6b in cmp_outcome (op=0, v=0x8ffe7a4, w=0x8220420) at Python/ceval.c:3880 #3 0x081448d2 in eval_frame (f=0xcb4dd1c)...
1
2600
by: anismo | last post by:
Hi, I have an application that uses a couple of shared libraries and this application forks to become a daemon. But when the parent after the fork calls exit(0), I am getting a coredump . Upon analyzing the core in gdb, I see that the SIGILL seems to occur after _fini of a sharedlibrary... Also, from the backtrace I can see that some static data is getting deallocated and somehow the code seems to get into the .plt section..
29
4210
by: Natan | last post by:
When you create and aspx page, this is generated by default: using System; using System.Collections; using System.Collections.Specialized; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web; using System.Web.Caching;
16
1340
by: Byte | last post by:
Probably a stupid question, but I'm a newbie and this really pisses me off. Run this script: import random def Func1(): choice = ('A', 'B', 'C') output = random.choice(choice) def Func2():
1
1897
by: Ben | last post by:
Is the following a known bug? $ python -U Python 2.4.4 (#1, Oct 23 2006, 13:58:18) on linux2 Type "help", "copyright", "credits" or "license" for more information. Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib64/python2.4/random.py", line 834, in ? _inst = Random()
0
1005
by: cogsci | last post by:
Hello, I have created 25+ animated images each saved as an image file (at present a png file). I have been trying to import them in a random fashion into a picture box that I created in the visual studio program I am writing. I am having trouble conserving the animation (that is, I am able to import the images into visual basic, but once in they are no longer animated). Also, I am having problems with the random function. My goal here is...
5
1220
by: Abhishek Bhatt | last post by:
I need to import data programatically from spreadsheet file into database table. There are 30 such tables. User can upload multiple files at a time. For a table(which does not have any referential integrity relation) the alogorithm is as follow: For each file, do the following operations : a) Read the excel file b) Begin Transaction c) Delete all records from the tables d) INSERT all of the record from excel into the table e) If some...
0
940
by: Bagpussnz | last post by:
Hi, Whenever I try to import random in a python module, I get a segmentation fault. I've traced it using, import pdb pdb.set_trace() import random When it gets to..
2
17052
by: murali026 | last post by:
Hi All, Here I have an Application which will be running on Power PC Processor. After some time i have receiving the following error. Program received a SIGILL, Illegal Instruction. I am debugging the application remotely from a Linux Machine(RHEL-4). Could you please help in proceeding further to analyse this problem.
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8371
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.