Hello,
After updating LibrePCB to ver 2.0.1, when opening a local library, the whole software closes unexpectedly with no warning.
There was no error message during the installation.
In my local library I created tens of components that I needed for my projects, because most of the components required are not available in any remote library or in the Base Library (that is understandable, it’s difficult to supply a huge range of components).
Fact is I created tens of components in the local library that I cannot access any more.
I lost tens of hours of work to create them.
Suppose hypothetically I would do it again from scratch, what guarantee do I have that it will still work with the future releases of LibrePCB ?
Sorry to say, if a software app is not reliable, it doesn’t have much value for the users.
I already cleared library cache an checked for locks.
During and after the upgrade there was no error message whatsoever.
Please advice what to do, I am waiting for a feedback.
Hi @daniel71,
That is very unfortunate. I totally agree this is not acceptable and we have to figure out what is the problem, so we can fix it. I would appreciate if you can try out a few things, see below. In any way, do not create your elements again, I am sure we can recover your already created elements.
- From the “About LibrePCB” sidepanel, could you copy&paste the system information here? There is a “Copy to clipboard” button, just click that and paste the clipboard here.
- Can you run LibrePCB from the console, reproduce the crash, and then paste the whole logging output here? Of course you can obfuscate personal information from it. For instructions, see here.
- You say that you updated to LibrePCB 2.0.1 – which version did you use before, 2.0.0 or 1.x? If 2.0.0, did the problem not exist there?
- Could you try out the current development version from here, and let me know if the problem still exists with that version? (note that if you are using Windows, those nightly builds are not code signed so you need to accept the “unverified publisher” warning)
Hi ubruhin,
Thank you for the quick reply.
- Here is the info of the version:
LibrePCB Version: 2.0.1
Git Revision: 083755c (2026-02-22)
Build Author: OSSign CI
Qt Version: 6.10.1 (built against 6.10.1)
CPU Architecture: x86_64
Operating System: Windows 10 Version 22H2
Platform Plugin: windows
TLS Library: Secure Channel, Windows 10.0.19045
OCC Library: OCCT 7.9.1
- Here is the log from the console:
[ INFO ] LibrePCB 2.0.1 (083755c)
[ INFO ] Qt version: 6.10.1 (compiled against 6.10.1)
[ INFO ] Resources directory: “C:\Program Files\LibrePCB\share\librepcb”
[ INFO ] Application settings: “C:\Users\service-daniel\AppData\Roaming\LibrePCB\LibrePCB.ini”
[ INFO ] Cache directory: “C:\Users\service-daniel\AppData\Local\LibrePCB\LibrePCB\cache”
[DEBUG-MSG] Network access manager thread started.
[DEBUG-MSG] Recently used workspace: “C:\Users\service-daniel\LibrePCB-Workspace”
[ WARNING ] The system’s full username is empty or could not be determined!
[DEBUG-MSG] Open workspace data directory “C:\Users\service-daniel\LibrePCB-Workspace\data”…
[DEBUG-MSG] Load workspace settings…
[DEBUG-MSG] Successfully loaded workspace settings.
[DEBUG-MSG] Load workspace library database…
[DEBUG-MSG] Successfully loaded workspace library database.
[DEBUG-MSG] Successfully opened workspace.
[DEBUG-MSG] Workspace library scanner thread started.
[ INFO ] Loaded parts information cache from “C:\Users\service-daniel\AppData\Local\LibrePCB\LibrePCB\cache\parts.lp”.
[DEBUG-MSG] Cleaned outdated live information about 0 parts.
[DEBUG-MSG] Opened new window with ID 1.
[DEBUG-MSG] Start workspace library scan in worker thread…
[DEBUG-MSG] Discarded 0 cached library elements.
[DEBUG-MSG] Workspace libraries indexed: 43 libraries in 99 ms.
[DEBUG-MSG] Request succeeded: https://api.librepcb.org/api/v1/libraries/v2 (from cache)
[ WARNING ] Override stale lock on directory “C:\Users\service-daniel\LibrePCB-Workspace\data\libraries\local\My_Library.lplib”…
[DEBUG-MSG] Update library elements tree…
The last line of the log shows that it closed abruptly. Also a .lock file keeps appearing into the local library every time I launch LibrePCB.
- Version used before was 1.3.0 (unfortunately).
- For now, please understand I am reluctant to try any other version. Is it possible (or a good idea) to revert back to 1.3.0 ?
The thing is that all the previous projects work (can be opened) with the elements from the local library … that’s strange ! I did not make any save in those projects as the warning suggested (as the save will be irreversible if I open them in older versions of LibrePCB). Maybe something else will fix the issue… Thank you very much for the help.