#463 liferea crash when watching last unread post

git_master
closed-fixed
Lars Windolf
None
7
2014-01-15
2007-02-15
Rodrigo Gallardo
No

From Debian bug #411076:

On Thu, Feb 15, 2007 at 09:06:08PM +0100, Mario Izquierdo (mariodebian) wrote:
> Click on "Unread" virtual dir and read all unreads feeds.
> When last post is readed, unselect it (Ctrl+click)
> liferea have a segmentation fault and close.
>
> Using xulrunner as HTML feed engine.

I connected gdb to the process and attempted to get a backtrace. And
it seems the stack is getting very corrupted somehow, since all I got
was:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1313170512 (LWP 8689)]
0xb1ba9490 in ?? ()
(gdb) bt
#0 0xb1ba9490 in ?? ()
#1 0x00000000 in ?? ()
(gdb) n
Cannot find bounds of current function

Discussion

  • Lars Windolf
    Lars Windolf
    2007-02-23

    Logged In: YES
    user_id=834800
    Originator: NO

    Reproduced.

     
  • Lars Windolf
    Lars Windolf
    2007-02-23

    • priority: 5 --> 7
     
  • Lars Windolf
    Lars Windolf
    2007-02-26

    Logged In: YES
    user_id=834800
    Originator: NO

    I found the reason for the crash but I'm not yet sure how to fix it. The problem is the program currently does not recognize the unselect when you do the Ctrl-Click on the last item. But the following click to reselect it causes first an unselect which removes the item and afterwards a select on an already deleted GtkTreeView iterator causing the crash.

     
  • Lars Windolf
    Lars Windolf
    2014-01-15

    • status: open --> closed-fixed
    • assigned_to: Lars Windolf
    • Group: --> git_master
     
  • Lars Windolf
    Lars Windolf
    2014-01-15

    I believe this to be fixed in 1.10 after the changes to the last unread item selection.