<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="625865">
  <date_last_updated>2011-09-05 12:43:10.093145+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/625865</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~pstoev-askmonty</bug_owner_link>
    <milestone_link>https://api.launchpad.net/1.0/maria/+milestone/5.1</milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/625865/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/625865/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/625865</bug_web_link>
  <owner>Philip Stoev</owner>
  <assignee>Michael Widenius</assignee>
  <milestone_title>Maria 5.1</milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page &lt;= last_page' failed</title>
  <status>New</status>
  <importance>Undecided</importance>
  <created>2010-08-28 15:10:49.020547+00:00</created>
  <description>
<![CDATA[When executing recovery on the varchar RQG workload, aria 5.1 asserted as follows:

 mysqld: ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed.

#8  0x00133d98 in __assert_fail () from /lib/libc.so.6
#9  0x084ff0fa in translog_init_with_table (directory=0x8a4b4c0 "/home/philips/bzr/maria-5.1/mysql-test/var/master-data_recovery/",
    log_file_max_size=1073741824, server_version=50149, server_id=0, pagecache=0x9263600, flags=0, readonly=0 '\000',
    init_table_func=0x84f69d0 <translog_table_init>, no_errors=0 '\000') at ma_loghandler.c:3723
#10 0x0851ecca in ha_maria_init (p=0xa4c9180) at ha_maria.cc:3259
#11 0x08397d21 in ha_initialize_handlerton (plugin=0xa4af810) at handler.cc:430
#12 0x08452e2f in plugin_initialize (plugin=0xa4af810) at sql_plugin.cc:1039
#13 0x08453651 in plugin_init (argc=0x8a4d318, argv=0xa47c870, flags=0) at sql_plugin.cc:1267
#14 0x0826c45b in init_server_components () at mysqld.cc:4131
#15 0x0826cf17 in main (argc=14, argv=0xbfe46754) at mysqld.cc:4603

rqg command line:

perl runall.pl --grammar=conf/engines/varchar.yy --gendata=conf/engines/varchar.zz  --threads=1 --queries=10K --basedir=/home/philips/bzr/maria-5.1 --engine=Maria --debug --seed=time --engine=Maria --reporter=Recovery --duration=240 --threads=10

rqg version-info:

revision-id: philips@eve-20100828150416-gho2k908qs5ng4gx
date: 2010-08-28 18:04:16 +0300
build-date: 2010-08-28 18:10:03 +0300
revno: 506
branch-nick: randgen-bugfixing

maria version-info:

revision-id: <email address hidden>
date: 2010-08-25 01:43:26 +0300
build-date: 2010-08-28 18:10:15 +0300
revno: 2917
branch-nick: maria-5.1]]>  </description>
  <activities>
    <activity datechanged="2010-08-28T15:10:49.020547+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Philip Stoev</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2010-08-28T15:11:54.377352+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Incomplete]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2010-08-28T15:12:06.929247+00:00">
      <oldvalue>
<![CDATA[Incomplete]]>      </oldvalue>
      <newvalue>
<![CDATA[New]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2010-08-28T15:21:15.918792+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Incomplete]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2010-09-01T12:30:04.813170+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[core binary datadir https://bugs.launchpad.net/maria/+bug/625865/+attachment/1534301/+files/var-bug625865.zip]]>      </newvalue>
      <whatchanged>attachment added</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2010-09-01T12:31:03.048913+00:00">
      <oldvalue>
<![CDATA[Incomplete]]>      </oldvalue>
      <newvalue>
<![CDATA[New]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
    <activity datechanged="2010-11-30T16:35:06.369963+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[5.1]]>      </newvalue>
      <whatchanged>maria: milestone</whatchanged>
      <person>Sergei</person>
      <message></message>
    </activity>
    <activity datechanged="2011-09-05T12:43:09.460453+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Michael Widenius (monty)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Philip Stoev</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/625865/comments/0" datecreated="2010-08-28T15:10:49.020547+00:00">
      <person>Philip Stoev</person>
      <subject>
<![CDATA[ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed]]>      </subject>
      <content>
<![CDATA[When executing recovery on the varchar RQG workload, aria 5.1 asserted as follows:

 mysqld: ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed.

#8  0x00133d98 in __assert_fail () from /lib/libc.so.6
#9  0x084ff0fa in translog_init_with_table (directory=0x8a4b4c0 "/home/philips/bzr/maria-5.1/mysql-test/var/master-data_recovery/",
    log_file_max_size=1073741824, server_version=50149, server_id=0, pagecache=0x9263600, flags=0, readonly=0 '\000',
    init_table_func=0x84f69d0 <translog_table_init>, no_errors=0 '\000') at ma_loghandler.c:3723
#10 0x0851ecca in ha_maria_init (p=0xa4c9180) at ha_maria.cc:3259
#11 0x08397d21 in ha_initialize_handlerton (plugin=0xa4af810) at handler.cc:430
#12 0x08452e2f in plugin_initialize (plugin=0xa4af810) at sql_plugin.cc:1039
#13 0x08453651 in plugin_init (argc=0x8a4d318, argv=0xa47c870, flags=0) at sql_plugin.cc:1267
#14 0x0826c45b in init_server_components () at mysqld.cc:4131
#15 0x0826cf17 in main (argc=14, argv=0xbfe46754) at mysqld.cc:4603

rqg command line:

perl runall.pl --grammar=conf/engines/varchar.yy --gendata=conf/engines/varchar.zz  --threads=1 --queries=10K --basedir=/home/philips/bzr/maria-5.1 --engine=Maria --debug --seed=time --engine=Maria --reporter=Recovery --duration=240 --threads=10

rqg version-info:

revision-id: philips@eve-20100828150416-gho2k908qs5ng4gx
date: 2010-08-28 18:04:16 +0300
build-date: 2010-08-28 18:10:03 +0300
revno: 506
branch-nick: randgen-bugfixing

maria version-info:

revision-id: monty@askmonty.org-20100824224326-qehw9796m1aglmu3
date: 2010-08-25 01:43:26 +0300
build-date: 2010-08-28 18:10:15 +0300
revno: 2917
branch-nick: maria-5.1]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/625865/comments/1" datecreated="2010-09-01T12:30:04.813170+00:00">
      <person>Philip Stoev</person>
      <subject>
<![CDATA[Re: ma_loghandler.c:3723: translog_init_with_table: Assertion `sure_page <= last_page' failed]]>      </subject>
      <content>
<![CDATA[]]>      </content>
    </comment>
  </comments>
  <messages>
    <message created="2010-09-01 12:30:04.813170+00:00" owner="Philip Stoev">
<![CDATA[]]>      <attachment link="https://bugs.launchpad.net/bugs/625865/+attachment/1534301" type="Unspecified">
        <title>core binary datadir</title>
        <file>LPexportBug625865_var-bug625865.zip</file>
      </attachment>
    </message>
  </messages>
</launchpad-bug>
