diff options
author | hut <hut@lavabit.com> | 2012-08-08 03:58:22 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-08 03:58:22 +0200 |
commit | 859deb51bf9c03b0f54c5b4df4e9a3529b7aa528 (patch) | |
tree | 8a8cd8b049c8e60dd7a8a186b5f85294fbfef4b2 /setup.py | |
parent | 5ee1e874cc5f9136af3a9a835b76076a85693bd0 (diff) | |
download | ranger-859deb51bf9c03b0f54c5b4df4e9a3529b7aa528.tar.gz |
widgets.browsercolumn: Fixed segmentation fault due to 93601b17
https://github.com/hut/ranger/issues/45 hut: I've been experiencing irregular segfaults in ranger-master for which I can't figure out the reasons. Here is all the info I got: - It started around the time of commit 5417dda - I think it is a problem with curses' addstr/addnstr function - It happens randomly, there is no specific action that causes it - It happens more often with python3 than with python2 - It's most likely somewhere in here: git diff master 5417dda5^ ranger/gui/widgets/browsercolumn.py - but I don't see anything wrong. hut: I nailed it down to 93601b1 and fixed it. For what it's worth, this is how to reproduce it: (tested with rxvt-unicode 9.15 and dwm but may work with any other tiling window manager): - Ensure that the setting display_tags_in_all_columns is set to True (this is the default) - Tag a file or directory with the "t" key - Navigate so that this tagged file is the LAST file you see of a column other the main column - Open a new window (resulting in rangers window getting smaller by at least one row) - Close a window (resulting in rangers window growing back to the original size) - Watch rangers brain being splattered all over the sand If you don't use a tiling window manager, you can do steps 1-3 and then resize rangers window very quickly. When resizing ranger manually, one of these messages is printed instead of "Segmentation Fault": - *** glibc detected *** python2.7: corrupted double-linked list: 0x0949cc98 *** - python2.7: malloc.c:3964: _int_free: Assertion `nextchunk->fd_nextsize->bk_nextsize == nextchunk' failed.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions