[Monetdb-developers] Some help to understand this error output from m5...
I am using monetBD5 with datacell module and I got the following crash. I know it is related with memory map and maybe a valgrind execution would be a nice thing to do. However, I would like more feedback from the experts: insert 1188567930287233: line :[0,3] /ufs/goncalve/scratch/MonetDB/MonetDB5/lib/libmal.so.0[0x2aaaaaace64f] /ufs/goncalve/scratch/MonetDB/MonetDB5/lib/libmal.so.0(reenterMAL+0x7a)[0x2aaaaaac94d5] /ufs/goncalve/scratch/MonetDB/MonetDB5/lib/MonetDB5/lib/lib_datacell.so[0x2aaabccb2207] /lib64/libpthread.so.0[0x33dba062f7] /lib64/libc.so.6(clone+0x6d)[0x33daace86d] ======= Memory map: ======== 00400000-00405000 r-xp 00000000 08:13 9634823 /net/amelia/export/scratch1/goncalve/MonetDB/MonetDB5/bin/mserver5 00604000-00605000 rw-p 00004000 08:13 9634823 /net/amelia/export/scratch1/goncalve/MonetDB/MonetDB5/bin/mserver5 00605000-00d4e000 rw-p 00605000 00:00 0 [heap] 40000000-40001000 ---p 40000000 00:00 0 40001000-40801000 rw-p 40001000 00:00 0 40801000-40802000 ---p 40801000 00:00 0 40802000-41002000 rw-p 40802000 00:00 0 41002000-41003000 ---p 41002000 00:00 0 41003000-41803000 rw-p 41003000 00:00 0 41803000-41804000 ---p 41803000 00:00 0 41804000-42004000 rw-p 41804000 00:00 0 42004000-42005000 ---p 42004000 00:00 0 42005000-42805000 rw-p 42005000 00:00 0 42805000-42806000 ---p 42805000 00:00 0 42806000-43006000 rw-p 42806000 00:00 0 43006000-43007000 ---p 43006000 00:00 0 43007000-43807000 rw-p 43007000 00:00 0 33da600000-33da61a000 r-xp 00000000 08:15 2578621 /lib64/ld-2.5.so 33da819000-33da81a000 r--p 00019000 08:15 2578621 /lib64/ld-2.5.so 33da81a000-33da81b000 rw-p 0001a000 08:15 2578621 /lib64/ld-2.5.so 33daa00000-33dab46000 r-xp 00000000 08:15 2578761 /lib64/libc-2.5.so 33dab46000-33dad46000 ---p 00146000 08:15 2578761 /lib64/libc-2.5.so 33dad46000-33dad4a000 r--p 00146000 08:15 2578761 /lib64/libc-2.5.so 33dad4a000-33dad4b000 rw-p 0014a000 08:15 2578761 /lib64/libc-2.5.so 33dad4b000-33dad50000 rw-p 33dad4b000 00:00 0 33dae00000-33dae82000 r-xp 00000000 08:15 2578841 /lib64/libm-2.5.so 33dae82000-33db081000 ---p 00082000 08:15 2578841 /lib64/libm-2.5.so 33db081000-33db082000 r--p 00081000 08:15 2578841 /lib64/libm-2.5.so 33db082000-33db083000 rw-p 00082000 08:15 2578841 /lib64/libm-2.5.so 33db200000-33db202000 r-xp 00000000 08:15 2578887 /lib64/libdl-2.5.so 33db202000-33db402000 ---p 00002000 08:15 2578887 /lib64/libdl-2.5.so 33db402000-33db403000 r--p 00002000 08:15 2578887 /lib64/libdl-2.5.so 33db403000-33db404000 rw-p 00003000 08:15 2578887 /lib64/libdl-2.5.so 33db600000-33db614000 r-xp 00000000 08:15 4234966 /usr/lib64/libz.so.1.2.3 33db614000-33db813000 ---p 00014000 08:15 4234966 /usr/lib64/libz.so.1.2.3 33db813000-33db814000 rw-p 00013000 08:15 4234966 /usr/lib64/libz.so.1.2.3 33dba00000-33dba15000 r-xp 00000000 08:15 2578924 /lib64/libpthread-2.5.so 33dba15000-33dbc14000 ---p 00015000 08:15 2578924 /lib64/libpthread-2.5.so 33dbc14000-33dbc15000 r--p 00014000 08:15 2578924 /lib64/libpthread-2.5.so 33dbc15000-33dbc16000 rw-p 00015000 08:15 2578924 /lib64/libpthread-2.5.so 33dbc16000-33dbc1a000 rw-p 33dbc16000 00:00 0 33dce00000-33dce35000 r-xp 00000000 08:15 4225510 /usr/lib64/libreadline.so.5.1 33dce35000-33dd034000 ---p 00035000 08:15 4225510 /usr/lib64/libreadline.so.5.1 33dd034000-33dd03c000 rw-p 00034000 08:15 4225510 /usr/lib64/libreadline.so.5.1 33dd03c000-33dd03d000 rw-p 33dd03c000 00:00 0 33de200000-33de203000 r-xp 00000000 08:15 2578939 /lib64/libtermcap.so.2.0.8 33de203000-33de402000 ---p 00003000 08:15 2578939 /lib64/libtermcap.so.2.0.8 33de402000-33de403000 rw-p 00002000 08 Program received signal SIGABRT, Aborted. [Switching to Thread 1124096320 (LWP 24972)] 0x00000033daa30065 in raise () from /lib64/libc.so.6 (gdb) up #1 0x00000033daa31b00 in abort () from /lib64/libc.so.6 (gdb) up #2 0x00000033daa6825b in __libc_message () from /lib64/libc.so.6 (gdb) up #3 0x00000033daa6f504 in _int_free () from /lib64/libc.so.6 (gdb) up #4 0x00000033daa72b2c in free () from /lib64/libc.so.6 (gdb) up #5 0x00002aaaab40b504 in GDKfree (blk=0xa9e948) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_utils.mx:1140 1140 free(((char *) s) - 8); (gdb) up #6 0x00002aaaab36e349 in HEAPfree (h=0xac36a0) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_heap.mx:265 265 GDKfree(h->base); (gdb) up #7 0x00002aaaab4a907a in heapfree (src=0xac36a0, dst=0x43004290) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_bat.mx:630 630 HEAPfree(src); Regards, Romulo
Romulo Goncalves wrote:
I am using monetBD5 with datacell module and I got the following crash. The datacell module is not available outside CWI.
I know it is related with memory map and maybe a valgrind execution would be a nice thing to do. However, I would like more feedback from the experts:
Yes, the first step is to run the program with valgrind. This probably indicates a double free with all the consequences of that.
insert 1188567930287233: line :[0,3] /ufs/goncalve/scratch/MonetDB/MonetDB5/lib/libmal.so.0[0x2aaaaaace64f] /ufs/goncalve/scratch/MonetDB/MonetDB5/lib/libmal.so.0(reenterMAL+0x7a)[0x2aaaaaac94d5] /ufs/goncalve/scratch/MonetDB/MonetDB5/lib/MonetDB5/lib/lib_datacell.so[0x2aaabccb2207] /lib64/libpthread.so.0[0x33dba062f7] /lib64/libc.so.6(clone+0x6d)[0x33daace86d] ======= Memory map: ======== 00400000-00405000 r-xp 00000000 08:13 9634823 /net/amelia/export/scratch1/goncalve/MonetDB/MonetDB5/bin/mserver5 00604000-00605000 rw-p 00004000 08:13 9634823 /net/amelia/export/scratch1/goncalve/MonetDB/MonetDB5/bin/mserver5 00605000-00d4e000 rw-p 00605000 00:00 0 [heap] 40000000-40001000 ---p 40000000 00:00 0 40001000-40801000 rw-p 40001000 00:00 0 40801000-40802000 ---p 40801000 00:00 0 40802000-41002000 rw-p 40802000 00:00 0 41002000-41003000 ---p 41002000 00:00 0 41003000-41803000 rw-p 41003000 00:00 0 41803000-41804000 ---p 41803000 00:00 0 41804000-42004000 rw-p 41804000 00:00 0 42004000-42005000 ---p 42004000 00:00 0 42005000-42805000 rw-p 42005000 00:00 0 42805000-42806000 ---p 42805000 00:00 0 42806000-43006000 rw-p 42806000 00:00 0 43006000-43007000 ---p 43006000 00:00 0 43007000-43807000 rw-p 43007000 00:00 0 33da600000-33da61a000 r-xp 00000000 08:15 2578621 /lib64/ld-2.5.so 33da819000-33da81a000 r--p 00019000 08:15 2578621 /lib64/ld-2.5.so 33da81a000-33da81b000 rw-p 0001a000 08:15 2578621 /lib64/ld-2.5.so 33daa00000-33dab46000 r-xp 00000000 08:15 2578761 /lib64/libc-2.5.so 33dab46000-33dad46000 ---p 00146000 08:15 2578761 /lib64/libc-2.5.so 33dad46000-33dad4a000 r--p 00146000 08:15 2578761 /lib64/libc-2.5.so 33dad4a000-33dad4b000 rw-p 0014a000 08:15 2578761 /lib64/libc-2.5.so 33dad4b000-33dad50000 rw-p 33dad4b000 00:00 0 33dae00000-33dae82000 r-xp 00000000 08:15 2578841 /lib64/libm-2.5.so 33dae82000-33db081000 ---p 00082000 08:15 2578841 /lib64/libm-2.5.so 33db081000-33db082000 r--p 00081000 08:15 2578841 /lib64/libm-2.5.so 33db082000-33db083000 rw-p 00082000 08:15 2578841 /lib64/libm-2.5.so 33db200000-33db202000 r-xp 00000000 08:15 2578887 /lib64/libdl-2.5.so 33db202000-33db402000 ---p 00002000 08:15 2578887 /lib64/libdl-2.5.so 33db402000-33db403000 r--p 00002000 08:15 2578887 /lib64/libdl-2.5.so 33db403000-33db404000 rw-p 00003000 08:15 2578887 /lib64/libdl-2.5.so 33db600000-33db614000 r-xp 00000000 08:15 4234966 /usr/lib64/libz.so.1.2.3 33db614000-33db813000 ---p 00014000 08:15 4234966 /usr/lib64/libz.so.1.2.3 33db813000-33db814000 rw-p 00013000 08:15 4234966 /usr/lib64/libz.so.1.2.3 33dba00000-33dba15000 r-xp 00000000 08:15 2578924 /lib64/libpthread-2.5.so 33dba15000-33dbc14000 ---p 00015000 08:15 2578924 /lib64/libpthread-2.5.so 33dbc14000-33dbc15000 r--p 00014000 08:15 2578924 /lib64/libpthread-2.5.so 33dbc15000-33dbc16000 rw-p 00015000 08:15 2578924 /lib64/libpthread-2.5.so 33dbc16000-33dbc1a000 rw-p 33dbc16000 00:00 0 33dce00000-33dce35000 r-xp 00000000 08:15 4225510 /usr/lib64/libreadline.so.5.1 33dce35000-33dd034000 ---p 00035000 08:15 4225510 /usr/lib64/libreadline.so.5.1 33dd034000-33dd03c000 rw-p 00034000 08:15 4225510 /usr/lib64/libreadline.so.5.1 33dd03c000-33dd03d000 rw-p 33dd03c000 00:00 0 33de200000-33de203000 r-xp 00000000 08:15 2578939 /lib64/libtermcap.so.2.0.8 33de203000-33de402000 ---p 00003000 08:15 2578939 /lib64/libtermcap.so.2.0.8 33de402000-33de403000 rw-p 00002000 08 Program received signal SIGABRT, Aborted. [Switching to Thread 1124096320 (LWP 24972)] 0x00000033daa30065 in raise () from /lib64/libc.so.6 (gdb) up #1 0x00000033daa31b00 in abort () from /lib64/libc.so.6 (gdb) up #2 0x00000033daa6825b in __libc_message () from /lib64/libc.so.6 (gdb) up #3 0x00000033daa6f504 in _int_free () from /lib64/libc.so.6 (gdb) up #4 0x00000033daa72b2c in free () from /lib64/libc.so.6 (gdb) up #5 0x00002aaaab40b504 in GDKfree (blk=0xa9e948) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_utils.mx:1140 1140 free(((char *) s) - 8); (gdb) up #6 0x00002aaaab36e349 in HEAPfree (h=0xac36a0) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_heap.mx:265 265 GDKfree(h->base); (gdb) up #7 0x00002aaaab4a907a in heapfree (src=0xac36a0, dst=0x43004290) at /ufs/goncalve/MonetDB/MonetDB/src/gdk/gdk_bat.mx:630 630 HEAPfree(src);
Regards, Romulo
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
participants (2)
-
Martin Kersten
-
Romulo Goncalves