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 569769 - Coredumps
Coredumps
Status: RESOLVED FIXED
Product: gnome-keyring
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-01-30 06:28 UTC by Matthias Clasen
Modified: 2009-01-30 20:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2009-01-30 06:28:35 UTC
First filed here: https://bugzilla.redhat.com/show_bug.cgi?id=481473

I've noticed several times this coredump backtrace on my system:

  • #0 IA__g_logv
    at gmessages.c line 503
  • #0 IA__g_logv
    at gmessages.c line 503
  • #1 IA__g_log
    at gmessages.c line 517
  • #2 IA__g_realloc
    at gmem.c line 174
  • #3 attribute_init
    at gp11-attributes.c line 45
  • #4 initialize_from_valist
    at gp11-attributes.c line 748
  • #5 gp11_module_enumerate_objects
    at gp11-module.c line 985
  • #6 op_request_identities
    at gck-ssh-agent-ops.c line 659
  • #7 run_client_thread
    at gck-ssh-agent.c line 164
  • #8 g_thread_create_proxy
    at gthread.c line 635
  • #9 start_thread
    at pthread_create.c line 297
  • #10 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 112
  • #11 ??


Version-Release number of selected component (if applicable):
gnome-keyring-2.25.5-1.fc11.x86_64
Comment 1 Stef Walter 2009-01-30 20:44:03 UTC
Thanks for reporting this.

The stack trace has a few oddities, which I don't really understand, but I think I've found the bug and committed a patch here.

We now use a definite G_MAXULONG value for a varargs sentinel instead of the strange (but more PKCS#11 recommended): (gulong)-1 or -1UL

On 32-bit platforms they would have been the same, but on 64-bit obviously there's trouble.

2009-01-29  Stef Walter  <stef@memberwebs.com>

	* gp11/gp11.h:
	* gp11/gp11-attributes.c: Use a more definite value for 
	our varargs termination. Fixes bug #569769