Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33426 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76534 invoked by uid 1010); 25 Nov 2007 16:55:53 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 76519 invoked from network); 25 Nov 2007 16:55:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2007 16:55:53 -0000 Authentication-Results: pb1.pair.com header.from=rachmel@avaya.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rachmel@avaya.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain avaya.com from 198.152.13.100 cause and error) X-PHP-List-Original-Sender: rachmel@avaya.com X-Host-Fingerprint: 198.152.13.100 co300216-co-outbound.net.avaya.com Received: from [198.152.13.100] ([198.152.13.100:49524] helo=co300216-co-outbound.avaya.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/62-58234-719A9474 for ; Sun, 25 Nov 2007 11:55:53 -0500 X-IronPort-AV: E=Sophos;i="4.21,464,1188792000"; d="scan'208";a="86494351" Received: from unknown (HELO nj300815-nj-erheast.avaya.com) ([198.152.6.5]) by co300216-co-outbound.avaya.com with ESMTP; 25 Nov 2007 11:55:48 -0500 X-IronPort-AV: E=Sophos;i="4.21,464,1188792000"; d="scan'208";a="127869122" Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.16]) by nj300815-nj-erheast-out.avaya.com with ESMTP; 25 Nov 2007 11:55:06 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sun, 25 Nov 2007 17:55:03 +0100 Message-ID: <11486DD9B957EA488E21C44BC8737EFC56FB8E@307622ANEX5.global.avaya.com> In-Reply-To: <47498878.1070500@daylessday.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] FW: [PHP] PHP 5.2.3 segfault with syslog standard extension Thread-Index: AcgvcJwwdwCzXN/9T16cmDQDjknfSgABDEkQ References: <11486DD9B957EA488E21C44BC8737EFC54A3A4@307622ANEX5.global.avaya.com> <4749854D.4050809@daylessday.org> <11486DD9B957EA488E21C44BC8737EFC54A3CA@307622ANEX5.global.avaya.com> <47498878.1070500@daylessday.org> To: "Antony Dovgal" Cc: Subject: RE: [PHP-DEV] FW: [PHP] PHP 5.2.3 segfault with syslog standard extension From: rachmel@avaya.com ("Rachmel, Nir (Nir)") If it helps, I am attaching the relevant tsrm_ls (according to the globals_id in the relevant frame): (gdb) print (*( (php_basic_globals*) (*((void***)tsrm_ls))[17])) $5 =3D { user_shutdown_function_names =3D 0x0, putenv_ht =3D { nTableSize =3D 8, nTableMask =3D 7, nNumOfElements =3D 0, nNextFreeElement =3D 0, pInternalPointer =3D 0x0, pListHead =3D 0x0, pListTail =3D 0x0, arBuckets =3D 0x105d6c80, pDestructor =3D 0xf5e9384 , persistent =3D 0 '\0', nApplyCount =3D 0 '\0', bApplyProtection =3D 1 '\001', inconsistent =3D 0 }, strtok_zval =3D 0x1071b7d0, strtok_string =3D 0x1071b750 "DEVICE_NOT_FRESH\t\n", locale_string =3D 0x0, strtok_last =3D 0x0, strtok_table =3D '\0' , strtok_len =3D 18, str_ebuf =3D 'Z' , array_walk_func_name =3D 0x0, user_compare_func_name =3D 0x0, user_compare_fci_cache =3D { initialized =3D 0 '\0', function_handler =3D 0x0, calling_scope =3D 0x0, object_pp =3D 0x0 }, user_tick_functions =3D 0x0, active_ini_file_section =3D 0x1048d840, sm_protected_env_vars =3D { nTableSize =3D 8, nTableMask =3D 7, nNumOfElements =3D 1, nNextFreeElement =3D 0, pInternalPointer =3D 0x1062bee8, pListHead =3D 0x1062bee8, pListTail =3D 0x1062bee8, arBuckets =3D 0x10613a30, pDestructor =3D 0, persistent =3D 1 '\001', nApplyCount =3D 0 '\0', bApplyProtection =3D 1 '\001', inconsistent =3D 0 }, sm_allowed_env_vars =3D 0x1062bf20 "PHP_", page_uid =3D -1, page_gid =3D -1, page_inode =3D -1, page_mtime =3D -1, CurrentStatFile =3D 0x106bcfa0 "/usr/local/web/443/lba/admin-webapp/language/langNames.php", CurrentLStatFile =3D 0x0, ssb =3D { sb =3D { st_dev =3D 11, __pad1 =3D 0, st_ino =3D 33566, st_mode =3D 33279, st_nlink =3D 1, st_uid =3D 0, st_gid =3D 0, st_rdev =3D 0, __pad2 =3D 0, st_size =3D 127, st_blksize =3D 4096, st_blocks =3D 8, st_atim =3D { tv_sec =3D 1195994953, tv_nsec =3D 0 }, st_mtim =3D { tv_sec =3D 1151584283, tv_nsec =3D 0 }, st_ctim =3D { tv_sec =3D 1195988138, tv_nsec =3D 0 }, __unused4 =3D 0, __unused5 =3D 0 } }, lssb =3D { sb =3D { st_dev =3D 5221693480379613281, __pad1 =3D 0, st_ino =3D 1930623196, st_mode =3D 905716976, st_nlink =3D 262134680, st_uid =3D 247, st_gid =3D 0, st_rdev =3D 44, __pad2 =3D 7513, st_size =3D 1515870810, st_blksize =3D 1515870810, st_blocks =3D 1515870810, st_atim =3D { tv_sec =3D 1515870810, tv_nsec =3D 1515870810 }, st_mtim =3D { tv_sec =3D 1515870810, tv_nsec =3D 1515870810 }, st_ctim =3D { tv_sec =3D 1515870810, tv_nsec =3D 1515870810 }, __unused4 =3D 1515870810, __unused5 =3D 1515870810 } }, state =3D {1515870810, 3424178695, 1215769902, 97, 2976, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215769934, 97, 3072, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215770094, 97, 3168, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215769614, 97, 3264, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215769774, 97, 3360, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215769806, 97, 3456, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215763310, 97, 3552, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215763342, 97, 3648, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695, 1215762990, 97, 3744, 1930623196, 905716976, 262134680, 247, 0, 0, 44, 492393095, 1515870810 , 3424178695...}, next =3D 0x0, left =3D -1, rand_seed =3D 804607834, rand_is_seeded =3D 1 '\001', mt_rand_is_seeded =3D 0 '\0', syslog_started =3D 1, syslog_device =3D 0x5a5a5a5a
, incomplete_class =3D 0x100ac060, url_adapt_state =3D { state =3D STATE_NORMAL, tag =3D 0x0, attr =3D 0x0, val =3D 0x0, delim =3D 0 '\0', p =3D 0x0, l =3D 0, ml =3D 0, attr_done =3D 0 }, url_adapt_state_ex =3D { tag =3D { c =3D 0x0, len =3D 0, a =3D 0 }, arg =3D { c =3D 0x0, len =3D 0, a =3D 0 }, val =3D { c =3D 0x0, len =3D 0, a =3D 0 }, buf =3D { c =3D 0x0, len =3D 0, a =3D 0 }, result =3D { c =3D 0x0, len =3D 0, a =3D 0 }, form_app =3D { c =3D 0x0, len =3D 0, a =3D 0 }, url_app =3D { c =3D 0x0, len =3D 0, a =3D 0 }, active =3D 0, lookup_data =3D 0x0, state =3D 0, tags =3D 0x1062bf30 }, mmap_file =3D 0x1d595287, mmap_len =3D 1515870810, user_filter_map =3D 0x0, mblen_state =3D { __count =3D 0, __value =3D { __wch =3D 0, __wchb =3D "\000\000\000" } }, umask =3D -1 } =20 -----Original Message----- From: Antony Dovgal [mailto:tony@daylessday.org]=20 Sent: Sunday, November 25, 2007 4:37 PM To: Rachmel, Nir (Nir) Cc: internals@lists.php.net Subject: Re: [PHP-DEV] FW: [PHP] PHP 5.2.3 segfault with syslog standard extension On 25.11.2007 17:30, Rachmel, Nir (Nir) wrote: > Do you mean printing the 'tsrm_ls'? > There is no 'basic_globals' symbol in the context of any of the frames > I tried. Oh, so this is multithreaded version.. That makes it even more complicated. -- Wbr, Antony Dovgal