Bug #59388 Exe can't execute with mysql embedded server.
Submitted: 10 Jan 2011 6:52 Modified: 10 Feb 2011 7:42
Reporter: t ql Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Embedded Library ( libmysqld ) Severity:S1 (Critical)
Version:5.1.46 OS:Linux
Assigned to: CPU Architecture:Any

[10 Jan 2011 6:52] t ql
Description:
when lauch,I get report:

InnoDB: The first specified data file /home/mysqltest/ibdata1 did not exist:
InnoDB: a new database to be created!
110110 14:35:50  InnoDB: Setting file /home/mysqltest/ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
110110 14:35:50  InnoDB: Log file /home/mysqltest/ib_logfile0 did not exist: new to be created
InnoDB: Setting log file /home/mysqltest/ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
110110 14:35:51  InnoDB: Log file /home/mysqltest/ib_logfile1 did not exist: new to be created
InnoDB: Setting log file /home/mysqltest/ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
InnoDB: Error:startup called second time during the process lifetime.
InnoDB: In the MySQL Embedded Server Library you cannot call server_init()
InnoDB: more than once during the process lifetime.
110110 14:35:57  InnoDB: Assertion failure in thread 3086591680 in file sync/sync0sync.c line 1304
InnoDB: Failing assertion: sync_initialized == FALSE
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.html
InnoDB: about forcing recovery.

expect reply!?
mysql version is 5.1.46
host os is fedora4 on i386

How to repeat:
Once I lauch example.

Suggested fix:
No this problem,when lauch on vmware.
[10 Jan 2011 7:42] Valeriy Kravchuk
Please, check if the same problem happens with a newer version, 5.1.54. If it is still repeatable, please, provide the exact code you use to work with embedded server. 

We need a complete, repeatable test case here.
[11 Feb 2011 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".