Error by importing 1Password: memory access out of bounds

Hi,

I am moving from 1Password to Bitwarden, but I can not import whithout error or app crashing. I have tried on web app, chrome extension, and linux desktop app. Many times tried but no success.

And I do not want to exort in CSV since imports take not everything.

Could you help me finding a way to make the switch properly?

Thanks many times,

Tim

PS: here a screenshot from the web app (got the same for the extension. For linux app its crashes)

@timcoucou Welcome to the forum!

Maybe a bit unusual, but in this case I would like to “forward” you to this recent GitHub issue, especially the comments and response from Bitwarden, as it’s exactly your issue and contains “the answer”. (though you probably would have liked another “answer”)

hmm…not really helpful since my .1pux file is only 155ko. Any other idea?

155kb? – Did you try the .json path that they suggested?

PS: If you indeed meant “kilobyte”, then this could be a new bug with the importer, which itself could be reported on GitHub.

I also wonder if maybe there is an individual item (e.g. a “description”) which is larger than what Bitwarden allows, but unfortunately can offer no advise on how to detect such an item.

You should still do a CSV export, to help diagnose the issue. In particular, check whether there are any notes fields that are larger than 7000 characters. If you open the CSV in Excel, you can use the =LEN() command to check the size of each item in the notes column.

I exported in CSV but nothing special, notes are small. And the file is only 66Ko. I finally had to import in CSV, and I will keep the backup on a disc in case an information is missing. I suppose the problem is coming from many format updating (I got the first versions of 1Password), plus maybe linux topic?

Bitwarden’s importers are generally kept up-to-date to be compatible with the current versions of the other password manager. Thus, if you have exported your data from an old version of 1Password, it would not be surprising if errors occurred.

Bitwarden’s 1pif importer was last updated in November, 2023, and the 1pux importer was last updated only 10 days ago.

What is the vintage of the 1Password app from which you exported your data?

The latest one from today

OK, in that case I don’t understand your previous comment about having the first versions of 1PW.

It was just an hypothesis, I still not understand why bitwarden crashes…:red_question_mark::person_shrugging:

What is the format of your 1Password export file (1pif or 1pux)? Does the export contain any file attachments?

1pux

With 2 attachements

I tried to remove it, but it fails too

So, to be sure: you have an up-to-date 1Password app, and the export you made is “fresh” (e.g. from today)?

And you chose 1Password (1pux/json) as the file format for the BW importer, right?

And I guess, you already saw this Help Site: Import from 1Password | Bitwarden and did everything as described there? (if not, please check if there may be something different)

Try the following two methods:

… if I ever read that before, for sure I forgot it… interesting to know!

I had the same issue with quite complex vault set up in 1Password so created a tool to export and import using CLI clients for both 1P and BW:

As 1Password also supports the Credential Exchange Format/Protocol (CXF/CXP) now, it should also be possible to export via that mechanism from the 1Password mobile app to the Bitwarden mobile app directly. (see also here: https://bitwarden.com/help/import-from-1password/#tab-mobile-app-5ALQx9afSqWXX9jfXsY5sb)

But you have to be on iOS 26+ to be able to use that.