POSIX Threads

From: Date: Mon, 17 Apr 2000 13:28:32 +0000
Subject: POSIX Threads
Groups: php.dev 
Request: Send a blank email to php-dev+get-17964@lists.php.net to get a copy of this message
I'm developing a Z39.50 client (origin) interface for PHP using sources PHP4.0-RC1 and apache 1.3.11 on Linux. I'm depending on a library that uses POSIX threads. The loading of the shared php4 object fails with no obvious reason and apache dies. gdb and httpd -X trace doesn't help much: Starting program: /home/adam/proj/apache/bin/./httpd -X Cannot access memory at address 0x40335874. (gdb) bt #0 0x4000a6d1 in _dl_debug_state () at dl-debug.c:56 #1 0x401424e6 in _dl_close (map=0x80d2d00) at dl-close.c:195 #2 0x400630c0 in dlclose_doit (handle=0x80d2d00) at dlclose.c:26 #3 0x4000a3eb in _dl_catch_error (errstring=0x40064d00, operate=0x400630a8 <dlclose_doit>, args=0x80d2d00) at dl-error.c:141 #4 0x40063549 in _dlerror_run (operate=0x400630a8 <dlclose_doit>, args=0x80d2d00) at dlerror.c:125 #5 0x4006308e in dlclose (handle=0x80d2d00) at dlclose.c:32 #6 0x8086ec0 in ap_os_dso_unload (handle=0x80d2d00) at os.c:133 #7 0x80663b0 in unload_module (modi=0x80cae5c) at mod_so.c:181 #8 0x80688ee in run_cleanups (c=0x80cc174) at alloc.c:1706 #9 0x806711d in ap_clear_pool (a=0x80caa8c) at alloc.c:531 #10 0x80770b3 in standalone_main (argc=2, argv=0xbffffc84) at http_main.c:4611 #11 0x8077953 in main (argc=2, argv=0xbffffc84) at http_main.c:4973 The behaviour is similar to the bug described in bug report 4147 which reports that threading is a (known) problem. Is there any way I can make threading work? -- Adam

« previous php.dev (#17964) next »