Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
G
GLib
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 926
    • Issues 926
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 61
    • Merge Requests 61
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • GLib
  • Issues
  • #18

Closed
Open
Opened Mar 22, 2004 by bugzilla-migration@bugzilla-migrationReporter

Sometimes a GIOFunc on Win32 is called with zero condition

Submitted by Tor Lillqvist

Link to original bug (#137968)

Description

Sometimes GLib calls the callback function set with g_io_add_watch() with the condition equalling zero. See the comments added today in bug #132113. This seems to happen only when you are moving one of GIMP's windows while it is talking to a plug-in, so presumably the Win32 code in gmain.c gets confused and calls also the callback for the plug-in's read pipe when it is notified that there is a Windows message waiting. Or something. Anyway, should be trivial to simply make sure that a callback isn't called with a zero condition, but it would be better to find the root cause why it even would want to do it, of course.

Version: 2.4.x

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/glib#18