I am getting the following runtime error which crashes even the debugger:

mach_port_type() failed (ipc/rcv) msg too large
task_get_bootstrap_port() failed (ipc/mig) wrong reply message ID
Abort

Sometimes I also get errors such as this from the same code (no idea if 
they are related):

*** malloc[8384]: error: Can't allocate region

Another observation is that the same code runs just fine on Linux (Debian)
.

Any hints appreciated!

Thanks,
-Fil

Modules used:

use strict;
use Socket;
use URI::URL;
use HTML::TreeBuilder;

OS info: Mac OS X 10.0.4

% uname -a
Darwin localhost 1.3.7 Darwin Kernel Version 1.3.7: Sat Jun  9 11:12:48 PDT 
2001; root:xnu/xnu-124.13.obj~1/RELEASE_PPC  Power Macintosh powerpc

Perl version: 5.6.0

% perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
   Platform:
     osname=darwin, osvers=1.0, archname=darwin
     uname='darwin negative 1.0 darwin kernel version 1.3: wed jan 3 16:05:
51 pst 2001; aramesh:buildobjrelease_ppc power macintosh powerpc '
     config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags='
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=
undef
     useperlio=undef d_sfio=undef uselargefiles=define
     use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
   Compiler:
     cc='cc', optimize='-O3', gccversion=Apple DevKit-based CPP 6.0alpha
     cppflags='-g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE 
-fno-strict-aliasing'
     ccflags ='-g -pipe -pipe -fno-common -DHAS_TELLDIR_PROTOTYPE 
-fno-strict-aliasing'
     stdchar='char', d_stdstdio=undef, usevfork=true
     intsize=4, longsize=4, ptrsize=4, doublesize=8
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=8, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='cc', ldflags =''
     libpth=/usr/lib
     libs=-lm -lc
     libc=/System/Library/Frameworks/System.framework/System, so=dylib, 
useshrplib=true, libperl=libperl.dylib
   Dynamic Linking:
     dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
     cccdlflags=' ', lddlflags='-bundle -undefined suppress'


Characteristics of this binary (from libperl):
   Compile-time options: USE_LARGE_FILES
   Built under darwin
   Compiled at 02/16/01 17:02:42
   @INC:
     /System/Library/Perl/darwin
     /System/Library/Perl
     /Library/Perl/darwin
     /Library/Perl
     /Library/Perl
     /Network/Library/Perl/darwin
     /Network/Library/Perl
     /Network/Library/Perl
     .


                                            Filippo Menczer
==========================================================
Management Sciences Department      Voice: +1 319 335-0884
PBB S320                              Fax: +1 319 335-0297
University of Iowa        mailto:[EMAIL PROTECTED]
Iowa City, IA 52242 USA   http://dollar.biz.uiowa.edu/~fil
==========================================================

Reply via email to