← Back to team overview

linux-traipu team mailing list archive

[Bug 890377] [NEW] Segfault when moving through preview with arrow keys

 

Public bug reported:

During editing a rather complex video, I get crashes of Openshot now and
then.

I'm using OpenShot 1.4.0 on Ubuntu 11.04 with libmlt4
0.7.6-0ubuntu0~sunab~natty1

This here is the backtrace I got with gdb:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcb6d2700 (LWP 2652)]
__pthread_mutex_lock (mutex=0x6c706d61732e64b1) at pthread_mutex_lock.c:50
50	pthread_mutex_lock.c: Datei oder Verzeichnis nicht gefunden.
	in pthread_mutex_lock.c
(gdb) bt
#0  __pthread_mutex_lock (mutex=0x6c706d61732e64b1) at pthread_mutex_lock.c:50
#1  0x00007fffecb49b5d in mlt_properties_find (self=0x5377f90, 
    name=0x7fffecb5ad30 "in") at mlt_properties.c:488
#2  mlt_properties_get_position (self=0x5377f90, name=0x7fffecb5ad30 "in")
    at mlt_properties.c:1001
#3  0x00007fffecb4d9a6 in mlt_service_apply_filters (
    self=<value optimized out>, frame=0x21e9fe00, index=1) at mlt_service.c:415
#4  0x00007fffecb4dbce in mlt_service_get_frame (self=0xda9c820, 
    frame=0x7fffd40b6cc8, index=7) at mlt_service.c:469
#5  0x00007fffecb56031 in transition_get_frame (service=0xdcd3b10, 
    frame=0x7fffad11f1a0, index=0) at mlt_transition.c:431
#6  0x00007fffecb4db5f in mlt_service_get_frame (self=0xdcd3b10, 
    frame=0x7fffad11f1a0, index=0) at mlt_service.c:457
#7  0x00007fffecb56031 in transition_get_frame (service=0xda9c520, 
    frame=0x7fffcb6d1bd8, index=0) at mlt_transition.c:431
#8  0x00007fffecb4db5f in mlt_service_get_frame (self=0xda9c520, 
    frame=0x7fffcb6d1bd8, index=0) at mlt_service.c:457
#9  0x00007fffecb56749 in producer_get_frame (parent=0xcede460, 
    frame=0x7fffcb6d1dc8, track=<value optimized out>) at mlt_tractor.c:395
#10 0x00007fffecb4f6a9 in producer_get_frame (service=0xcede460, 
    frame=0x7fffcb6d1dc8, index=0) at mlt_producer.c:584
---Type <return> to continue, or q <return> to quit---
#11 0x00007fffecb4db5f in mlt_service_get_frame (self=0xcede460, 
    frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
#12 0x00007fffecb4db5f in mlt_service_get_frame (self=0x1d24710, 
    frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
#13 0x00007fffecb53b02 in mlt_consumer_get_frame (self=0x1d24710)
    at mlt_consumer.c:547
#14 0x00007fffecb53f82 in consumer_read_ahead_thread (arg=0x1d24710)
    at mlt_consumer.c:694
#15 0x00007ffff7bc4d8c in start_thread (arg=0x7fffcb6d2700)
    at pthread_create.c:304
#16 0x00007ffff6a8a04d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

(gdb) bt full
#0  __pthread_mutex_lock (mutex=0x6c706d61732e64b1) at pthread_mutex_lock.c:50
        __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
        type = <value optimized out>
        id = <value optimized out>
#1  0x00007fffecb49b5d in mlt_properties_find (self=0x5377f90, 
    name=0x7fffecb5ad30 "in") at mlt_properties.c:488
        list = 0x6c706d61732e6169
        value = 0x0
        key = 37
        i = <value optimized out>
#2  mlt_properties_get_position (self=0x5377f90, name=0x7fffecb5ad30 "in")
    at mlt_properties.c:1001
        value = 0x0
#3  0x00007fffecb4d9a6 in mlt_service_apply_filters (
    self=<value optimized out>, frame=0x21e9fe00, index=1) at mlt_service.c:415
        in = <value optimized out>
        out = <value optimized out>
        disable = <value optimized out>
        i = <value optimized out>
        frame_properties = 0x21e9fe00
        service_properties = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        base = 0xda89c90
        position = 0
        self_in = 0
        self_out = 0
#4  0x00007fffecb4dbce in mlt_service_get_frame (self=0xda9c820, 
    frame=0x7fffd40b6cc8, index=7) at mlt_service.c:469
        properties = 0x21e9fe00
        in = 0
        out = 0
        position = -1
        result = <value optimized out>
#5  0x00007fffecb56031 in transition_get_frame (service=0xdcd3b10, 
    frame=0x7fffad11f1a0, index=0) at mlt_transition.c:431
        active = 0
        i = 7
        a_frame = 0
        invalid = 0x7fffecb45600 <mlt_frame_is_test_card>
        b_frame = 8
        position = <value optimized out>
        error = 0
        self = 0xdcd3b10
---Type <return> to continue, or q <return> to quit---
        properties = 0xdcd3b10
        accepts_blanks = 0
        a_track = 0
        b_track = 8
        in = 12588
        out = 12635
        always_active = 0
        type = 1
        reverse_order = 0
#6  0x00007fffecb4db5f in mlt_service_get_frame (self=0xdcd3b10, 
    frame=0x7fffad11f1a0, index=0) at mlt_service.c:457
        properties = 0xdcd3b10
        in = 12588
        out = 12635
        position = -1
        result = 0
#7  0x00007fffecb56031 in transition_get_frame (service=0xda9c520, 
    frame=0x7fffcb6d1bd8, index=0) at mlt_transition.c:431
        active = 0
        i = 0
        a_frame = 0
---Type <return> to continue, or q <return> to quit---
        invalid = 0x7fffecb45640 <mlt_frame_is_test_audio>
        b_frame = 8
        position = <value optimized out>
        error = 0
        self = 0xda9c520
        properties = 0xda9c520
        accepts_blanks = 0
        a_track = 0
        b_track = 8
        in = 11791
        out = 12635
        always_active = 1
        type = 2
        reverse_order = 0
#8  0x00007fffecb4db5f in mlt_service_get_frame (self=0xda9c520, 
    frame=0x7fffcb6d1bd8, index=0) at mlt_service.c:457
        properties = 0xda9c520
        in = 11791
        out = 12635
        position = -1
        result = 0
---Type <return> to continue, or q <return> to quit---
#9  0x00007fffecb56749 in producer_get_frame (parent=0xcede460, 
    frame=0x7fffcb6d1dc8, track=<value optimized out>) at mlt_tractor.c:395
        props_count = <value optimized out>
        j = <value optimized out>
        video = <value optimized out>
        label = "\270\320v\255\377\177\000\000}\232\264\354\377\177\000\000>\250\265\354\377\177\000\000\000\000\000\000\000"
        id = 0x7fffd653d200 "\260/\002\256\377\177"
        frame_properties = 0x7fffd661eef0
        audio = <value optimized out>
        first_video = <value optimized out>
        temp_properties = <value optimized out>
        target = <value optimized out>
        image_count = <value optimized out>
        global_feed = 1
        done = <value optimized out>
        temp = 0x0
        count = <value optimized out>
        properties = 0xcede460
        i = <value optimized out>
        multitrack = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        producer = <value optimized out>
        data_queue = 0x7fff8bf650f0
        self = 0xcede460
#10 0x00007fffecb4f6a9 in producer_get_frame (service=0xcede460, 
    frame=0x7fffcb6d1dc8, index=0) at mlt_producer.c:584
        properties = 0xcede460
        eof = <value optimized out>
        speed = 0
        clone = 0xcede460
        result = 1
        self = 0xcede460
#11 0x00007fffecb4db5f in mlt_service_get_frame (self=0xcede460, 
    frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
        properties = 0xcede460
        in = 0
        out = 84377
        position = 13260
        result = 0
#12 0x00007fffecb4db5f in mlt_service_get_frame (self=0x1d24710, 
    frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
        properties = 0x1d24710
---Type <return> to continue, or q <return> to quit---
        in = 0
        out = 0
        position = -1
        result = 0
#13 0x00007fffecb53b02 in mlt_consumer_get_frame (self=0x1d24710)
    at mlt_consumer.c:547
        frame = 0x7fffd661eef0
        service = 0x1d24710
        properties = 0x1d24710
#14 0x00007fffecb53f82 in consumer_read_ahead_thread (arg=0x1d24710)
    at mlt_consumer.c:694
        time_current = 0
        self = 0x1d24710
        properties = 0x1d24710
        width = 1920
        height = 1080
        video_off = 0
        preview_off = <value optimized out>
        preview_format = <value optimized out>
        afmt = mlt_audio_pcm
        counter = 23617
---Type <return> to continue, or q <return> to quit---
        fps = 25
        channels = 2
        frequency = 48000
        samples = 1920
        audio = 0x1a01a000
        audio_off = 0
        buffer = 2
        frame = <value optimized out>
        image = 0x7fffaed44c20 "+}+\206+}+\206+}+\206+}+\206+}+\206+}*\206)})\206)})\206(}*\206*}+\206,}/\206/|0\207\060{/\207/{.\210.{.\210.{.\210.{,\210,{+\207,{-\207-{*\210){(\207(|%\205!|\037\205\037~\036\204\035\177\033\202\033\200\033\202\034\200\033\202\033\200\033\202\033\200\034\202\034\200\034\202\033\200\033\202\033\200\033\202\036\177\036\202\036\177\035\202\035\177\035\202\035\177\035\202\035\177\035\202\035\177\035\202\036\177\036\202\036\177\036\202\036\177\035\202\035\177\035\202\035\177\035\202\035\177\034\203\034\177\034\203\034\177\035\203\036\177\036\203\036\177\035\203\035\177\035\203\035\177\035\203"...
        ante = {tv_sec = 1321297968, tv_usec = 966213}
        count = 1
        skipped = 0
        time_process = 0
        skip_next = 0
---Type <return> to continue, or q <return> to quit---
        pos = <value optimized out>
        start_pos = 13260
        last_pos = 13260
        frame_duration = 40000
        drop_max = 5
#15 0x00007ffff7bc4d8c in start_thread (arg=0x7fffcb6d2700)
    at pthread_create.c:304
        pd = 0x7fffcb6d2700
        now = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736606316288, 
                -2960163981755843542, 140737349746176, 140736606316992, 0, 3, 
                2960259483603401770, 2960146927023127594}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
        robust = <value optimized out>
        sp = <value optimized out>
        freesize = <value optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#16 0x00007ffff6a8a04d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
---Type <return> to continue, or q <return> to quit---
No locals.
#17 0x0000000000000000 in ?? ()
No symbol table info available.

** Affects: openshot
     Importance: Undecided
         Status: New


** Tags: segfault

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/890377

Title:
  Segfault when moving through preview with arrow keys

Status in OpenShot Video Editor:
  New

