Public bug reported:

Binary package hint: procps

After update, I noticed that gnome-do stoped working. It was because it
uses pgrep in running script. Problem is in pgrem, here is example:

pgrep -u root

And here is result:
------------------------------------------
*** stack smashing detected ***: pgrep terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x37)[0x7fab88b59537]
/lib/libc.so.6(__fortify_fail+0x0)[0x7fab88b59500]
pgrep[0x40295c]
pgrep[0x402fbc]
/lib/libc.so.6(__libc_start_main+0xfe)[0x7fab88a78d8e]
pgrep[0x4014f9]
======= Memory map: ========
00400000-00404000 r-xp 00000000 08:01 2704                               
/usr/local/sbin/pgrep
00603000-00604000 r--p 00003000 08:01 2704                               
/usr/local/sbin/pgrep
00604000-00605000 rw-p 00004000 08:01 2704                               
/usr/local/sbin/pgrep
01a43000-01a64000 rw-p 00000000 00:00 0                                  [heap]
7fab88009000-7fab8801e000 r-xp 00000000 08:01 786                        
/lib/libgcc_s.so.1
7fab8801e000-7fab8821d000 ---p 00015000 08:01 786                        
/lib/libgcc_s.so.1
7fab8821d000-7fab8821e000 r--p 00014000 08:01 786                        
/lib/libgcc_s.so.1
7fab8821e000-7fab8821f000 rw-p 00015000 08:01 786                        
/lib/libgcc_s.so.1
7fab8821f000-7fab8822b000 r-xp 00000000 08:01 20183                      
/lib/libnss_files-2.12.1.so
7fab8822b000-7fab8842a000 ---p 0000c000 08:01 20183                      
/lib/libnss_files-2.12.1.so
7fab8842a000-7fab8842b000 r--p 0000b000 08:01 20183                      
/lib/libnss_files-2.12.1.so
7fab8842b000-7fab8842c000 rw-p 0000c000 08:01 20183                      
/lib/libnss_files-2.12.1.so
7fab8842c000-7fab88436000 r-xp 00000000 08:01 15804                      
/lib/libnss_nis-2.12.1.so
7fab88436000-7fab88635000 ---p 0000a000 08:01 15804                      
/lib/libnss_nis-2.12.1.so
7fab88635000-7fab88636000 r--p 00009000 08:01 15804                      
/lib/libnss_nis-2.12.1.so
7fab88636000-7fab88637000 rw-p 0000a000 08:01 15804                      
/lib/libnss_nis-2.12.1.so
7fab88637000-7fab8864e000 r-xp 00000000 08:01 20116                      
/lib/libnsl-2.12.1.so
7fab8864e000-7fab8884d000 ---p 00017000 08:01 20116                      
/lib/libnsl-2.12.1.so
7fab8884d000-7fab8884e000 r--p 00016000 08:01 20116                      
/lib/libnsl-2.12.1.so
7fab8884e000-7fab8884f000 rw-p 00017000 08:01 20116                      
/lib/libnsl-2.12.1.so
7fab8884f000-7fab88851000 rw-p 00000000 00:00 0 
7fab88851000-7fab88859000 r-xp 00000000 08:01 19252                      
/lib/libnss_compat-2.12.1.so
7fab88859000-7fab88a58000 ---p 00008000 08:01 19252                      
/lib/libnss_compat-2.12.1.so
7fab88a58000-7fab88a59000 r--p 00007000 08:01 19252                      
/lib/libnss_compat-2.12.1.so
7fab88a59000-7fab88a5a000 rw-p 00008000 08:01 19252                      
/lib/libnss_compat-2.12.1.so
7fab88a5a000-7fab88bd4000 r-xp 00000000 08:01 10524                      
/lib/libc-2.12.1.so
7fab88bd4000-7fab88dd3000 ---p 0017a000 08:01 10524                      
/lib/libc-2.12.1.so
7fab88dd3000-7fab88dd7000 r--p 00179000 08:01 10524                      
/lib/libc-2.12.1.so
7fab88dd7000-7fab88dd8000 rw-p 0017d000 08:01 10524                      
/lib/libc-2.12.1.so
7fab88dd8000-7fab88ddd000 rw-p 00000000 00:00 0 
7fab88ddd000-7fab88dee000 r-xp 00000000 08:01 4196                       
/lib/libproc-3.2.8.so
7fab88dee000-7fab88fee000 ---p 00011000 08:01 4196                       
/lib/libproc-3.2.8.so
7fab88fee000-7fab88fef000 r--p 00011000 08:01 4196                       
/lib/libproc-3.2.8.so
7fab88fef000-7fab88ff0000 rw-p 00012000 08:01 4196                       
/lib/libproc-3.2.8.so
7fab88ff0000-7fab89003000 rw-p 00000000 00:00 0 
7fab89003000-7fab89023000 r-xp 00000000 08:01 15293                      
/lib/ld-2.12.1.so
7fab891f1000-7fab891f4000 rw-p 00000000 00:00 0 
7fab89221000-7fab89223000 rw-p 00000000 00:00 0 
7fab89223000-7fab89224000 r--p 00020000 08:01 15293                      
/lib/ld-2.12.1.so
7fab89224000-7fab89225000 rw-p 00021000 08:01 15293                      
/lib/ld-2.12.1.so
7fab89225000-7fab89226000 rw-p 00000000 00:00 0 
7fffc719f000-7fffc71c0000 rw-p 00000000 00:00 0                          [stack]
7fffc71ff000-7fffc7200000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
Aborted
------------------------------------------

It also doesn't work for non root users. 
Please let me know if I can attach any more informations.

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

-- 
pgrep crashes in Ubuntu 10.10 after update from 10.04
https://bugs.launchpad.net/bugs/659188
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to