Segmentation Fault when starting a Device Server in Python
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pytango (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm encountering a segmentation fault every time I want to start a Device Server in Python.
Here is the test I performed :
> I got all the tango packages from synaptic
> I generated an empty Device Server 'Test.py' with POGO
> I started Jive and used the server wizard to register an instance 'test' of 'Test'
> I tried to start the device with the following line :
$ python Test.py test
Segmentation Fault (core dumped)
This is only happening for Python DS, everything works fine for C++ DS.
I am using UBUNTU 12.10 (3.5.0-27-generic, x86_64 GNU/Linux) but this bug has been observed on both 32 and 64 bits machines.
It has also been observed with tango8 (from debian experimental and from the source compilation).
I actually tried many different installation from different sources and versions but none seems to work for Python Device Server.
The only moment I saw a Python DS actually running on a Linux OS was when I used the Tango Box.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: libtango7 7.2.6+dfsg-14
ProcVersionSign
Uname: Linux 3.5.0-27-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
Date: Wed May 22 14:45:55 2013
InstallationDate: Installed on 2013-03-19 (63 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: tango
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | tango (Ubuntu) → pytango (Ubuntu) |
Hello, I created an empty device with pogo-6 (python is not supported by pogo). I attached the code of the device o this bug.
Here the result on my Debian unstable, tango8 + pytango8.
picca@mordor:~/tmp$ python Test.py test factory/ mordor from the Tango database
Failed to import EventChannelFactory notifd/
In TestClass constructor
In tmp/test/test ::init_device()
so on Debian (not Ubuntu the device is working)
can you attach also the backtrace using gdb, for the record.
thanks