in reply to Socket hang. (Windows or Perl? Solutions?) (Updated)
Segfaulted on 5.12.2 on linux
$ perl a.pl -port=12347 Using minimum thread stack size of 16384 at /home/eric/usr/perlbrew/pe +rls/perl-5.12.2t/lib/5.12.2/i686-linux-thread-multi/threads.pm line 4 +9. Segmentation fault
#0 __res_vinit (statp=0xb7ab2df4, preinit=0) at res_init.c:176 #1 0xb7ec12c5 in *__GI___res_ninit (statp=0xb7ab2df4) at res_init.c:1 +42 #2 0xb7ec2330 in *__GI___res_maybe_init (resp=0xb7ab2df4, preinit=0) +at res_libc.c:125 #3 0xb7ec4243 in *__GI___nss_hostname_digits_dots (name=0x8477d60 "lo +calhost", resbuf=0xb7f2ada8, buffer=0xb7f289ec, buffer_size=0xb7f2adb +c, buflen=0, result=0xb7ab2098, status=0x0, af=2, h_errnop=0xb7ab2094) at digit +s_dots.c:46 #4 0xb7ec897a in gethostbyname (name=0x8477d60 "localhost") at ../nss +/getXXbyYY.c:109 #5 0xb7fc364c in XS_Socket_inet_aton () from /home/eric/usr/perlbrew/ +perls/perl-5.12.2t/lib/5.12.2/i686-linux-thread-multi/auto/Socket/Soc +ket.so #6 0x080e0122 in Perl_pp_entersub () #7 0x080de559 in Perl_runops_standard () #8 0x0807a588 in Perl_call_sv () #9 0xb7ac413a in S_ithread_run () from /home/eric/usr/perlbrew/perls/ +perl-5.12.2t/lib/5.12.2/i686-linux-thread-multi/auto/threads/threads. +so #10 0xb7f31955 in start_thread (arg=0xb7ab2b70) at pthread_create.c:30 +0 #11 0xb7eb1e7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S: +130
Got no time for more now.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Socket hang. (Windows or Perl? Solutions?)
by OverlordQ (Hermit) on Apr 05, 2011 at 22:21 UTC | |
by BrowserUk (Patriarch) on Apr 05, 2011 at 22:38 UTC |