{"action":"opened","issue":{"url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/3","labels_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/3/comments","events_url":"https://api.github.com/repos/marekr/kicad-issue-test/issues/3/events","html_url":"https://github.com/marekr/kicad-issue-test/issues/3","id":120592552,"number":3,"title":"Bill of materials single parts per line crashes","user":{"login":"marekr","id":1838013,"avatar_url":"https://avatars.githubusercontent.com/u/1838013?v=3","gravatar_id":"","url":"https://api.github.com/users/marekr","html_url":"https://github.com/marekr","followers_url":"https://api.github.com/users/marekr/followers","following_url":"https://api.github.com/users/marekr/following{/other_user}","gists_url":"https://api.github.com/users/marekr/gists{/gist_id}","starred_url":"https://api.github.com/users/marekr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marekr/subscriptions","organizations_url":"https://api.github.com/users/marekr/orgs","repos_url":"https://api.github.com/users/marekr/repos","events_url":"https://api.github.com/users/marekr/events{/privacy}","received_events_url":"https://api.github.com/users/marekr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Critical","name":"Critical","color":"ffdddd"},{"url":"https://api.github.com/repos/marekr/kicad-issue-test/labels/Fix%20Released","name":"Fix Released","color":"ddffdd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-05T22:31:55Z","updated_at":"2015-12-05T22:31:55Z","closed_at":null,"body":"After revision 2397 when i select Output format: Single Part per line and click ok and select file in the browser it crashes.\nGnu Debugger gives me the line of code at frame 3. I can reproduce this problem with my schematics and the one from the demos. When I select List or Text for speadsheat it works. See below.\n\n(gdb) frame 3\n#3  0x00000000004b38d6 in DIALOG_BUILD_BOM::PrintComponentsListByPart (this=0x1898910, f=0x19d85a0, \n    aList=std::vector of length 34, capacity 64 = {...}) at /home/jerry/builds/kicad/kicad-trunk/eeschema/build_BOM.cpp:872\n872\t        printf(\"%c%-20s\", s_ExportSeparatorSymbol, CONV_TO_UTF8( cmpFields[FIELD1]) );\n\n(gdb) where\n#0  0x0000003a9f8af180 in wxMBConvUTF8::WC2MB(char*, wchar_t const*, unsigned long) const () from /usr/lib64/libwx_baseu-2.8.so.0\n#1  0x0000003a9f8b0abd in wxMBConv::cWC2MB(wchar_t const*) const () from /usr/lib64/libwx_baseu-2.8.so.0\n#2  0x00000000004a6cd6 in wxMBConv::cWX2MB (this=0x3a9fb67550, psz=0x5200000057 <Address 0x5200000057 out of bounds>)\n    at /usr/include/wx-2.8/wx/strconv.h:111\n#3  0x00000000004b38d6 in DIALOG_BUILD_BOM::PrintComponentsListByPart (this=0x1898910, f=0x19d85a0, \n    aList=std::vector of length 34, capacity 64 = {...}) at /home/jerry/builds/kicad/kicad-trunk/eeschema/build_BOM.cpp:872\n#4  0x00000000004b119f in DIALOG_BUILD_BOM::CreatePartsList (this=0x1898910, aFullFileName=..., aIncludeSubComponents=false)\n    at /home/jerry/builds/kicad/kicad-trunk/eeschema/build_BOM.cpp:172\n#5  0x00000000004b0ef1 in DIALOG_BUILD_BOM::Create_BOM_Lists (this=0x1898910, aTypeFile=2, aIncludeSubComponents=false, \n    aExportSeparatorSymbol=44 ',', aRunBrowser=false) at /home/jerry/builds/kicad/kicad-trunk/eeschema/build_BOM.cpp:126\n#6  0x00000000004fdebb in DIALOG_BUILD_BOM::OnOkClick (this=0x1898910, event=...)\n    at /home/jerry/builds/kicad/kicad-trunk/eeschema/dialog_build_BOM.cpp:182\n#7  0x0000003a9f8f2070 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()\n   from /usr/lib64/libwx_baseu-2.8.so.0"}}