Project

General

Profile

Backport #5700 ยป malloc_check_3.txt

output with MALLOC_CHECK_=3 when run with GNU libc - normalperson (Eric Wong), 12/03/2011 10:37 AM

 
1
$ MALLOC_CHECK_=3 ~/r/trunk/bin/ruby fiber_fork.rb
2
*** glibc detected *** /home/ew/r/trunk/bin/ruby: free(): invalid pointer: 0x00007f3299f918d0 ***
3
======= Backtrace: =========
4
/lib/x86_64-linux-gnu/libc.so.6(+0x72606)[0x7f3297fa0606]
5
/home/ew/r/trunk/bin/ruby(st_free_table+0x81)[0x7f3299080841]
6
/home/ew/r/trunk/bin/ruby(+0x11bb24)[0x7f32990d0b24]
7
/home/ew/r/trunk/bin/ruby(ruby_vm_destruct+0x3e)[0x7f32990e4bbe]
8
/home/ew/r/trunk/bin/ruby(ruby_cleanup+0x249)[0x7f3298fd9189]
9
/home/ew/r/trunk/bin/ruby(ruby_stop+0x9)[0x7f3298fd9339]
10
/home/ew/r/trunk/bin/ruby(+0x86e4b)[0x7f329903be4b]
11
/home/ew/r/trunk/bin/ruby(+0x12dcba)[0x7f32990e2cba]
12
/home/ew/r/trunk/bin/ruby(+0x120ea9)[0x7f32990d5ea9]
13
/home/ew/r/trunk/bin/ruby(+0x127c8a)[0x7f32990dcc8a]
14
/home/ew/r/trunk/bin/ruby(+0x128a93)[0x7f32990dda93]
15
/home/ew/r/trunk/bin/ruby(+0x129071)[0x7f32990de071]
16
/home/ew/r/trunk/bin/ruby(+0x13eb2f)[0x7f32990f3b2f]
17
/lib/x86_64-linux-gnu/libc.so.6(+0x41d60)[0x7f3297f6fd60]
18
======= Memory map: ========
19
7f329757c000-7f3297591000 r-xp 00000000 08:03 7331943                    /lib/x86_64-linux-gnu/libgcc_s.so.1
20
7f3297591000-7f3297791000 ---p 00015000 08:03 7331943                    /lib/x86_64-linux-gnu/libgcc_s.so.1
21
7f3297791000-7f3297792000 rw-p 00015000 08:03 7331943                    /lib/x86_64-linux-gnu/libgcc_s.so.1
22
7f3297792000-7f3297794000 r-xp 00000000 08:03 1510278                    /home/ew/r/trunk/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
23
7f3297794000-7f3297994000 ---p 00002000 08:03 1510278                    /home/ew/r/trunk/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
24
7f3297994000-7f3297995000 rw-p 00002000 08:03 1510278                    /home/ew/r/trunk/lib/ruby/1.9.1/x86_64-linux/enc/trans/transdb.so
25
7f3297995000-7f3297997000 r-xp 00000000 08:03 1452950                    /home/ew/r/trunk/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
26
7f3297997000-7f3297b96000 ---p 00002000 08:03 1452950                    /home/ew/r/trunk/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
27
7f3297b96000-7f3297b97000 rw-p 00001000 08:03 1452950                    /home/ew/r/trunk/lib/ruby/1.9.1/x86_64-linux/enc/encdb.so
28
7f3297c98000-7f3297f2e000 r--p 00000000 08:03 1720957                    /usr/lib/locale/locale-archive
29
7f3297f2e000-7f32980a8000 r-xp 00000000 08:03 2294258                    /lib/x86_64-linux-gnu/libc-2.13.so
30
7f32980a8000-7f32982a8000 ---p 0017a000 08:03 2294258                    /lib/x86_64-linux-gnu/libc-2.13.so
31
7f32982a8000-7f32982ac000 r--p 0017a000 08:03 2294258                    /lib/x86_64-linux-gnu/libc-2.13.so
32
7f32982ac000-7f32982ad000 rw-p 0017e000 08:03 2294258                    /lib/x86_64-linux-gnu/libc-2.13.so
33
7f32982ad000-7f32982b2000 rw-p 00000000 00:00 0
34
7f32982b2000-7f3298333000 r-xp 00000000 08:03 2294265                    /lib/x86_64-linux-gnu/libm-2.13.so
35
7f3298333000-7f3298532000 ---p 00081000 08:03 2294265                    /lib/x86_64-linux-gnu/libm-2.13.so
36
7f3298532000-7f3298533000 r--p 00080000 08:03 2294265                    /lib/x86_64-linux-gnu/libm-2.13.so
37
7f3298533000-7f3298534000 rw-p 00081000 08:03 2294265                    /lib/x86_64-linux-gnu/libm-2.13.so
38
7f3298534000-7f329853c000 r-xp 00000000 08:03 2294261                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
39
7f329853c000-7f329873b000 ---p 00008000 08:03 2294261                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
40
7f329873b000-7f329873c000 r--p 00007000 08:03 2294261                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
41
7f329873c000-7f329873d000 rw-p 00008000 08:03 2294261                    /lib/x86_64-linux-gnu/libcrypt-2.13.so
42
7f329873d000-7f329876b000 rw-p 00000000 00:00 0
43
7f329876b000-7f329876d000 r-xp 00000000 08:03 7332096                    /lib/x86_64-linux-gnu/libdl-2.13.so
44
7f329876d000-7f329896d000 ---p 00002000 08:03 7332096                    /lib/x86_64-linux-gnu/libdl-2.13.so
45
7f329896d000-7f329896e000 r--p 00002000 08:03 7332096                    /lib/x86_64-linux-gnu/libdl-2.13.so
46
7f329896e000-7f329896f000 rw-p 00003000 08:03 7332096                    /lib/x86_64-linux-gnu/libdl-2.13.so
47
7f329896f000-7f3298976000 r-xp 00000000 08:03 7332102                    /lib/x86_64-linux-gnu/librt-2.13.so
48
7f3298976000-7f3298b75000 ---p 00007000 08:03 7332102                    /lib/x86_64-linux-gnu/librt-2.13.so
49
7f3298b75000-7f3298b76000 r--p 00006000 08:03 7332102                    /lib/x86_64-linux-gnu/librt-2.13.so
50
7f3298b76000-7f3298b77000 rw-p 00007000 08:03 7332102                    /lib/x86_64-linux-gnu/librt-2.13.so
51
7f3298b77000-7f3298b8e000 r-xp 00000000 08:03 7332100                    /lib/x86_64-linux-gnu/libpthread-2.13.so
52
7f3298b8e000-7f3298d8d000 ---p 00017000 08:03 7332100                    /lib/x86_64-linux-gnu/libpthread-2.13.so
53
7f3298d8d000-7f3298d8e000 r--p 00016000 08:03 7332100                    /lib/x86_64-linux-gnu/libpthread-2.13.so
54
7f3298d8e000-7f3298d8f000 rw-p 00017000 08:03 7332100                    /lib/x86_64-linux-gnu/libpthread-2.13.so
55
7f3298d8f000-7f3298d93000 rw-p 00000000 00:00 0
56
7f3298d93000-7f3298db2000 r-xp 00000000 08:03 7332104                    /lib/x86_64-linux-gnu/ld-2.13.so
57
7f3298f93000-7f3298f98000 rw-p 00000000 00:00 0
58
7f3298f9c000-7f3298f9d000 ---p 00000000 00:00 0
59
7f3298f9d000-7f3298fac000 rw-p 00000000 00:00 0
60
7f3298fac000-7f3298fad000 ---p 00000000 00:00 0
61
7f3298fad000-7f3298fb2000 rw-p 00000000 00:00 0
62
7f3298fb2000-7f3298fb3000 r--p 0001f000 08:03 7332104                    /lib/x86_64-linux-gnu/ld-2.13.so
63
7f3298fb3000-7f3298fb4000 rw-p 00020000 08:03 7332104                    /lib/x86_64-linux-gnu/ld-2.13.so
64
7f3298fb4000-7f3298fb5000 rw-p 00000000 00:00 0
65
7f3298fb5000-7f32991db000 r-xp 00000000 08:03 1351782                    /home/ew/r/trunk/bin/ruby
66
7f32993db000-7f32993e1000 rw-p 00226000 08:03 1351782                    /home/ew/r/trunk/bin/ruby
67
7f32993e1000-7f32993fd000 rw-p 00000000 00:00 0
68
7f3299c0d000-7f329a023000 rw-p 00000000 00:00 0                          [heap]
69
7fff15c17000-7fff15c38000 rw-p 00000000 00:00 0                          [stack]
70
7fff15dfa000-7fff15dfb000 r-xp 00000000 00:00 0                          [vdso]
71
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
72
[2522, #<Process::Status: pid 2522 SIGIOT (signal 6) (core dumped)>]