[issue19989] Error while sending function code over queue (multiprocessing)

2015-05-29 Thread Davin Potts

Davin Potts added the comment:

Without further information from the OP, there is not much more we can do as 
the problem may well originate with the user's compiled C code (which 
circumstantially seems quite likely).  Closing as out-of-date.

--
resolution:  - out of date
status: pending - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19989
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19989] Error while sending function code over queue (multiprocessing)

2015-03-08 Thread Davin Potts

Davin Potts added the comment:

While the mockup of the code that you provided is of some help, it is still 
unclear whether the problem could originate from your hand-rolled 
serialization/de-serialization implementation or somewhere else.  The traceback 
you shared could even suggest an unrelated problem in your project's code.  
Without more information or, ideally, a runnable example of the problem that 
can be shared, there does not appear to be a way to take this forward.

Can more information be shared or a more complete example triggering the 
described behavior?

--
nosy: +davin
status: open - pending
type: crash - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19989
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue19989] Error while sending function code over queue (multiprocessing)

2013-12-15 Thread Filip Malczak

New submission from Filip Malczak:

Ive been using YAPSY to load plugins in one process. In this process I tried to 
put them in queue, and in another process I read them from queue.

There was a problem with non-existing type of plugin in consumer process, so I 
tried to serialize plugin instance by hand and deserialize by hand in consumer.

Both processes were created and started from main process, which passed them 
both the same queue.

Law forbids me from showing the whole code, but I'm attaching file with code 
pieces that generate error below:

Process ConsumerProcess-2:
Traceback (most recent call last):
  File /usr/lib/python3.3/multiprocessing/process.py, line 258, in _bootstrap
self.run()
  File /usr/lib/python3.3/multiprocessing/process.py, line 95, in run
self._target(*self._args, **self._kwargs)
  File /private_path/consumer_stub.py, line 27, in _consumer
result = foo()
  File /private_path/loader_process.py, line 90, in x
val = (kind, plugin, meta)
SystemError: ../Objects/cellobject.c:24: bad argument to internal function

--
components: Build
files: pythonbug.txt
messages: 206239
nosy: Filip.Malczak
priority: normal
severity: normal
status: open
title: Error while sending function code over queue (multiprocessing)
type: crash
versions: Python 3.3
Added file: http://bugs.python.org/file33149/pythonbug.txt

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19989
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com