Re: [PHP4BETA] SIGBUS
| From: | teo at digiro dot net | Date: | Fri, 07 Apr 2000 13:08:16 +0000 |
| Subject: | Re: [PHP4BETA] SIGBUS | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13285@lists.php.net to get a copy of this message | ||
Hi Andreas!
On Fri, 07 Apr 2000, Andreas Jung wrote:
> On Fri, Apr 07, 2000 at 03:36:20PM +0300, teo@digiro.net wrote:
> > Hi Andreas!
> > On Fri, 07 Apr 2000, Andreas Jung wrote:
> >
> > >
> > >
> > > Program received signal SIGBUS, Bus error.
> > > array_user_compare (a=0x1738c4, b=0x1738cc) at array.c:356
> > > 356 args[0] = (pval **) f->pData;
> > > (gdb) bt
> > > #0 array_user_compare (a=0x1738c4, b=0x1738cc) at array.c:356
> > > #1 0xff04cb50 in qsort () from /usr/lib/libc.so.1
> > > #2 0x778c8 in zend_hash_sort (ht=0x1737b0, sort_func=0x1077c4 <qsort>,
> > > compar=0xa2f30 <array_user_compare>, renumber=1)
> > > at zend_hash.c:1031
> > > #3 0xa31b0 in php_if_usort (ht=1704504, return_value=0x1a04f0, this_ptr=0x0,
> > > return_value_used=0) at array.c:393
> > > #4 0xbb274 in execute ()
> > > #5 0x5eb74 in php_execute_script (primary_file=0xffbefa48) at main.c:1146
> > > #6 0x2a944 in main (argc=2, argv=0xffbefad4) at cgi_main.c:586
> > >
> > >
> > > This error occurs with the PHP File Manager script available from:
> > > https://sourceforge.net/project/?group_id=1640
> > PHP version? Platform? IIRC Linux doesn't make use of SIGBUS, so I guess it's
> > *BSD or
> > something?
> > Also the page/script which did the horrible this is?
>
> PHP4 Snapshort from 5th April under Solaris 2.7
>
Oh, then all I can tell is the usual:
- get a HEAD snapshot :-) , compile it with --enable-debug,
start Apache as a single process (httpd -X) in gdb, and
try to get a core dump. Then do a backtrace and post it
(all this are explained somewhere on php.net)
Also your `configure' flags.
-- teodor