<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt></tt> 
<br><tt>Hi Castor,</tt><tt></tt>
<p><tt>Testing this latest patch on an ia64, there is improvement over</tt>
<br><tt>the original, but for one particular module, I get an abort that</tt>
<br><tt>was generated from glibc that I have never encountered before.</tt>
<br><tt>I saw it the first time when running "mod -S", and subsequently</tt>
<br><tt>narrowed it down to the ipv6 module.  Check this out:</tt><tt></tt>
<p><tt># ./crash</tt><tt></tt>
<p><tt>crash 4.0-3.16</tt>
<br><tt>Copyright (C) 2002, 2003, 2004, 2005, 2006  Red Hat, Inc.</tt>
<br><tt>Copyright (C) 2004, 2005, 2006  IBM Corporation</tt>
<br><tt>Copyright (C) 1999-2006  Hewlett-Packard Co</tt>
<br><tt>Copyright (C) 2005, 2006  Fujitsu Limited</tt>
<br><tt>Copyright (C) 2006  VA Linux Systems Japan K.K.</tt>
<br><tt>Copyright (C) 2005  NEC Corporation</tt>
<br><tt>Copyright (C) 1999, 2002  Silicon Graphics, Inc.</tt>
<br><tt>Copyright (C) 1999, 2000, 2001, 2002  Mission Critical Linux,
Inc.</tt>
<br><tt>This program is free software, covered by the GNU General Public
License,</tt>
<br><tt>and you are welcome to change it and/or distribute copies of it
under</tt>
<br><tt>certain conditions.  Enter "help copying" to see the conditions.</tt>
<br><tt>This program has absolutely no warranty.  Enter "help warranty"
for details.</tt><tt></tt>
<p><tt>GNU gdb 6.1</tt>
<br><tt>Copyright 2004 Free Software Foundation, Inc.</tt>
<br><tt>GDB is free software, covered by the GNU General Public License,
and you are</tt>
<br><tt>welcome to change it and/or distribute copies of it under certain
conditions.</tt>
<br><tt>Type "show copying" to see the conditions.</tt>
<br><tt>There is absolutely no warranty for GDB.  Type "show warranty"
for details.</tt>
<br><tt>This GDB was configured as "ia64-unknown-linux-gnu"...</tt><tt></tt>
<p><tt>      KERNEL: /usr/lib/debug/lib/modules/2.6.18-1.2767.el5/vmlinux</tt>
<br><tt>    DUMPFILE: /dev/mem</tt>
<br><tt>        CPUS: 64</tt>
<br><tt>        DATE: Wed Jan 
3 10:43:04 2007</tt>
<br><tt>      UPTIME: 01:40:46</tt>
<br><tt>LOAD AVERAGE: 0.15, 0.11, 0.17</tt>
<br><tt>       TASKS: 629</tt>
<br><tt>    NODENAME: altix3.lab.boston.redhat.com</tt>
<br><tt>     RELEASE: 2.6.18-1.2767.el5</tt>
<br><tt>     VERSION: #1 SMP Wed Nov 29 17:38:14 EST
2006</tt>
<br><tt>     MACHINE: ia64  (1500 Mhz)</tt>
<br><tt>      MEMORY: 122.5 GB</tt>
<br><tt>         PID: 10699</tt>
<br><tt>     COMMAND: "crash"</tt>
<br><tt>        TASK: e00000b04e300000 
[THREAD_INFO: e00000b04e301040]</tt>
<br><tt>         CPU: 7</tt>
<br><tt>       STATE: TASK_RUNNING (ACTIVE)</tt><tt></tt>
<p><tt>crash> mod -l</tt>
<br><tt>     MODULE      
NAME                  
SIZE  OBJECT FILE</tt>
<br><tt>a00000021e189c00  ehci_hcd            
204860  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e1bd100  uhci_hcd            
185680  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e1efb00  ohci_hcd            
179956  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e23cb00  dm_zero             
134640  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e287700  jbd                 
262432  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e2b9580  sd_mod              
170772  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e303380  qla1280             
276848  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e374300  ext3                
414624  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e3d9600  scsi_mod            
387008  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e418980  mptbase             
235792  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e44c780  scsi_transport_spi   183672 
(not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e47ec80  mptscsih            
176288  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e4ab700  mptspi              
162536  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e4e1580  scsi_transport_fc    203748 
(not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e5fcd00  dm_mod              
253328  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e718e80  qla2xxx            
1090472  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e825680  dm_mirror           
187608  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e857480  autofs4             
178336  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e884800  dm_snapshot         
167224  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e8b1a00  lp                  
156512  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e8fdc00  cdrom               
206776  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e935400  sg                  
203464  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021e96f080  ide_cd              
211824  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021ea6bf80  tg3                 
362244  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021eaa6780  parport             
208284  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021eacef00  button              
144200  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021eb10980  parport_pc          
184504  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021eb3e400  vfat                
157504  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021eb9a280  fat                 
239936  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021ecd6880  sunrpc              
468360  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021ee3ad80  ipv6               
1141140  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021ee9f580  bluetooth           
375704  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021eeef880  l2cap               
310456  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021ef48680  rfcomm              
347144  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>a00000021ef97980  hidp                
294256  (not loaded)  [CONFIG_KALLSYMS]</tt>
<br><tt>crash> mod -s ipv6</tt>
<br><tt>*** glibc detected *** ./crash: realloc(): invalid next size: 0x6000000001921fc0
***</tt>
<br><tt>======= Backtrace: =========</tt>
<br><tt>/lib/libc.so.6.1[0x20000000002f2a70]</tt>
<br><tt>/lib/libc.so.6.1(realloc-0x1cb0b0)[0x20000000002f5e20]</tt>
<br><tt>./crash(xmrealloc+0x1fffffffffee6c40)[0x40000000003a7b20]</tt>
<br><tt>./crash[0x40000000002ff3a0]</tt>
<br><tt>./crash[0x4000000000422000]</tt>
<br><tt>./crash(cmd_func+0x1ffffffffff61430)[0x4000000000422320]</tt>
<br><tt>./crash(execute_command+0x1fffffffffee2410)[0x40000000003a3310]</tt>
<br><tt>./crash(gdb_command_funnel+0x1fffffffffe2f900)[0x40000000002f0810]</tt>
<br><tt>./crash(gdb_interface+0x1fffffffffcd7590)[0x40000000001984b0]</tt>
<br><tt>./crash[0x4000000000235af0]</tt>
<br><tt>./crash(load_module_symbols+0x1fffffffffd748f0)[0x4000000000235820]</tt>
<br><tt>./crash[0x4000000000175820]</tt>
<br><tt>./crash(cmd_mod+0x2000000000129d68)[0x4000000000174930]</tt>
<br><tt>./crash(exec_command+0x1fffffffffb99db0)[0x400000000005acf0]</tt>
<br><tt>./crash(main_loop+0x1fffffffffb9a2e0)[0x400000000005a8e0]</tt>
<br><tt>./crash(current_interp_command_loop+0x200000000001fb90)[0x40000000004e0ae0]</tt>
<br><tt>./crash[0x4000000000319820]</tt>
<br><tt>./crash[0x400000000039f1d0]</tt>
<br><tt>./crash[0x40000000003a4080]</tt>
<br><tt>./crash(catch_errors+0x1fffffffffee31e0)[0x40000000003a4140]</tt>
<br><tt>./crash[0x400000000031a790]</tt>
<br><tt>./crash[0x400000000039f1d0]</tt>
<br><tt>./crash[0x40000000003a4080]</tt>
<br><tt>./crash(catch_errors+0x1fffffffffee31e0)[0x40000000003a4140]</tt>
<br><tt>./crash(gdb_main+0x1fffffffffe587d0)[0x4000000000319740]</tt>
<br><tt>./crash(gdb_main_entry+0x1fffffffffe58860)[0x40000000003197e0]</tt>
<br><tt>./crash(gdb_main_loop+0x1fffffffffcd54e0)[0x4000000000196470]</tt>
<br><tt>./crash(main+0x1fffffffffb99820)[0x400000000005a330]</tt>
<br><tt>/lib/libc.so.6.1(__libc_start_main-0x2818e0)[0x200000000023f6c0]</tt>
<br><tt>./crash(_start+0x1fffffffffb95250)[0x4000000000056200]</tt>
<br><tt>======= Memory map: ========</tt>
<br><tt>00000000-00004000 r--p 00000000 00:00 0</tt>
<br><tt>2000000000000000-2000000000038000 r-xp 00000000 fd:00 10256390          
/lib/ld-2.5.so</tt>
<br><tt>2000000000044000-2000000000050000 rw-p 00034000 fd:00 10256390          
/lib/ld-2.5.so</tt>
<br><tt>2000000000050000-2000000000114000 r-xp 00000000 fd:00 10256405          
/lib/libm-2.5.so</tt>
<br><tt>2000000000114000-2000000000120000 ---p 000c4000 fd:00 10256405          
/lib/libm-2.5.so</tt>
<br><tt>2000000000120000-2000000000124000 rw-p 000c0000 fd:00 10256405          
/lib/libm-2.5.so</tt>
<br><tt>2000000000124000-20000000001b0000 r-xp 00000000 fd:00 10883077          
/usr/lib/libncurses.so.5.5</tt>
<br><tt>20000000001b0000-20000000001bc000 ---p 0008c000 fd:00 10883077          
/usr/lib/libncurses.so.5.5</tt>
<br><tt>20000000001bc000-20000000001cc000 rw-p 00088000 fd:00 10883077          
/usr/lib/libncurses.so.5.5</tt>
<br><tt>20000000001cc000-20000000001d0000 rw-p 20000000001cc000 00:00 0</tt>
<br><tt>20000000001d0000-20000000001d8000 r-xp 00000000 fd:00 10256403          
/lib/libdl-2.5.so</tt>
<br><tt>20000000001d8000-20000000001e4000 ---p 00008000 fd:00 10256403          
/lib/libdl-2.5.so</tt>
<br><tt>20000000001e4000-20000000001e8000 rw-p 00004000 fd:00 10256403          
/lib/libdl-2.5.so</tt>
<br><tt>20000000001e8000-200000000020c000 r-xp 00000000 fd:00 10882711          
/usr/lib/libz.so.1.2.3</tt>
<br><tt>200000000020c000-2000000000218000 ---p 00024000 fd:00 10882711          
/usr/lib/libz.so.1.2.3</tt>
<br><tt>2000000000218000-200000000021c000 rw-p 00020000 fd:00 10882711          
/usr/lib/libz.so.1.2.3</tt>
<br><tt>200000000021c000-2000000000480000 r-xp 00000000 fd:00 10256397          
/lib/libc-2.5.so</tt>
<br><tt>2000000000480000-200000000048c000 ---p 00264000 fd:00 10256397          
/lib/libc-2.5.so</tt>
<br><tt>200000000048c000-2000000000498000 rw-p 00260000 fd:00 10256397          
/lib/libc-2.5.so</tt>
<br><tt>2000000000498000-20000000004d8000 rw-p 2000000000498000 00:00 0</tt>
<br><tt>20000000004d8000-2000000003c1c000 r--p 00000000 fd:00 10882710          
/usr/lib/locale/locale-archive</tt>
<br><tt>2000000003c1c000-2000000003c2c000 rw-p 2000000003c1c000 00:00 0</tt>
<br><tt>2000000003c38000-2000000003c44000 r-xp 00000000 fd:00 10256427          
/lib/libthread_db-1.0.so</tt>
<br><tt>2000000003c44000-2000000003c50000 ---p 0000c000 fd:00 10256427          
/lib/libthread_db-1.0.so</tt>
<br><tt>2000000003c50000-2000000003c54000 rw-p 00008000 fd:00 10256427          
/lib/libthread_db-1.0.so</tt>
<br><tt>2000000003c54000-2000000003c58000 rw-p 2000000003c54000 00:00 0</tt>
<br><tt>2000000003c6c000-2000000003da0000 rw-p 2000000003c6c000 00:00 0</tt>
<br><tt>2000000003da0000-2000000003dbc000 r-xp 00000000 fd:00 10884674          
/usr/lib/libunwind.so.7.0.0</tt>
<br><tt>2000000003dbc000-2000000003dc8000 ---p 0001c000 fd:00 10884674          
/usr/lib/libunwind.so.7.0.0</tt>
<br><tt>2000000003dc8000-2000000003dcc000 rw-p 00018000 fd:00 10884674          
/usr/lib/libunwind.so.7.0.0</tt>
<br><tt>2000000003dcc000-2000000003df0000 rw-p 2000000003dcc000 00:00 0</tt>
<br><tt>2000000003e00000-2000000003e08000 r--s 00000000 fd:00 10977539          
/usr/lib/gconv/gconv-modules.cache</tt>
<br><tt>2000000003e08000-2000000003e18000 rw-p 2000000003e08000 00:00 0</tt>
<br><tt>2000000003e1c000-2000000006ecc000 rw-p 2000000003e1c000 00:00 0</tt>
<br><tt>2000000006ed8000-2000000006ef4000 r-xp 00000000 fd:00 10256386          
/lib/libgcc_s-4.1.1-20061130.so.1</tt>
<br><tt>2000000006ef4000-2000000006f00000 ---p 0001c000 fd:00 10256386          
/lib/libgcc_s-4.1.1-20061130.so.1</tt>
<br><tt>2000000006f00000-2000000006f04000 rw-p 00018000 fd:00 10256386          
/lib/libgcc_s-4.1.1-20061130.so.1</tt>
<br><tt>2000000006f04000-2000000006f14000 rw-p 2000000006f04000 00:00 0</tt>
<br><tt>2000000008000000-2000000008024000 rw-p 2000000008000000 00:00 0</tt>
<br><tt>2000000008024000-200000000c000000 ---p 2000000008024000 00:00 0</tt>
<br><tt>4000000000000000-40000000007e0000 r-xp 00000000 fd:00 9639915           
/var/tmp/crash-4.0-3.16/crash</tt>
<br><tt>600000000000c000-600000000006c000 rw-p 007dc000 fd:00 9639915           
/var/tmp/crash-4.0-3.16/crash</tt>
<br><tt>600000000006c000-6000000001ffc000 rw-p 600000000006c000 00:00 0         
[heap]</tt>
<br><tt>60000fff7fffc000-60000fff80004000 rw-p 60000fff7fffc000 00:00 0</tt>
<br><tt>60000ffffecc0000-60000ffffed14000 rw-p 60000ffffecc0000 00:00 0         
[stack]</tt>
<br><tt>a000000000000000-a000000000020000 ---p 00000000 00:00 0                 
[vdso]</tt>
<br><tt>Aborted</tt>
<br><tt>#</tt>
<br><tt></tt> <tt></tt>
<p><tt>So I set debug to 3, and redirected the debug output to a file.</tt>
<br><tt>It's big enough (866K) that I don't want to clutter up everybody's</tt>
<br><tt>mailbox, so I copied it here:</tt><tt></tt>
<p><tt>  <A HREF="http://people.redhat.com/anderson/junk">http://people.redhat.com/anderson/junk</A></tt><tt></tt>
<p><tt>It reproduces the same debug output each time, which gets followed</tt>
<br><tt>immediately by the glibc abort.</tt><tt></tt>
<p><tt>Maybe it will contain some clues?</tt><tt></tt>
<p><tt>Thanks,</tt>
<br><tt>  Dave</tt>
<br><tt></tt> 
<br><tt></tt> </html>