Newsgroups: comp.parallel.pvm
From: martinf@techfak.uni-bielefeld.de (Martin Froehlich)
Subject: [Q] Help with strange unpacking error needed.
Keywords: PVM, help, upkulong, PVMRouteDirect
Organization: Universitaet Bielefeld, Technische Fakultaet.
Date: Wed, 8 Mar 1995 10:50:30 GMT
Message-ID: <D54BG7.HKM@hermes.hrz.uni-bielefeld.de>

Hello!

The last months i'm working to implement an distributed environment for
frame grabbing -> movement detection -> gesture recognition for a DAI
(disrtibuted artificial intelligence) system known as the VIENA project
(see http://www.techfak.uni-bielefeld.de/techfak/techfakengl.htmli
 who we are, see
 http://www.techfak.uni-bielefeld.de/techfak/ags/wbski/viena/vienaengl.html
 about the VIENA projekt).

I try to use PVM to send my grabbed frames from the frame grabbing process to an
analysing process and the results to a process which can interpret the movment
vectors to recognize a gesture...

When I try to unpack my image via pvm_upkulong(...) I get an error I can't
explain. (The machine is a SGI indigo2 extreme under irix5.2, send with
PVMRouteDirect).
Both, sender and receiver, break down (Bus error). before the receiver breaks
down, it has successfully unpacked the header (x,y size and so on).
The sender leaves a core file with following informations:
(gdb) core-file core
Core was generated by `kamera'.
[...stuff deleted ...]
#0  0x41f6c8 in mxfer () at ../lpvm.c:1592
1592                    if (txfp && FD_ISSET(txpcbp->tt_fd, &wfds)) {
(gdb) backtrace 
#0  0x41f6c8 in mxfer () at ../lpvm.c:1592
#1  0x41d390 in mroute () at ../lpvm.c:749
#2  0x41878c in pvm_send () at ../lpvmgen.c:1302
#3  0x409eec in consumeframe (ImagePtr=0x49d000, size={x = 192, y = 144}, generalInfo={
      media = {type = 1048578, time = {tv_sec = 794654624, tv_usec = 573654}, 
        duration = {tv_sec = 0, tv_usec = 0}, sequence = 1875706}, image = {offset = 0, 
        width = 96, height = 144, packing = 2, compression = 0}, label = 0})
    at kamera.frame.c:77
#4  0x409b48 in processSingleFrame (FramePointer=0x49d000, generalInfo={media = {
        type = 1048578, time = {tv_sec = 794654624, tv_usec = 573654}, duration = {
          tv_sec = 0, tv_usec = 0}, sequence = 1875706}, image = {offset = 0, 
        width = 96, height = 144, packing = 2, compression = 0}, label = 0})
    at kamera.vlhandler.c:216
#5  0x40920c in processVLFrame () at kamera.vlhandler.c:129
#6  0x4062ac in processVLevent (svr=0x10011978, event=0x7fffac70, data=0x0)
    at kamera.main.c:352
#7  0x5fdd7320 in vlCallCallbacks () at vlevents.c:257
#8  0x5fdd6d5c in defaultHandler () at vlevents.c:97
#9  0x5fdd7764 in vlMainLoop () at vlevents.c:356
#10 0x405eb4 in main (argc=1, argv=0x7fffae7c) at kamera.main.c:294

Any idears welcome! Btw: This work is for my diploma thesis and my
time margin ends in june...

Excuse my poor English, please and: Please help.

Martin

e-mail: martinf@techfak.uni-bielefeld.de
phone:  +49 521 106 2911 (<- this is in Bielefeld, Germany, Europe!!!)
-- 
Martin Fr"ohlich; Universit"at Bielefeld; Technische Fakult"at; NW Info.
Raum M3-151; Graphiklabor; Tel: 0521 / 106 2911; KI & Computergraphik


