Bug 892601
Summary: | glibc detected *** node: invalid fastbin entry (free): 0x09749bf0 *** | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthias Runge <mrunge> |
Component: | nodejs | Assignee: | T.C. Hollingsworth <tchollingsworth> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | mrunge, sgallagh, tchollingsworth |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://github.com/joyent/node/issues/4549 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-04-05 23:01:51 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matthias Runge
2013-01-07 11:28:57 UTC
The next build succeeded, for lessjs. I can reproduce this bug on i686, not in x86_64. I'm not sure you really need %{?smp_mflags} in %check, so this is easy to work around, but I passed it along to upstream anyway since it may be indicative of a bigger problem. https://github.com/joyent/node/issues/4549 Upstream says: "Can you verify that libuv and node are both compiled with -D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64? Gut feeling says it's a sizeof(struct stat) mismatch." It's apparently defined in uv.gyp but not node.gyp, which would seem to be an upstream bug. Can you verify whether or not you can reproduce the problem with this scratch build? http://koji.fedoraproject.org/koji/taskinfo?taskID=4853300 I don't have an i686 install handy, unfortunately. Verified fixed on ARM, which is still 32-bit. ;-) Upstream advised that we'll need to define this is nodejs ourselves, the upstream build inherits it from uv.gyp. An update is building now. (In reply to comment #4) > Upstream says: > "Can you verify that libuv and node are both compiled with > -D_LARGEFILE_SOURCE and -D_FILE_OFFSET_BITS=64? Gut feeling says it's a > sizeof(struct stat) mismatch." > > It's apparently defined in uv.gyp but not node.gyp, which would seem to be > an upstream bug. > > Can you verify whether or not you can reproduce the problem with this > scratch build? > http://koji.fedoraproject.org/koji/taskinfo?taskID=4853300 > > I don't have an i686 install handy, unfortunately. I have still an i686 box here, and I'd test it, but sadly that build failed for both, x86_64, and i686: Getting requirements for nodejs-0.9.5-5.fc18.src DEBUG util.py:257: --> 1:v8-devel-3.10.8-2.fc18.i686 DEBUG util.py:257: Error: No Package found for http-parser-devel >= 2.0 Oh yeah, all the buildroot expired. I set them to expire when F18 was *supposed* to have been released since everything should have gone stable by then. You'll have to build locally, wait for new buildroot overrides to go through, or try this rawhide build: http://koji.fedoraproject.org/koji/taskinfo?taskID=4854478 I'll give feedback, as soon as the build succeeds. On i686: [root@sofja ~]# rpm -q nodejs nodejs-0.9.5-6.fc19.i686 node test/less-test.js LESS *** glibc detected *** node: malloc(): memory corruption: 0x08b05d40 *** ======= Backtrace: ========= /lib/libc.so.6[0x47104f9e] /lib/libc.so.6(__libc_malloc+0x61)[0x47106741] /lib/libstdc++.so.6(_Znwj+0x28)[0x4751d858] node[0x8075e45] /lib/libv8.so.3(+0x1a3b85)[0xb73acb85] [0x2040a236] [0x4601e806] [0x4601e769] [0x20413605] [0x4601e61d] [0x2040f321] [0x204135fe] [0x460193c5] [0x2040f999] [0x2040a0aa] /lib/libv8.so.3(+0x1d4b25)[0xb73ddb25] ======= Memory map: ======== 08048000-08194000 r-xp 00000000 fd:01 131168 /usr/bin/node 08194000-08195000 r--p 0014b000 fd:01 131168 /usr/bin/node 08195000-08197000 rw-p 0014c000 fd:01 131168 /usr/bin/node 08197000-08198000 rw-p 00000000 00:00 0 08ae6000-08bb5000 rw-p 00000000 00:00 0 [heap] 20400000-20409000 rw-p 00000000 00:00 0 20409000-2040a000 ---p 00000000 00:00 0 2040a000-2046a000 rwxp 00000000 00:00 0 2046a000-2046b000 ---p 00000000 00:00 0 23e10000-23e11000 r-xp 00000000 00:00 0 29e00000-29f00000 rw-p 00000000 00:00 0 2d000000-2d700000 ---p 00000000 00:00 0 2d700000-2d800000 rw-p 00000000 00:00 0 2d800000-2df00000 ---p 00000000 00:00 0 2df00000-2e000000 rw-p 00000000 00:00 0 33992000-33993000 r-xp 00000000 00:00 0 39400000-39439000 rw-p 00000000 00:00 0 3ae23000-3ae40000 ---p 00000000 00:00 0 3ae40000-3ae50000 rw-p 00000000 00:00 0 3ae50000-3ae53000 ---p 00000000 00:00 0 3c700000-3c709000 rw-p 00000000 00:00 0 3c709000-3c70a000 ---p 00000000 00:00 0 3c70a000-3c733000 rwxp 00000000 00:00 0 3c733000-3c734000 ---p 00000000 00:00 0 42bdd000-42cdd000 rw-p 00000000 00:00 0 46000000-46009000 rw-p 00000000 00:00 0 46009000-4600a000 ---p 00000000 00:00 0 4600a000-460ff000 rwxp 00000000 00:00 0 460ff000-46100000 ---p 00000000 00:00 0 4706b000-4708a000 r-xp 00000000 fd:01 131110 /usr/lib/ld-2.16.so 4708a000-4708b000 r--p 0001e000 fd:01 131110 /usr/lib/ld-2.16.so 4708b000-4708c000 rw-p 0001f000 fd:01 131110 /usr/lib/ld-2.16.so 4708e000-4723e000 r-xp 00000000 fd:01 131242 /usr/lib/libc-2.16.so 4723e000-47240000 r--p 001b0000 fd:01 131242 /usr/lib/libc-2.16.so 47240000-47241000 rw-p 001b2000 fd:01 131242 /usr/lib/libc-2.16.so 47241000-47244000 rw-p 00000000 00:00 0 47246000-4725c000 r-xp 00000000 fd:01 131424 /usr/lib/libpthread-2.16.so 4725c000-4725d000 r--p 00015000 fd:01 131424 /usr/lib/libpthread-2.16.so 4725d000-4725e000 rw-p 00016000 fd:01 131424 /usr/lib/libpthread-2.16.so 4725e000-47260000 rw-p 00000000 00:00 0 47262000-47265000 r-xp 00000000 fd:01 131514 /usr/lib/libdl-2.16.so 47265000-47266000 r--p 00002000 fd:01 131514 /usr/lib/libdl-2.16.so 47266000-47267000 rw-p 00003000 fd:01 131514 /usr/lib/libdl-2.16.so 47269000-472a7000 r-xp 00000000 fd:01 132303 /usr/lib/libm-2.16.so 472a7000-472a8000 r--p 0003d000 fd:01 132303 /usr/lib/libm-2.16.so 472a8000-472a9000 rw-p 0003e000 fd:01 132303 /usr/lib/libm-2.16.so 472ab000-472b2000 r-xp 00000000 fd:01 131463 /usr/lib/librt-2.16.so 472b2000-472b3000 r--p 00006000 fd:01 131463 /usr/lib/librt-2.16.so 472b3000-472b4000 rw-p 00007000 fd:01 131463 /usr/lib/librt-2.16.so 472b6000-472cb000 r-xp 00000000 fd:01 132108 /usr/lib/libz.so.1.2.7 472cb000-472cc000 r--p 00014000 fd:01 132108 /usr/lib/libz.so.1.2.7 472cc000-472cd000 rw-p 00015000 fd:01 132108 /usr/lib/libz.so.1.2.7 472cf000-472eb000 r-xp 00000000 fd:01 132173 /usr/lib/libgcc_s-4.7.2-20121109.so.1 472eb000-472ec000 r--p 0001b000 fd:01 132173 /usr/lib/libgcc_s-4.7.2-20121109.so.1 472ec000-472ed000 rw-p 0001c000 fd:01 132173 /usr/lib/libgcc_s-4.7.2-20121109.so.1 472ef000-47351000 r-xp 00000000 fd:01 132142 /usr/lib/libpcre.so.1.0.1 47351000-47352000 r--p 00061000 fd:01 132142 /usr/lib/libpcre.so.1.0.1 47352000-47353000 rw-p 00062000 fd:01 132142 /usr/lib/libpcre.so.1.0.1 47355000-47375000 r-xp 00000000 fd:01 132153 /usr/lib/libselinux.so.1 47375000-47376000 r--p 0001f000 fd:01 132153 /usr/lib/libselinux.so.1 47376000-47377000 rw-p 00020000 fd:01 132153 /usr/lib/libselinux.so.1 47377000-47378000 rw-p 00000000 00:00 0 4737a000-4738f000 r-xp 00000000 fd:01 132136 /usr/lib/libresolv-2.16.so 4738f000-47390000 r--p 00014000 fd:01 132136 /usr/lib/libresolv-2.16.so 47390000-47391000 rw-p 00015000 fd:01 132136 /usr/lib/libresolv-2.16.so 47391000-47393000 rw-p 00000000 00:00 0 474d0000-475b0000 r-xp 00000000 fd:01 132308 /usr/lib/libstdc++.so.6.0.17 475b0000-475b4000 r--p 000df000 fd:01 132308 /usr/lib/libstdc++.so.6.0.17 475b4000-475b6000 rw-p 000e3000 fd:01 132308 /usr/lib/libstdc++.so.6.0.17 475b6000-475bc000 rw-p 00000000 00:00 0 47aff000-47c69000 r-xp 00000000 fd:01 132385 /usr/lib/libicuuc.so.49.1.1 47c69000-47c72000 r--p 00169000 fd:01 132385 /usr/lib/libicuuc.so.49.1.1 47c72000-47c73000 rw-p 00172000 fd:01 132385 /usr/lib/libicuuc.so.49.1.1 47c73000-47c78000 rw-p 00000000 00:00 0 47c89000-48da9000 r-xp 00000000 fd:01 132383 /usr/lib/libicudata.so.49.1.1 48da9000-48daa000 r--p 0111f000 fd:01 132383 /usr/lib/libicudata.so.49.1.1 48daa000-48dab000 rw-p 01120000 fd:01 132383 /usr/lib/libicudata.so.49.1.1 4948e000-49491000 r-xp 00000000 fd:01 132165 /usr/lib/libcom_err.so.2.1 49491000-49492000 r--p 00002000 fd:01 132165 /usr/lib/libcom_err.so.2.1 49492000-49493000 rw-p 00003000 fd:01 132165 /usr/lib/libcom_err.so.2.1 494d4000-494d7000 r-xp 00000000 fd:01 132129 /usr/lib/libkeyutils.so.1.4 494d7000-494d8000 r--p 00002000 fd:01 132129 /usr/lib/libkeyutils.so.1.4 494d8000-494d9000 rw-p 00003000 fd:01 132129 /usr/lib/libkeyutils.so.1.4 496a8000-496e8000 r-xp 00000000 fd:01 132192 /usr/lib/libgssapi_krb5.so.2.2 496e8000-496e9000 r--p 0003f000 fd:01 132192 /usr/lib/libgssapi_krb5.so.2.2 496e9000-496ea000 rw-p 00040000 fd:01 132192 /usr/lib/libgssapi_krb5.so.2.2 49727000-49731000 r-xp 00000000 fd:01 132159 /usr/lib/libkrb5support.so.0.1 49731000-49732000 r--p 00009000 fd:01 132159 /usr/lib/libkrb5support.so.0.1 49732000-49733000 rw-p 0000a000 fd:01 132159 /usr/lib/libkrb5support.so.0.1 49cda000-49d02000 r-xp 00000000 fd:01 132160 /usr/lib/libk5crypto.so.3.1 49d02000-49d03000 ---p 00028000 fd:01 132160 /usr/lib/libk5crypto.so.3.1 49d03000-49d04000 r--p 00028000 fd:01 132160 /usr/lib/libk5crypto.so.3.1 49d04000-49d05000 rw-p 00029000 fd:01 132160 /usr/lib/libk5crypto.so.3.1 49d05000-49d06000 rw-p 00000000 00:00 0 49d08000-49de1000 r-xp 00000000 fd:01 132178 /usr/lib/libkrb5.so.3.3 49de1000-49de7000 r--p 000d9000 fd:01 132178 /usr/lib/libkrb5.so.3.3 49de7000-49de8000 rw-p 000df000 fd:01 132178 /usr/lib/libkrb5.so.3.3 49df1000-49f80000 r-xp 00000000 fd:01 132770 /usr/lib/libcrypto.so.1.0.1c 49f80000-49f8f000 r--p 0018e000 fd:01 132770 /usr/lib/libcrypto.so.1.0.1c 49f8f000-49f95000 rw-p 0019d000 fd:01 132770 /usr/lib/libcrypto.so.1.0.1c 49f95000-49f99000 rw-p 00000000 00:00 0 4a09f000-4a0f7000 r-xp 00000000 fd:01 132796 /usr/lib/libssl.so.1.0.1c 4a0f7000-4a0f8000 ---p 00058000 fd:01 132796 /usr/lib/libssl.so.1.0.1c 4a0f8000-4a0fa000 r--p 00058000 fd:01 132796 /usr/lib/libssl.so.1.0.1c 4a0fa000-4a0fd000 rw-p 0005a000 fd:01 132796 /usr/lib/libssl.so.1.0.1c 4ae56000-4b057000 r-xp 00000000 fd:01 132386 /usr/lib/libicui18n.so.49.1.1 4b057000-4b05d000 r--p 00201000 fd:01 132386 /usr/lib/libicui18n.so.49.1.1 4b05d000-4b05e000 rw-p 00207000 fd:01 132386 /usr/lib/libicui18n.so.49.1.1 4b05e000-4b05f000 rw-p 00000000 00:00 0 4dd00000-4dd21000 rw-p 00000000 00:00 0 58457000-58458000 r-xp 00000000 00:00 0 59a75000-59a76000 r-xp 00000000 00:00 0 5d100000-5d129000 rw-p 00000000 00:00 0 5f000000-5f100000 rw-p 00000000 00:00 0 5f45a000-5f45b000 r-xp 00000000 00:00 0 5f4c6000-5f4c7000 r-xp 00000000 00:00 0 b46fc000-b46fd000 ---p 00000000 00:00 0 b46fd000-b4efd000 rw-p 00000000 00:00 0 [stack:24947] b4efd000-b4efe000 ---p 00000000 00:00 0 b4efe000-b56fe000 rw-p 00000000 00:00 0 [stack:24946] b56fe000-b56ff000 ---p 00000000 00:00 0 b56ff000-b5eff000 rw-p 00000000 00:00 0 [stack:24945] b5eff000-b5f00000 ---p 00000000 00:00 0 b5f00000-b6700000 rw-p 00000000 00:00 0 [stack:24944] b6700000-b6721000 rw-p 00000000 00:00 0 b6721000-b6800000 ---p 00000000 00:00 0 b68ff000-b6900000 ---p 00000000 00:00 0 b6900000-b7149000 rw-p 00000000 00:00 0 [stack:24943] b7202000-b7209000 rw-p 00000000 00:00 0 b7209000-b774a000 r-xp 00000000 fd:01 156976 /usr/lib/libv8.so.3.13.7 b774a000-b7760000 r--p 00540000 fd:01 156976 /usr/lib/libv8.so.3.13.7 b7760000-b7768000 rw-p 00556000 fd:01 156976 /usr/lib/libv8.so.3.13.7 b7768000-b776b000 rw-p 00000000 00:00 0 b776b000-b7784000 r-xp 00000000 fd:01 156939 /usr/lib/libuv.so.0.9.4 b7784000-b7785000 r--p 00018000 fd:01 156939 /usr/lib/libuv.so.0.9.4 b7785000-b7786000 rw-p 00019000 fd:01 156939 /usr/lib/libuv.so.0.9.4 b7786000-b7787000 rw-p 00000000 00:00 0 b7787000-b7797000 r-xp 00000000 fd:01 134530 /usr/lib/libcares.so.2.0.0 b7797000-b7798000 r--p 0000f000 fd:01 134530 /usr/lib/libcares.so.2.0.0 b7798000-b7799000 rw-p 00010000 fd:01 134530 /usr/lib/libcares.so.2.0.0 b7799000-b779d000 r-xp 00000000 fd:01 133896 /usr/lib/libhttp_parser.so.2.0 b779d000-b779e000 r--p 00003000 fd:01 133896 /usr/lib/libhttp_parser.so.2.0 b779e000-b779f000 rw-p 00004000 fd:01 133896 /usr/lib/libhttp_parser.so.2.0 b77bf000-b77c1000 rw-p 00000000 00:00 0 b77c1000-b77c2000 r-xp 00000000 00:00 0 [vdso] bfe24000-bfe45000 rw-p 00000000 00:00 0 [stack] make: *** [test] Aborted Wow. I went to go check whether our CFLAGS were really getting applied, and lo and behold, `make install` for some reason builds the whole thing over again. Since the envvars aren't exported in %install, of course, it gets rebuilt without %optflags or the flags that are supposed to fix this. Try this build when it completes: http://koji.fedoraproject.org/koji/taskinfo?taskID=4854566 Locally I verified it at least fixes the double build problem. I could affirm, the last build from koji fixes the described issue for me on i686. Awesome! Thanks for testing this. I'll push an F18 update as soon as spot grants me ACLs on the necessary v8 branches so I can do the buildroot override (I only have them on el6 ATM). I've filed the buildroot override and built the new node package (I also updated it to include the non-optimized debug build of /usr/bin/node_g in the nodejs-devel package. http://koji.fedoraproject.org/koji/buildinfo?buildID=377405 I'll get a Bodhi update filed shortly. libuv-0.9.4-0.1.gitdc559a5.fc18, nodejs-0.9.5-8.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2012-20578/nodejs-0.9.5-8.fc18,libuv-0.9.4-0.1.gitdc559a5.fc18 libuv-0.9.4-0.1.gitdc559a5.fc18, nodejs-0.9.5-8.fc18 has been pushed to the Fedora 18 testing repository. libuv-0.9.4-0.1.gitdc559a5.fc18, nodejs-0.9.5-9.fc18 has been pushed to the Fedora 18 testing repository. nodejs-0.10.0-1.fc18, libuv-0.10.0-1.git5462dab.fc18, v8-3.14.5.7-1.fc18 has been pushed to the Fedora 18 testing repository. v8-3.14.5.7-1.fc18, nodejs-0.10.0-3.fc18, libuv-0.10.0-2.git5462dab.fc18 has been pushed to the Fedora 18 testing repository. Package v8-3.14.5.7-1.fc18, libuv-0.10.0-2.git5462dab.fc18, nodejs-0.10.0-4.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing v8-3.14.5.7-1.fc18 libuv-0.10.0-2.git5462dab.fc18 nodejs-0.10.0-4.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20578/nodejs-0.10.0-4.fc18,libuv-0.10.0-2.git5462dab.fc18,v8-3.14.5.7-1.fc18 then log in and leave karma (feedback). Package libuv-0.10.0-2.git5462dab.fc18, nodejs-0.10.1-1.fc18, v8-3.14.5.8-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libuv-0.10.0-2.git5462dab.fc18 nodejs-0.10.1-1.fc18 v8-3.14.5.8-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20578/nodejs-0.10.1-1.fc18,libuv-0.10.0-2.git5462dab.fc18,v8-3.14.5.8-1.fc18 then log in and leave karma (feedback). Package v8-3.14.5.8-1.fc18, nodejs-0.10.2-1.fc18, libuv-0.10.3-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing v8-3.14.5.8-1.fc18 nodejs-0.10.2-1.fc18 libuv-0.10.3-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20578/nodejs-0.10.2-1.fc18,libuv-0.10.3-1.fc18,v8-3.14.5.8-1.fc18 then log in and leave karma (feedback). v8-3.14.5.8-1.fc18, nodejs-0.10.2-1.fc18, libuv-0.10.3-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |