Crashes to compare some PHP code patterns
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
meld (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
On comparing some simple PHP files, the program crashes. The same problem happens when I compare some other PHP files with similar code. These are the files index.php:
=== first file content below ===
<?php get_header(); ?>
<?php $show_sidebar = (get_option(
<?php get_template_
<div id="content" class="
<div id="boxes" class="<?php if (!$show_sidebar) echo('fullwidth'); if (get_option(
<?php get_template_
<div id="content-
<?php get_footer(); ?>
=== end of the first file content ===
=== second file content below ===
<?php if (is_archive()) $post_number = get_option(
if (is_search()) $post_number = get_option(
if (is_tag()) $post_number = get_option(
if (is_category()) $post_number = get_option(
<?php get_header(); ?>
<?php $show_sidebar = (get_option(
<?php include(
<div id="content" class="
<div id="boxes" class="<?php if (!$show_sidebar) echo('fullwidth'); if (get_option(
<?php global $query_string;
if (is_category()) query_posts(
else query_posts(
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<?php include(
<?php $i++; ?>
<?php endwhile; ?>
</div> <!-- #boxes -->
<?php if ($show_sidebar) get_sidebar(); ?>
</div> <!-- #content -->
<div id="controllers" class="clearfix">
<?php if(function_
include(
</div> <!-- #controllers -->
<?php else : ?>
<?php include(
</div> <!-- #boxes -->
</div> <!-- #content -->
<?php endif; wp_reset_query(); ?>
<div id="content-
<?php get_footer(); ?>
=== end of the second file content ===
Description: Ubuntu 11.04
Release: 11.04
Meld Version: 1.5.0-0ubuntu1
I can't reproduce the crash.
Can you please attach the files in their original form to the bug instead of pasting them?
Please start meld from a terminal and paste the traceback you get on the crash.