Crash in innosim

Bug #730330 reported by Vadim Tkachenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Patch for MySQL
Fix Committed
High
Mark Callaghan

Bug Description

I am not sure why, but innosim --prepare 1 gives me segfault:

Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `./innosim --prepare 1'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000401bd8 in prepare_files () at innosim.c:539
539 memset(buf, 105, sizeof(buf));
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.7.el6.x86_64

OS: Oracle Linux 6

Revision history for this message
Mark Callaghan (mdcallag) wrote :

That works for me on the latest release. Can you update your code and try again?

Revision history for this message
Vadim Tkachenko (vadim-tk) wrote : Re: [Bug 730330] Re: Crash in innosim

I use bzr branch from March-5.
That works for me on CentOS 5 too, but not on Oracle Linux 6.

May be it is new gcc-4.4.4 problem...

On Mon, Mar 7, 2011 at 6:40 AM, Mark Callaghan <email address hidden> wrote:
> That works for me on the latest release. Can you update your code and
> try again?
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/730330
>
> Title:
>  Crash in innosim
>
> Status in Patch for MySQL:
>  New
>
> Bug description:
>  I am not sure why, but innosim --prepare 1 gives me segfault:
>
>  Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
>  Loaded symbols for /lib64/libpthread.so.0
>  Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
>  Loaded symbols for /lib64/libc.so.6
>  Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
>  Loaded symbols for /lib64/ld-linux-x86-64.so.2
>  Core was generated by `./innosim --prepare 1'.
>  Program terminated with signal 11, Segmentation fault.
>  #0  0x0000000000401bd8 in prepare_files () at innosim.c:539
>  539       memset(buf, 105, sizeof(buf));
>  Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.7.el6.x86_64
>
>  OS: Oracle Linux 6
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/mysql-patch/+bug/730330/+subscribe
>

--
Vadim Tkachenko, CTO, Percona Inc.
Phone +1-888-401-3403,  Skype: vadimtk153
Schedule meeting: http://tungle.me/VadimTkachenko

Revision history for this message
Mark Callaghan (mdcallag) wrote :

Fixed in revision 72. Large stack allocations were the problem.

Changed in mysql-patch:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Mark Callaghan (mdcallag)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.