Stack overflow when adding files

Bug #1511150 reported by Luc on 2015-10-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SoundConverter
Undecided
Unassigned

Bug Description

When adding about 100 files or more (I didn't test the exact number), it produces a stack overflow. Occurs both when adding a directory and when selecting multiple files. Solved by adding 35 files at a time, but quite annoying. Stack trace:

Traceback (most recent call last):
  File "/usr/share/soundconverter/python/soundconverter/queue.py", line 111, in task_finished
    self.start_next_task()
  File "/usr/share/soundconverter/python/soundconverter/queue.py", line 76, in start_next_task
    task.start()
  File "/usr/share/soundconverter/python/soundconverter/task.py", line 44, in start
    self.emit('started')
  File "/usr/share/soundconverter/python/soundconverter/task.py", line 59, in emit
    GObject.idle_add(getattr(self, signal))
RuntimeError: maximum recursion depth exceeded
Pipeline.play
Pipeline.play
Pipeline.play
Pipeline.play
Pipeline.play
Pipeline.play
Pipeline.play
Fatal Python error: Cannot recover from stack overflow.

Current thread 0x00007f75ff2c6700 (most recent call first):
  File "/usr/lib/python3.4/_collections_abc.py", line 422 in get
  File "/usr/lib/python3.4/gettext.py", line 363 in find
  File "/usr/lib/python3.4/gettext.py", line 415 in translation
  File "/usr/lib/python3.4/gettext.py", line 480 in dgettext
  File "/usr/lib/python3.4/gettext.py", line 516 in gettext
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 1473 in set_status
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 295 in commit_waiting_files
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 286 in append_file
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 194 in found_type
  File "/usr/share/soundconverter/python/soundconverter/gstreamer.py", line 330 in finished
  File "/usr/share/soundconverter/python/soundconverter/ui.py", line 67 in gtk_iteration
  ...
Aborted

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers