SIGSEGV @ socket-impl-gio.cc:502 (abort_flag)

Heinrich Müller <[email protected]>
Newsgroups gmane.comp.gnome.apps.pan.devel
Message-ID <[email protected]>
OS: 64 bit ubuntu jaunty 9.04, latest version from SVN.

code snippet //

/if (_abort_flag)
  {
    _listener->on_socket_abort (this);
  }
  else if (!(cond & (G_IO_IN | G_IO_OUT)))
  {
    _listener->on_socket_error (this);
  }
  else // G_IO_IN or G_IO_OUT
  {
    const DoResult result = (cond & G_IO_IN) ? do_read () : do_write ();
    /*  if (_abort_flag)        _listener->on_socket_abort (this);
    else*/ if (result == IO_ERR)   _listener->on_socket_error (this);
    else if (result == IO_READ)  set_watch_mode (READ_NOW);
    else if (result == IO_WRITE) set_watch_mode (WRITE_NOW);
  }/


//

isn't the second appearance of abort_flag a dupe? it was already checked 
before by the first "if" branch...
i commented that and got no errors so far (opposed to random segfaults 
before) :D
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.