#428 lxpanel segfault fix

closed-accepted
nobody
None
5
2013-04-23
2012-09-29
No

This is my attempt to fix the segmentation fault with crashing function flash_window_timeout reported here:
https://bugzilla.redhat.com/show_bug.cgi?id=587430

In various places in taskbar.c there is logic depending the timeout callback pointer being 'active' when it is not zero. In one instance (the one being address with the attached patch) the callback is unregistered but not zeroed out.

This patch appears to prevent the segfault and also prevent excessive flashing that Firefox exhibits in lxpanel.

Discussion

  • Christoph Wickert

    • status: open --> open-accepted
     
  • Bastiaan Jacques

    complete fix

     
    Attachments
  • Bastiaan Jacques

    cwickert: if it makes you feel better, the previous fix didn't quite prevent the segfault. This patch should do so.

     
  • Henry Gebhardt

    Henry Gebhardt - 2013-04-23

    Thanks, I committed the patch to master. Reopen if it still isn't fixed. Again, thanks!

     
  • Henry Gebhardt

    Henry Gebhardt - 2013-04-23
    • status: open-accepted --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks