From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL, BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 Message-ID: <4B4ACB76.8000104@altlinux.ru> Date: Mon, 11 Jan 2010 09:55:50 +0300 From: Anton Gorlov User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: ALT Linux Community Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Content preview: display_select_lang.lib.php @ line 64-83: > > foreach ($GLOBALS['available_languages'] as $id => $tmplang) { > > $lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1)); > > > > // Include native name if non empty > > if (!empty($tmplang[3])) { > > $lang_name = $tmplang[3] . ' - ' > > . $lang_name; > > } > > > > //Is current one active? > > if ($lang == $id) { > > $selected = ' selected="selected"'; > > } else { > > $selected = ''; > > } > > > > echo ' '; > > echo '' . "\n"; > > } [...] Content analysis details: (-3.7 points, 7.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.7 ALL_TRUSTED Passed through trusted hosts only via SMTP -2.3 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 0.2 AWL AWL: From: address is in the auto white-list Subject: [Comm] =?utf-8?q?phpMyAdmin_=D0=B8_segmentation_fault_apache2?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2010 06:55:37 -0000 Archived-At: List-Archive: List-Post: display_select_lang.lib.php @ line 64-83: > > foreach ($GLOBALS['available_languages'] as $id => $tmplang) { > > $lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1)); > > > > // Include native name if non empty > > if (!empty($tmplang[3])) { > > $lang_name = $tmplang[3] . ' - ' > > . $lang_name; > > } > > > > //Is current one active? > > if ($lang == $id) { > > $selected = ' selected="selected"'; > > } else { > > $selected = ''; > > } > > > > echo ' '; > > echo '' . "\n"; > > } если допустим оставить в цикле только > >$lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1)); > >echo '' . "\n"; то всё равно падает. а если сделать echo $lang_name; то распрекрасно работает в то же время просто разделить на разные echo тоже нельзя, и всё упадет если сделать: > >$lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1)); > >echo '' . "\n"; так же с помощью gdb и ковыряния php удалось выяснить что падает где-то в области php_end_ob_buffer если в конфиге php изменить output_handler = на ob_gzhandler то падения тоже прекращаются.