[SERVER-174] Crash in shell Created: 21/Jul/09 Updated: 12/Jul/16 Resolved: 12/Aug/09 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Shell, Stability |
| Affects Version/s: | 0.9.6 |
| Fix Version/s: | 0.9.8 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ask Bjørn Hansen | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS X |
||
| Attachments: |
|
| Participants: |
| Description |
|
Inserting the test darta with the attached script makes the shell crash when 'finding' that entry in the DB. $ echo 'db.reports.find( { "_id": "nntp-3158" })' | /usr/local/mongodb/bin/mongo temp ) |
| Comments |
| Comment by Jason Sachs [ 01/Sep/09 ] |
|
This may be affecting the PHP driver as well. I've successfully written and read binary objects to/from the database in PHP, yet when I go to retrieve them from the javascript shell I get this: > db.datasheets.find() p.s. this may explain my problem in |
| Comment by Eliot Horowitz (Inactive) [ 15/Aug/09 ] |
|
Released in 0.9.8 |
| Comment by Kristina Chodorow (Inactive) [ 12/Aug/09 ] |
|
Getting the newest version of the perl driver should resolve this issue. All strings will be converted to utf8 before they're saved. |
| Comment by Eliot Horowitz (Inactive) [ 07/Aug/09 ] |
|
0x9F is invalid UTF-8 will make shell not crash so hard though... |
| Comment by Kristina Chodorow (Inactive) [ 05/Aug/09 ] |
|
The problem is, specifically, the \x9F character in the strings. This causes the same error with the C++ driver: mongo::BSONObjBuilder obj; |
| Comment by Eliot Horowitz (Inactive) [ 05/Aug/09 ] |
|
can you run the server with --objcheck probably a bug in the perl driver. |
| Comment by Matt Parlane [ 05/Aug/09 ] |
|
I can reproduce this reliably on Ubuntu 64-bit with 0.9.7. Let me know if you need any more info. |