[[email protected]: Event 0.86 fails make test]

2003-01-14 Thread Joshua N Pritikin
- Forwarded message from "Paul J. Kissman" <[EMAIL PROTECTED]> -

From: "Paul J. Kissman" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Event 0.86 fails make test

I am trying to install Event-0.86 on a Redhat system with Perl 5.8.0 and 
have encountered the following problem:

During make, I see:

In file included from Event.xs:278:
c/var.c: In function `pe_var_start':
c/var.c:87: warning: assignment from incompatible pointer type
c/var.c:88: warning: assignment from incompatible pointer type

During make test, I see

t/var.dubious
   Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 1-6
   Failed 6/6 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
---
t/var.t011 66 100.00%  1-6
Failed 1/23 test scripts, 95.65% okay. 6/115 subtests failed, 94.78% okay.
make: *** [test_dynamic] Error 2


Do you have any ideas why this may be happening?

Sincerely,

Paul Kissman
[EMAIL PROTECTED]
[EMAIL PROTECTED]

GCC stuff is as follows:

gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --host=i386-redhat-linux --with-system-zlib 
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)



Event-0.86

2003-01-14 Thread mixo
Hi,
I am currently testing some perl software wich use your "Event" module.
The problem I have is that the program sef faults as soon as is call
"Event::loop()" method. From the perl debugger I got


+
Signal SEGV at /usr/lib/perl5/site_perl/5.6.1/i386-linux/Event.pm line 148
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Event.pm line 148
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Event.pm line 148
Event::loop() called at sbin/whois line 400
+

The offending line seems to be "eval { $@ = $errsv; _loop() };" (line
148) as removing it gets rid of the seg fault (and subsequent core
dump). What could be the cause of problem?


P.S I am running redhat linux 7.3 (with the latest updates), on an
athlon.