After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 411697 - gnome-about-me crashed with SIGSEGV in g_io_channel_shutdown()
gnome-about-me crashed with SIGSEGV in g_io_channel_shutdown()
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] about-me
2.17.x
Other Linux
: Normal critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-24 21:39 UTC by Sebastien Bacher
Modified: 2007-02-26 17:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
dump the child watcher before cleaning up (2.05 KB, patch)
2007-02-25 14:40 UTC, Jens Granseuer
committed Details | Review

Description Sebastien Bacher 2007-02-24 21:39:25 UTC
That bug has been opened on https://launchpad.net/bugs/86193

"Gnome About-Me "crashed" when I closed it.
...
Package: gnome-control-center 1:2.17.91-0ubuntu3
..."

Debug backtrace from duplicate:

"Loaded symbols for /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
Core was generated by `gnome-about-me'.
Program terminated with signal 11, Segmentation fault.

Thread 1 (process 5914)

  • #0 IA__g_io_channel_shutdown
    at giochannel.c line 371
  • #1 free_passwd_resources
    at gnome-about-me-password.c line 294
  • #2 g_child_watch_dispatch
    at gmain.c line 3655
  • #3 IA__g_main_context_dispatch
    at gmain.c line 2045
  • #4 g_main_context_iterate
    at gmain.c line 2677
  • #5 IA__g_main_loop_run
    at gmain.c line 2881
  • #6 IA__gtk_main
    at gtkmain.c line 1171
  • #7 main
    at gnome-about-me.c line 889

Comment 1 Jens Granseuer 2007-02-25 12:09:30 UTC
I can't reproduce here. It would be very helpful to know what the people experiencing this did in the capplet before closing it, especially anything concerning the "Change password..." window.
Comment 2 Jens Granseuer 2007-02-25 12:11:46 UTC
Also note that there might be some relation to bug 368901 and friends.
Comment 3 Jens Granseuer 2007-02-25 14:40:19 UTC
Created attachment 83305 [details] [review]
dump the child watcher before cleaning up

Hm. Still haven't been able to reproduce, but here's an idea where it comes from. If the child watcher is still active when we close the password window (ie. if we have authenticated ourselves), it may end up accessing a pdialog that has already been freed.

This would also explain why the crash didn't appear before 2.17.91, because we simply didn't clean up properly after ourselves back then ;-)

It would be great if somebody who is seeing this could verify that
a) the crash happens always/often after having authenticated/changed the password etc
b) it doesn't occur anymore with this patch applied
Comment 4 Sebastien Bacher 2007-02-26 11:24:12 UTC
Description from one of the Ubuntu bugs: "I changed my user password and clicked ok, when the application crashed"

Maybe you could commit the patch for the new tarball today which will make testing easier?
Comment 5 Jens Granseuer 2007-02-26 17:08:28 UTC
Ok, applied, and hopefully fixed.