[Bug 58405] Re: segfault on amd64 as non-root user

2006-09-19 Thread Ryan Lovett
I've determined that this only happens when TERM=xterm-color. TERM
values that work without producing a segfault are xterm, ansi, vt100,
and vt220.

** Summary changed:

- segfault on amd64 as non-root user
+ top segfault when TERM=xterm-color

** Description changed:

- top segfaults right away when run as a non-root user. I rebuilt it with
+ top segfaults right away when run as a non-root user. It does not
+ segfault when run as root with the same TERM value. I rebuilt it with
  debugging symbols:
  
  rogram received signal SIGSEGV, Segmentation fault.
  0x2aeb0a40 in strcpy () from /lib/libc.so.6
  (gdb) bt
  #0  0x2aeb0a40 in strcpy () from /lib/libc.so.6
  #1  0x00402d85 in capsmk (q=0x50ee18) at top.c:533
  #2  0x00404505 in windows_stage2 () at top.c:2463
  #3  0x00407f4d in main (dont_care_argc=, 
  argv=0x7f874678) at top.c:3322
  (gdb) f 1
  #1  0x00402d85 in capsmk (q=0x50ee18) at top.c:533
  533   strcpy(q->capclr_sum, tparm(set_a_foreground, q->rc.summclr));
  (gdb) print q
  $1 = (WIN_t *) 0x50ee18
  (gdb) print q->capclr_sum
  $2 = '\0' 
  (gdb) print q->rc
  $4 = {sortindx = 0, winflags = 63801, maxtasks = 0, summclr = 6, msgsclr = 6, 
headclr = 7, taskclr = 6, winname = "Job", 
fieldscur = "ABcefgjlrstuvyzMKNHIWOPQDX\000\000\000\000\000"}

-- 
top segfault when TERM=xterm-color
https://launchpad.net/bugs/58405

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 58405] Re: segfault on amd64 as non-root user

2006-08-31 Thread Rocco Stanzione
I can't reproduce this on dapper amd64

** Changed in: procps (Ubuntu)
   Status: Needs Info => Unconfirmed

-- 
segfault on amd64 as non-root user
https://launchpad.net/bugs/58405

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 58405] Re: [Bug 58405] Re: segfault on amd64 as non-root user

2006-08-31 Thread Ryan Lovett
On Thu, Aug 31, 2006 at 11:33:26PM -, Daniel T Chen wrote:
> Which Ubuntu release is this symptom on, 6.06.1 or 6.10?

Its 6.06.1.

Ryan

-- 
segfault on amd64 as non-root user
https://launchpad.net/bugs/58405

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 58405] Re: segfault on amd64 as non-root user

2006-08-31 Thread Daniel T Chen
Which Ubuntu release is this symptom on, 6.06.1 or 6.10?

** Changed in: procps (Ubuntu)
   Importance: Untriaged => Medium
   Status: Unconfirmed => Needs Info

-- 
segfault on amd64 as non-root user
https://launchpad.net/bugs/58405

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs