← Back to team overview

maria-developers team mailing list archive

Re: crash in TC_LOG_MMAP::log_one_transaction in maria-10.0.0

 

Hi, Rich!

On Nov 15, Rich Prohaska wrote:
> Hello,
> I am having problems with the shinny new mariadb-10.0.0.
> 
> I have a simple test case that replaces a row in innodb and tokudb and
> then commits.  Eventually, mysqld hits this assert:
> 
> mysqld: /home/prohaska/maria10-build/mariadb-10.0.0/sql/log.cc:7547:
> int TC_LOG_MMAP::log_one_transaction(my_xid): Assertion `p->ptr <
> p->end' failed.
> 
> The test works great when the binlog is enabled.  The test crashes
> when the binlog is OFF.  So, maybe the problem is isolated to the
> TC_LOG_MMAP logic.  I noticed that the TC_LOG_MMAP::unlog function is
> quite different than the mariadb-5.5 version.

Yes, that's because of MDEV-232 (Remove one fsync() inside engine's
commit() method).

> What is the best way to get this fixed?  Would it help if i made the
> test case available?

Yes, please, it would help a lot!

Regards,
Sergei


Follow ups

References