← Back to team overview

desktop-packages team mailing list archive

[Bug 879573] Re: seahorse segfaults on import of SSH key generated by ssh-keygen

 

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: seahorse (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to seahorse in Ubuntu.
https://bugs.launchpad.net/bugs/879573

Title:
  seahorse segfaults on import of SSH key generated by ssh-keygen

Status in “seahorse” package in Ubuntu:
  Confirmed

Bug description:
  Problem:
  Seahourse seg faults when one attempts to import an SSH key generated by ssh-keygen 

  uname -a:
  Linux vk-desk463 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux  -  
  lsb_release -rn:
  Ubuntu 10.04.3 LTS
  Package:
  Seahorse 2.30.0-0ubuntu2 

  Anonymoised strace output:
  open("/home/aa/.ssh/id_example.com.rsa", O_RDONLY|O_LARGEFILE) = 19
  read(19, "-----BEGIN RSA PRIVATE KEY-----\n"..., 2141) = 2141
  close(19)                               = 0
  gettimeofday({1319217913, 199946}, NULL) = 0
  gettimeofday({1319217913, 199983}, NULL) = 0
  open("/home/aa/.ssh/id_example.com.rsa", O_RDONLY|O_LARGEFILE) = 19
  fstat64(19, {st_mode=S_IFREG|0400, st_size=3326, ...}) = 0
  _llseek(19, 0, [0], SEEK_CUR)           = 0
  read(19, "-----BEGIN RSA PRIVATE KEY-----\n"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "11111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 128
  read(19, "111111111111111111111111111111111"..., 128) = 126
  read(19, "", 2)                         = 0
  access("/home/aa/.ssh/id_rsa", F_OK)    = 0
  access("/home/aa/.ssh/id_rsa.1", F_OK)  = 0
  access("/home/aa/.ssh/id_rsa.2", F_OK)  = 0
  access("/home/aa/.ssh/id_rsa.3", F_OK)  = -1 ENOENT (No such file or directory)
  umask(077)                              = 027
  gettimeofday({1319217913, 201654}, NULL) = 0
  open("/home/aa/.ssh/id_rsa.3.QQ6Q3V", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 20
  fcntl64(20, F_GETFL)                    = 0x8002 (flags O_RDWR|O_LARGEFILE)
  fstat64(20, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb4197000
  _llseek(20, 0, [0], SEEK_CUR)           = 0
  write(20, "-----BEGIN RSA PRIVATE KEY-----\n"..., 3201) = 3201
  lstat64("/home/aa/.ssh/id_rsa.3", 0xbfcddf0c) = -1 ENOENT (No such file or directory)
  close(20)                               = 0
  munmap(0xb4197000, 4096)                = 0
  rename("/home/aa/.ssh/id_rsa.3.QQ6Q3V", "/home/aa/.ssh/id_rsa.3") = 0
  umask(027)                              = 077
  socketpair(PF_FILE, SOCK_STREAM, 0, [20, 21]) = 0
  pipe([22, 23])                          = 0
  pipe([24, 25])                          = 0
  pipe([26, 27])                          = 0
  clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7798798) = 13697
  close(23)                               = 0
  close(25)                               = 0
  close(27)                               = 0
  read(22, "", 8)                         = 0
  close(22)                               = 0
  fcntl64(24, F_GETFL)                    = 0 (flags O_RDONLY)
  fcntl64(24, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
  fstat64(24, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  fcntl64(24, F_GETFL)                    = 0x800 (flags O_RDONLY|O_NONBLOCK)
  fcntl64(26, F_GETFL)                    = 0 (flags O_RDONLY)
  fcntl64(26, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
  fstat64(26, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
  fcntl64(26, F_GETFL)                    = 0x800 (flags O_RDONLY|O_NONBLOCK)
  pipe([22, 23])                          = 0
  fcntl64(23, F_GETFL)                    = 0x1 (flags O_WRONLY)
  fcntl64(23, F_SETFL, O_WRONLY|O_NONBLOCK) = 0
  sched_get_priority_min(SCHED_OTHER)     = 0
  sched_get_priority_max(SCHED_OTHER)     = 0
  clone(child_stack=0xb5199424, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb5199bd8, {entry_number:6, base_addr:0xb5199b70, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb5199bd8) = 13698
  rt_sigaction(SIGCHLD, {0x2e7cc0, [], SA_RESTART|SA_NOCLDSTOP}, NULL, 8) = 0
  fstat64(20, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
  fcntl64(20, F_GETFL)                    = 0x2 (flags O_RDWR)
  close(21)                               = 0
  --- SIGSEGV (Segmentation fault) @ 0 (0) ---
  +++ killed by SIGSEGV +++
  Segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/seahorse/+bug/879573/+subscriptions