[SERVER-13880] mongo client from ArchLinux packages crashes on ensureIndex() Created: 08/May/14 Updated: 10/Dec/14 Resolved: 15/May/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build, JavaScript, Shell |
| Affects Version/s: | 2.6.1 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | icoz | Assignee: | Michael Grundy |
| Resolution: | Duplicate | Votes: | 1 |
| Labels: | community-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Just type "db.abc.ensureIndex( {'m':1})" in mongo-shell. |
||||||||
| Sprint: | Server 2.7.1 | ||||||||
| Participants: | |||||||||
| Description |
|
Version: 2.6.1 Trying to make index on non-existing collection crashes mongo-shell with errors:
|
| Comments |
| Comment by Felix Yan [ 02/Jul/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
The tests stop here with GCC 4.9, hope it helps:
| ||||||||||||||||||||||||||||||||||||||||||
| Comment by Matt Kangas [ 15/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Demangled version of the original stacktrace reported:
This looks nearly identical to | ||||||||||||||||||||||||||||||||||||||||||
| Comment by icoz [ 14/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Hmm Now have problems with mongosniff in user-mode: $ mongosniff | ||||||||||||||||||||||||||||||||||||||||||
| Comment by icoz [ 14/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
I've tried new mongodb from post: Works fine. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Matt Kangas [ 14/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
The ArchLinux package maintainer reports that "the problem is gone here if compiling with clang." Problematic builds occurred using gcc 4.9. https://bugs.archlinux.org/task/40284#comment122962 michael.grundy@10gen.com, can you do an A/B test on ArchLinux using gcc 4.9 and 4.8.1? I'd like to pinpoint this issue. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Matt Kangas [ 13/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Replied on https://bugs.archlinux.org/task/40284 The current PKGBUILD for mongodb on ArchLinux specifies a number of --use-system-X values, any of which could be incompatible. My recommendation is to remove all of them, verify that you cannot reproduce this failure, then add them back incrementally until you isolate the incompatible system library. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Michael Grundy [ 08/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
I built up an ArchLinux vm and duplicated your results. I can't say for certain right now what is different about the way it's built that causes this. I recommend you try the binaries at https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.1.tgz . | ||||||||||||||||||||||||||||||||||||||||||
| Comment by icoz [ 08/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
I use it from the ArchLinux package repositories. | ||||||||||||||||||||||||||||||||||||||||||
| Comment by Michael Grundy [ 08/May/14 ] | ||||||||||||||||||||||||||||||||||||||||||
|
Hi - Sorry you're having problems. Is the version you're running from downloads.mongodb.com, or from the ArchLinux package repositories? Thanks! |