From: Anton Gorlov <stalker@altlinux.ru> To: ALT Linux Community <community@lists.altlinux.org> Subject: [Comm] phpMyAdmin и segmentation fault apache2 Date: Mon, 11 Jan 2010 10:10:26 +0300 Message-ID: <4B4ACEE2.9050305@altlinux.ru> (raw) 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 '<option value="' . $id . '"' . $selected . '>' . $lang_name > > . '</option>' . "\n"; > > } если допустим оставить в цикле только > >$lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1)); > >echo '<option value="' . $id . '"' . $selected . '>' . $lang_name . '</option>' . "\n"; то всё равно падает. а если сделать echo $lang_name; то распрекрасно работает в то же время просто разделить на разные echo тоже нельзя, и всё упадет если сделать: > >$lang_name = ucfirst(substr(strrchr($tmplang[0], '|'), 1)); > >echo '<option value="' . $id . '"' . $selected . '>'; > >echo $lang_name; > >echo'</option>' . "\n"; так же с помощью gdb и ковыряния php удалось выяснить что падает где-то в области php_end_ob_buffer если в конфиге php изменить output_handler = на ob_gzhandler то падения тоже прекращаются.
next reply other threads:[~2010-01-11 7:10 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-11 7:10 Anton Gorlov [this message] 2010-01-11 13:58 ` Денис Ягофаров 2010-01-11 13:48 ` Anton Gorlov 2010-01-11 13:53 ` Дмитрий Кулик 2010-01-11 14:11 ` Anton Gorlov 2010-01-11 14:30 ` Дмитрий Кулик 2010-01-11 14:36 ` Anton Gorlov 2010-01-11 14:49 ` Дмитрий Кулик 2010-01-11 14:54 ` Anton Gorlov 2010-01-11 15:04 ` Дмитрий Кулик 2010-01-11 21:16 ` Anton Gorlov 2010-01-11 22:00 ` Дмитрий Кулик 2010-01-15 19:58 ` Michael Shigorin 2010-01-15 20:10 ` Дмитрий Кулик 2010-01-15 20:13 ` Michael Shigorin 2010-01-15 21:45 ` Дмитрий Кулик
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4B4ACEE2.9050305@altlinux.ru \ --to=stalker@altlinux.ru \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git