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 136704 - /dev/pmu permission error messages cause settings-daemon crash on startup
/dev/pmu permission error messages cause settings-daemon crash on startup
Status: RESOLVED DUPLICATE of bug 134775
Product: gnome-control-center
Classification: Core
Component: [obsolete] settings-daemon
2.5.x
Other Linux
: Normal critical
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-03-10 01:36 UTC by Allison Karlitskaya (desrt)
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Allison Karlitskaya (desrt) 2004-03-10 01:36:19 UTC
Possibly related to bug 132655

  • #0 waitpid
    from /lib/libpthread.so.0
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 741
  • #2 __pthread_sighandler
    from /lib/libpthread.so.0
  • #3 <signal handler called>
  • #4 kill
    from /lib/libc.so.6
  • #5 pthread_kill
    from /lib/libpthread.so.0
  • #6 raise
    from /lib/libpthread.so.0
  • #7 g_logv
    at gmessages.c line 518
  • #8 g_log
    at gmessages.c line 541
  • #9 bonobo_activation_timeout_reg_check
    at bonobo-activation-register.c line 63
  • #10 g_timeout_dispatch
    at gmain.c line 3276
  • #11 g_main_dispatch
    at gmain.c line 1905
  • #12 g_main_context_dispatch
    at gmain.c line 2451
  • #13 g_main_context_iterate
    at gmain.c line 2532
  • #14 g_main_loop_run
    at gmain.c line 2752
  • #15 gtk_dialog_run
    at gtkdialog.c line 1004
  • #16 acme_error
    at gnome-settings-multimedia-keys.c line 93
  • #17 fblevel_problem_cb
    at gnome-settings-multimedia-keys.c line 148
  • #18 gnome_settings_multimedia_keys_load
    at gnome-settings-multimedia-keys.c line 942
  • #19 gnome_settings_daemon_new
    at gnome-settings-daemon.c line 334


It appears that the "Incorrect permissions on /dev/pmu" dialog box pops up
before the bonobo/idl/whatever(??) stuff is properly initialised for the
settings-daemon which causes it to throw a trap.

This is pretty serious - it prevents gnome from starting *at all* on my
iBook. (settings-daemon segfaulting during session startup is bad)

The bug goes away if I create /dev/pmu and give my user account access to
it.  (it seems clear from the backtrace that the very act of displaying the
error message is what is causing the problem)

I'd rather gnome didn't try to touch /dev/pmu at all (as I have pbbuttonsd
running to take care of this).  I've simply hacked it out of my version but
that's not really a suitable solution for everyone....
Comment 1 Allison Karlitskaya (desrt) 2004-03-10 01:39:30 UTC
NB:  problem also doesn't happen when gnome-settings-daemon is invoked
manually with no options.  gnome-session invokes it like this:

/usr/libexec/gnome-settings-daemon
--oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=22

The --oaf-activate-iid is the problem switch.  The crash happens while
invoking manually if you give this switch.

No idea how any of this oaf/idl stuff works... just reporting what I
am experiencing.
Comment 2 Vincent Untz 2004-03-14 15:24:22 UTC
This is a dup.

*** This bug has been marked as a duplicate of 134775 ***