Details

      Description

      Stack trace from 5.5 commit 34f37aa0c0aa87cfb6908500e937516ff37ea6f0
      Core was generated by `/data/repo/git/5.5/storage/maria/aria_pack /data/repo/git/5.5/mysql-test/var/my'.
      Program terminated with signal 11, Segmentation fault.
      #0  0x000000000040b80d in get_statistic (mrg=0x7fff5df72c10, huff_counts=0x168afd0) at 5.5/storage/maria/maria_pack.c:1066
      1066		  count->counts[(uchar) *pos]++;
      #0  0x000000000040b80d in get_statistic (mrg=0x7fff5df72c10, huff_counts=0x168afd0) at 5.5/storage/maria/maria_pack.c:1066
      #1  0x000000000040a541 in compress (mrg=0x7fff5df72c10, result_table=0x0) at 5.5/storage/maria/maria_pack.c:574
      #2  0x0000000000409742 in main (argc=0, argv=0x1646670) at 5.5/storage/maria/maria_pack.c:234
      
      Thread 1 (Thread 0x7ffd84601720 (LWP 30617)):
      #0  0x000000000040b80d in get_statistic (mrg=0x7fff5df72c10, huff_counts=0x168afd0) at 5.5/storage/maria/maria_pack.c:1066
      #1  0x000000000040a541 in compress (mrg=0x7fff5df72c10, result_table=0x0) at 5.5/storage/maria/maria_pack.c:574
      #2  0x0000000000409742 in main (argc=0, argv=0x1646670) at 5.5/storage/maria/maria_pack.c:234
      
      Test case
      
      --let $datadir = `SELECT @@datadir`
      
      drop table if exists t;
      create table t (
        f1 varchar(40) not null,
        f2 tinytext not null,
        f3 varchar(50) not null,
        index (f1)
      ) engine=Aria charset utf8;
      
      insert into t 
        select 'foo1','foobar1','bar' union
        select 'foo2','foobar2','bar';
      
      --exec $MARIA_PACK $datadir/test/t.MAI
      
      drop table t;
      

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                monty Michael Widenius
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: