#2453: Sometimes crashes after torrent file updates through updattor plugin
----------------------+-------------------
 Reporter:  LuckyRu   |      Owner:
     Type:  bug       |     Status:  new
 Priority:  critical  |  Milestone:  1.3.x
Component:  GTK-UI    |    Version:  1.3.6
 Keywords:            |
----------------------+-------------------
 I think there is a race condition error

 log output at debug level:
 {{{
 [DEBUG   ] 23:44:45 rpcserver:466 intevents: {}
 [DEBUG   ] 23:44:45 configmanager:111 Getting config 'gtkui.conf'
 [INFO    ] 23:44:45 core:200 Updatorr Processing Мастер Муши ТВ-2 ...
 [DEBUG   ] 23:44:45 handler_base:148 Getting page at
 http://tr.anidub.com/?newsid=8931 ...
 [DEBUG   ] 23:44:45 handler_base:148 Found div whith quality id "psp"
 [DEBUG   ] 23:44:45 handler_base:148 Found div whith quality id "hwp"
 [DEBUG   ] 23:44:45 handler_base:148 Found div whith quality id "tv720"
 [DEBUG   ] 23:44:45 handler_base:148 Try to find quality "tv720"
 [DEBUG   ] 23:44:45 handler_base:148 Selector is "div.torrent >
 div.torrent_c > div#tv720 div.torrent_h a"
 [DEBUG   ] 23:44:45 handler_base:148 found doanload link
 http://tr.anidub.com//engine/download.php?id=3891
 [DEBUG   ] 23:44:45 handler_base:148 Torrent download link found:
 http://tr.anidub.com//engine/download.php?id=3891
 [DEBUG   ] 23:44:45 handler_base:148 Downloading torrent file from
 http://tr.anidub.com//engine/download.php?id=3891 ...
 [DEBUG   ] 23:44:45 handler_base:148 Getting page at
 http://tr.anidub.com//engine/download.php?id=3891 ...
 [INFO    ] 23:44:46 core:231 Updatorr   Torrent update is available
 [DEBUG   ] 23:44:46 torrentmanager:329 torrentmanager.add
 [DEBUG   ] 23:44:46 configmanager:111 Getting config 'core.conf'
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 0 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[03]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 1 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[05]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 2 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[01]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 3 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[06]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 4 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[02]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 5 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[07]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:428 renaming file index 6 to Мастер
 Муши
 ТВ-2/[AniDub]_Mushishi_Zoku_Shou_[04]_[720p_x264_Aac]_[Cuba77_Oriko].mp4
 [DEBUG   ] 23:44:46 torrentmanager:437 options: {'max_download_speed':
 -1.0, 'move_completed_path':
 '/home/lucky/\xd0\x97\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb7\xd0\xba\xd0\xb8',
 'private': True, 'total_payload_upload': 0, 'paused': False,
 'max_upload_slots': -1, 'file_priorities': [1, 1, 1, 1, 1, 1, 1],
 'prioritize_first_last': False, 'max_connections': -1,
 'download_location':
 
'/home/lucky/\xd0\x92\xd0\xb8\xd0\xb4\xd0\xb5\xd0\xbe/\xd0\x90\xd0\xbd\xd0\xb8\xd0\xbc\xd0\xb5',
 'compact_allocation': False, 'max_upload_speed': -1.0, 'save_path':
 
'/home/lucky/\xd0\x92\xd0\xb8\xd0\xb4\xd0\xb5\xd0\xbe/\xd0\x90\xd0\xbd\xd0\xb8\xd0\xbc\xd0\xb5',
 'prioritize_first_last_pieces': False, 'auto_managed': True,
 'stop_at_ratio': False, 'move_completed': False, 'move_on_completed_path':
 '/home/lucky/\xd0\x97\xd0\xb0\xd0\xb3\xd1\x80\xd1\x83\xd0\xb7\xd0\xba\xd0\xb8',
 'add_paused': False, 'move_on_completed': False, 'is_auto_managed': True,
 'mapped_files': {0: u'\u041c\u0430\u0441\u0442\u0435\u0440
 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[03]_[720p_x264_Aac]_[Cuba77_Oriko].mp4',
 1: u'\u041c\u0430\u0441\u0442\u0435\u0440 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[05]_[720p_x264_Aac]_[Cuba77_Oriko].mp4',
 2: u'\u041c\u0430\u0441\u0442\u0435\u0440 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[01]_[720p_x264_Aac]_[Cuba77_Oriko].mp4',
 3: u'\u041c\u0430\u0441\u0442\u0435\u0440 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[06]_[720p_x264_Aac]_[Cuba77_Oriko].mp4',
 4: u'\u041c\u0430\u0441\u0442\u0435\u0440 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[02]_[720p_x264_Aac]_[Cuba77_Oriko].mp4',
 5: u'\u041c\u0430\u0441\u0442\u0435\u0440 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[07]_[720p_x264_Aac]_[Cuba77_Oriko].mp4',
 6: u'\u041c\u0430\u0441\u0442\u0435\u0440 \u041c\u0443\u0448\u0438
 
\u0422\u0412-2/[AniDub]_Mushishi_Zoku_Shou_[04]_[720p_x264_Aac]_[Cuba77_Oriko].mp4'},
 'queue': -1, 'remove_at_ratio': False, 'stop_ratio': 2.0}
 [DEBUG   ] 23:44:46 torrentmanager:471 handle id:
 7aa1e861551fb3af49152e89081a87c68b9ebdc1
 [DEBUG   ] 23:44:46 torrent:105 Creating torrent object
 7aa1e861551fb3af49152e89081a87c68b9ebdc1
 [DEBUG   ] 23:44:46 configmanager:111 Getting config 'core.conf'
 [DEBUG   ] 23:44:46 configmanager:111 Getting config 'core.conf'
 [DEBUG   ] 23:44:46 torrent:305 setting
 7aa1e861551fb3af49152e89081a87c68b9ebdc1's file priorities: [1, 1, 1, 1,
 1, 1, 1]
 [DEBUG   ] 23:44:46 torrent:381 set_state_based_on_ltstate: Queued
 [DEBUG   ] 23:44:46 torrent:382 session.is_paused: False
 [DEBUG   ] 23:44:46 torrent:212 Torrent object created.
 [DEBUG   ] 23:44:46 alertmanager:123 torrent_added_alert:
 [AniDub]_Mushishi_Zoku_Shou_[720p]_[Cuba77_Oriko] added
 [DEBUG   ] 23:44:46 alertmanager:123 state_changed_alert:
 [AniDub]_Mushishi_Zoku_Shou_[720p]_[Cuba77_Oriko]: state changed to:
 checking (q)
 [DEBUG   ] 23:44:46 torrentmanager:1028 on_alert_state_changed
 [DEBUG   ] 23:44:46 torrent:381 set_state_based_on_ltstate: Checking
 [DEBUG   ] 23:44:46 torrent:382 session.is_paused: False
 [DEBUG   ] 23:44:46 rpcserver:466 intevents: {}
 [DEBUG   ] 23:44:46 torrentmanager:696 Saving torrent state file.
 [DEBUG   ] 23:44:46 rpcserver:466 intevents: {}
 [INFO    ] 23:44:46 torrentmanager:520 Torrent Мастер Муши ТВ-2 added by
 user:
 [DEBUG   ] 23:44:46 core:322 Removing torrent
 dd19a297553f2789726067fbcaaf73bf5a25be3f from the core.
 [DEBUG   ] 23:44:46 rpcserver:466 intevents: {}
 [DEBUG   ] 23:44:46 torrentmanager:736 Opening torrents fastresume file
 for load.
 [DEBUG   ] 23:44:46 torrent:898 Deleting torrent file:
 
/home/lucky/.config/deluge/state/dd19a297553f2789726067fbcaaf73bf5a25be3f.torrent
 [DEBUG   ] 23:44:46 torrentmanager:696 Saving torrent state file.
 [DEBUG   ] 23:44:46 alertmanager:123 state_changed_alert:
 [AniDub]_Mushishi_Zoku_Shou_[720p]_[Cuba77_Oriko]: state changed to:
 checking
 [DEBUG   ] 23:44:46 alertmanager:123 torrent_resumed_alert:
 [AniDub]_Mushishi_Zoku_Shou_[720p]_[Cuba77_Oriko] resumed
 [DEBUG   ] 23:44:46 alertmanager:123 torrent_removed_alert:
 [AniDub]_Mushishi_Zoku_Shou_[720p]_[Cuba77_Oriko] removed
 [DEBUG   ] 23:44:46 alertmanager:123 tracker_announce_alert:
 [AniDub]_Mushishi_Zoku_Shou_[720p]_[Cuba77_Oriko]
 (http://tr.anidub.com:80/00018b66bec5853f28ed78137661adb7/announce)
 sending announce (stopped)
 [DEBUG   ] 23:44:46 rpcserver:466 intevents: {}
 [INFO    ] 23:44:46 torrentmanager:615 Torrent Мастер Муши ТВ-2 removed by
 user:
 [INFO    ] 23:44:46 core:238 Updatorr   Torrent is updated
 [DEBUG   ] 23:44:46 rpcserver:466 intevents: {}
 [DEBUG   ] 23:44:46 configmanager:111 Getting config 'gtkui.conf'
 [DEBUG   ] 23:44:46 config:423 Saving new config file
 /home/lucky/.config/deluge/updatorr.conf.new
 /usr/lib/python2.7/site-packages/deluge/ui/gtkui/listview.py:69:
 GtkWarning: gtk_tree_model_sort_get_value: assertion 'VALID_ITER (iter,
 tree_model_sort)' failed
   size = model.get_value(row, data)

 (deluge:6469): GLib-GObject-CRITICAL **: g_value_unset: assertion
 'G_IS_VALUE (value)' failed
 Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/listview.py",
 line 69, in cell_data_size
     size = model.get_value(row, data)
 TypeError: unknown type (null)
 /usr/lib/python2.7/site-packages/deluge/ui/gtkui/torrentview.py:152:
 GtkWarning: gtk_tree_model_sort_get_value: assertion 'VALID_ITER (iter,
 tree_model_sort)' failed
   (value, state_str) = model.get(row, *data)

 (deluge:6469): GLib-GObject-CRITICAL **: g_value_unset: assertion
 'G_IS_VALUE (value)' failed

 (deluge:6469): GLib-GObject-CRITICAL **: g_value_unset: assertion
 'G_IS_VALUE (value)' failed
 Fatal Python error: (pygame parachute) Segmentation Fault
 А
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2453>
Deluge <http://deluge-torrent.org/>
Deluge project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to