Bug description:
  During editing a rather complex video, I get crashes of Openshot now
  and then.

  I'm using OpenShot 1.4.0 on Ubuntu 11.04 with libmlt4
  0.7.6-0ubuntu0~sunab~natty1

  This here is the backtrace I got with gdb:

  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 0x7fffcb6d2700 (LWP 2652)]
  __pthread_mutex_lock (mutex=0x6c706d61732e64b1) at pthread_mutex_lock.c:50
  50	pthread_mutex_lock.c: Datei oder Verzeichnis nicht gefunden.
  	in pthread_mutex_lock.c
  (gdb) bt
  #0  __pthread_mutex_lock (mutex=0x6c706d61732e64b1) at pthread_mutex_lock.c:50
  #1  0x00007fffecb49b5d in mlt_properties_find (self=0x5377f90, 
      name=0x7fffecb5ad30 "in") at mlt_properties.c:488
  #2  mlt_properties_get_position (self=0x5377f90, name=0x7fffecb5ad30 "in")
      at mlt_properties.c:1001
  #3  0x00007fffecb4d9a6 in mlt_service_apply_filters (
      self=<value optimized out>, frame=0x21e9fe00, index=1) at mlt_service.c:415
  #4  0x00007fffecb4dbce in mlt_service_get_frame (self=0xda9c820, 
      frame=0x7fffd40b6cc8, index=7) at mlt_service.c:469
  #5  0x00007fffecb56031 in transition_get_frame (service=0xdcd3b10, 
      frame=0x7fffad11f1a0, index=0) at mlt_transition.c:431
  #6  0x00007fffecb4db5f in mlt_service_get_frame (self=0xdcd3b10, 
      frame=0x7fffad11f1a0, index=0) at mlt_service.c:457
  #7  0x00007fffecb56031 in transition_get_frame (service=0xda9c520, 
      frame=0x7fffcb6d1bd8, index=0) at mlt_transition.c:431
  #8  0x00007fffecb4db5f in mlt_service_get_frame (self=0xda9c520, 
      frame=0x7fffcb6d1bd8, index=0) at mlt_service.c:457
  #9  0x00007fffecb56749 in producer_get_frame (parent=0xcede460, 
      frame=0x7fffcb6d1dc8, track=<value optimized out>) at mlt_tractor.c:395
  #10 0x00007fffecb4f6a9 in producer_get_frame (service=0xcede460, 
      frame=0x7fffcb6d1dc8, index=0) at mlt_producer.c:584
  ---Type <return> to continue, or q <return> to quit---
  #11 0x00007fffecb4db5f in mlt_service_get_frame (self=0xcede460, 
      frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
  #12 0x00007fffecb4db5f in mlt_service_get_frame (self=0x1d24710, 
      frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
  #13 0x00007fffecb53b02 in mlt_consumer_get_frame (self=0x1d24710)
      at mlt_consumer.c:547
  #14 0x00007fffecb53f82 in consumer_read_ahead_thread (arg=0x1d24710)
      at mlt_consumer.c:694
  #15 0x00007ffff7bc4d8c in start_thread (arg=0x7fffcb6d2700)
      at pthread_create.c:304
  #16 0x00007ffff6a8a04d in clone ()
      at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  #17 0x0000000000000000 in ?? ()

  (gdb) bt full
  #0  __pthread_mutex_lock (mutex=0x6c706d61732e64b1) at pthread_mutex_lock.c:50
          __PRETTY_FUNCTION__ = "__pthread_mutex_lock"
          type = <value optimized out>
          id = <value optimized out>
  #1  0x00007fffecb49b5d in mlt_properties_find (self=0x5377f90, 
      name=0x7fffecb5ad30 "in") at mlt_properties.c:488
          list = 0x6c706d61732e6169
          value = 0x0
          key = 37
          i = <value optimized out>
  #2  mlt_properties_get_position (self=0x5377f90, name=0x7fffecb5ad30 "in")
      at mlt_properties.c:1001
          value = 0x0
  #3  0x00007fffecb4d9a6 in mlt_service_apply_filters (
      self=<value optimized out>, frame=0x21e9fe00, index=1) at mlt_service.c:415
          in = <value optimized out>
          out = <value optimized out>
          disable = <value optimized out>
          i = <value optimized out>
          frame_properties = 0x21e9fe00
          service_properties = <value optimized out>
  ---Type <return> to continue, or q <return> to quit---
          base = 0xda89c90
          position = 0
          self_in = 0
          self_out = 0
  #4  0x00007fffecb4dbce in mlt_service_get_frame (self=0xda9c820, 
      frame=0x7fffd40b6cc8, index=7) at mlt_service.c:469
          properties = 0x21e9fe00
          in = 0
          out = 0
          position = -1
          result = <value optimized out>
  #5  0x00007fffecb56031 in transition_get_frame (service=0xdcd3b10, 
      frame=0x7fffad11f1a0, index=0) at mlt_transition.c:431
          active = 0
          i = 7
          a_frame = 0
          invalid = 0x7fffecb45600 <mlt_frame_is_test_card>
          b_frame = 8
          position = <value optimized out>
          error = 0
          self = 0xdcd3b10
  ---Type <return> to continue, or q <return> to quit---
          properties = 0xdcd3b10
          accepts_blanks = 0
          a_track = 0
          b_track = 8
          in = 12588
          out = 12635
          always_active = 0
          type = 1
          reverse_order = 0
  #6  0x00007fffecb4db5f in mlt_service_get_frame (self=0xdcd3b10, 
      frame=0x7fffad11f1a0, index=0) at mlt_service.c:457
          properties = 0xdcd3b10
          in = 12588
          out = 12635
          position = -1
          result = 0
  #7  0x00007fffecb56031 in transition_get_frame (service=0xda9c520, 
      frame=0x7fffcb6d1bd8, index=0) at mlt_transition.c:431
          active = 0
          i = 0
          a_frame = 0
  ---Type <return> to continue, or q <return> to quit---
          invalid = 0x7fffecb45640 <mlt_frame_is_test_audio>
          b_frame = 8
          position = <value optimized out>
          error = 0
          self = 0xda9c520
          properties = 0xda9c520
          accepts_blanks = 0
          a_track = 0
          b_track = 8
          in = 11791
          out = 12635
          always_active = 1
          type = 2
          reverse_order = 0
  #8  0x00007fffecb4db5f in mlt_service_get_frame (self=0xda9c520, 
      frame=0x7fffcb6d1bd8, index=0) at mlt_service.c:457
          properties = 0xda9c520
          in = 11791
          out = 12635
          position = -1
          result = 0
  ---Type <return> to continue, or q <return> to quit---
  #9  0x00007fffecb56749 in producer_get_frame (parent=0xcede460, 
      frame=0x7fffcb6d1dc8, track=<value optimized out>) at mlt_tractor.c:395
          props_count = <value optimized out>
          j = <value optimized out>
          video = <value optimized out>
          label = "\270\320v\255\377\177\000\000}\232\264\354\377\177\000\000>\250\265\354\377\177\000\000\000\000\000\000\000"
          id = 0x7fffd653d200 "\260/\002\256\377\177"
          frame_properties = 0x7fffd661eef0
          audio = <value optimized out>
          first_video = <value optimized out>
          temp_properties = <value optimized out>
          target = <value optimized out>
          image_count = <value optimized out>
          global_feed = 1
          done = <value optimized out>
          temp = 0x0
          count = <value optimized out>
          properties = 0xcede460
          i = <value optimized out>
          multitrack = <value optimized out>
  ---Type <return> to continue, or q <return> to quit---
          producer = <value optimized out>
          data_queue = 0x7fff8bf650f0
          self = 0xcede460
  #10 0x00007fffecb4f6a9 in producer_get_frame (service=0xcede460, 
      frame=0x7fffcb6d1dc8, index=0) at mlt_producer.c:584
          properties = 0xcede460
          eof = <value optimized out>
          speed = 0
          clone = 0xcede460
          result = 1
          self = 0xcede460
  #11 0x00007fffecb4db5f in mlt_service_get_frame (self=0xcede460, 
      frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
          properties = 0xcede460
          in = 0
          out = 84377
          position = 13260
          result = 0
  #12 0x00007fffecb4db5f in mlt_service_get_frame (self=0x1d24710, 
      frame=0x7fffcb6d1dc8, index=0) at mlt_service.c:457
          properties = 0x1d24710
  ---Type <return> to continue, or q <return> to quit---
          in = 0
          out = 0
          position = -1
          result = 0
  #13 0x00007fffecb53b02 in mlt_consumer_get_frame (self=0x1d24710)
      at mlt_consumer.c:547
          frame = 0x7fffd661eef0
          service = 0x1d24710
          properties = 0x1d24710
  #14 0x00007fffecb53f82 in consumer_read_ahead_thread (arg=0x1d24710)
      at mlt_consumer.c:694
          time_current = 0
          self = 0x1d24710
          properties = 0x1d24710
          width = 1920
          height = 1080
          video_off = 0
          preview_off = <value optimized out>
          preview_format = <value optimized out>
          afmt = mlt_audio_pcm
          counter = 23617
  ---Type <return> to continue, or q <return> to quit---
          fps = 25
          channels = 2
          frequency = 48000
          samples = 1920
          audio = 0x1a01a000
          audio_off = 0
          buffer = 2
          frame = <value optimized out>
          image = 0x7fffaed44c20 "+}+\206+}+\206+}+\206+}+\206+}+\206+}*\206)})\206)})\206(}*\206*}+\206,}/\206/|0\207\060{/\207/{.\210.{.\210.{.\210.{,\210,{+\207,{-\207-{*\210){(\207(|%\205!|\037\205\037~\036\204\035\177\033\202\033\200\033\202\034\200\033\202\033\200\033\202\033\200\034\202\034\200\034\202\033\200\033\202\033\200\033\202\036\177\036\202\036\177\035\202\035\177\035\202\035\177\035\202\035\177\035\202\035\177\035\202\036\177\036\202\036\177\036\202\036\177\035\202\035\177\035\202\035\177\035\202\035\177\034\203\034\177\034\203\034\177\035\203\036\177\036\203\036\177\035\203\035\177\035\203\035\177\035\203"...
          ante = {tv_sec = 1321297968, tv_usec = 966213}
          count = 1
          skipped = 0
          time_process = 0
          skip_next = 0
  ---Type <return> to continue, or q <return> to quit---
          pos = <value optimized out>
          start_pos = 13260
          last_pos = 13260
          frame_duration = 40000
          drop_max = 5
  #15 0x00007ffff7bc4d8c in start_thread (arg=0x7fffcb6d2700)
      at pthread_create.c:304
          pd = 0x7fffcb6d2700
          now = <value optimized out>
          unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736606316288, 
                  -2960163981755843542, 140737349746176, 140736606316992, 0, 3, 
                  2960259483603401770, 2960146927023127594}, 
                mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
              data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
          not_first_call = 0
          robust = <value optimized out>
          sp = <value optimized out>
          freesize = <value optimized out>
          __PRETTY_FUNCTION__ = "start_thread"
  #16 0x00007ffff6a8a04d in clone ()
      at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
  ---Type <return> to continue, or q <return> to quit---
  No locals.
  #17 0x0000000000000000 in ?? ()
  No symbol table info available.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/890377/+subscriptions


Follow ups

References