[SERVER-6674] Assertion: 10311:Number inf cannot be represented in JSON Created: 01/Aug/12  Updated: 11/Jul/16  Resolved: 08/Aug/12

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.0.6
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Rosco Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 3.2.12-gentoo #1 SMP Wed Mar 28 19:19:45 MSK 2012 x86_64 QEMU Virtual CPU version 0.15.1 GenuineIntel GNU/Linux


Operating System: Linux
Participants:

 Description   

rosco@idx ~ $ mongoexport --host mongo.idx --port 27017 -d catalog_ru_index -c catalog -f catalog_node_id,time_created,time_updated,params,name,images,description,stop_node,showcasecategories,path,seo,partnumber,partnumbers -o dump.json
connected to: mongo.idx.utinet:27017
Wed Aug 1 15:19:55 Assertion: 10311:Number inf cannot be represented in JSON
0x57df4d 0x526ab9 0x51ed20 0x527346 0x5276a1 0x51ed20 0x8fe88d 0x8f929c 0x8fa720 0x7f89e3d912ad 0x50d9c9
mongoexport(_ZN5mongo11msgassertedEiPKc+0x11d) [0x57df4d]
mongoexport(_ZNK5mongo11BSONElement10jsonStringENS_16JsonStringFormatEbi+0x1e9) [0x526ab9]
mongoexport(_ZNK5mongo7BSONObj10jsonStringENS_16JsonStringFormatEi+0xf0) [0x51ed20]
mongoexport(_ZNK5mongo11BSONElement10jsonStringENS_16JsonStringFormatEbi+0xa76) [0x527346]
mongoexport(_ZNK5mongo11BSONElement10jsonStringENS_16JsonStringFormatEbi+0xdd1) [0x5276a1]
mongoexport(_ZNK5mongo7BSONObj10jsonStringENS_16JsonStringFormatEi+0xf0) [0x51ed20]
mongoexport(_ZN6Export3runEv+0x1b7d) [0x8fe88d]
mongoexport(_ZN5mongo4Tool4mainEiPPc+0x76c) [0x8f929c]
mongoexport(main+0x30) [0x8fa720]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f89e3d912ad]
mongoexport() [0x50d9c9]
assertion: 10311 Number inf cannot be represented in JSON



 Comments   
Comment by Spencer Brody (Inactive) [ 08/Aug/12 ]

Great, glad to hear it!

Comment by Rosco [ 08/Aug/12 ]

Your solution works, thank you.

Comment by Spencer Brody (Inactive) [ 07/Aug/12 ]

SERVER-4415 has been fixed in the development branch and will be part of the upcoming stable 2.2 release, but it has not been backported to the 2.0 series. If you need it, you could try the mongoexport from the unstable 2.2-rc0 release. It should be fine to use mongoexport from 2.2-rc0 with a 2.0.6 mongod.

Comment by Rosco [ 01/Aug/12 ]

Possible, SERVER-4415 is back...

Generated at Thu Feb 08 03:12:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.