Linux fails on fatal IO error 2


#1

When i try to run Fritzing nothing happens, and when I try to run it from the terminal the loading window briefly appears and then this error is displayed in the terminal:

qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
The X11 connection broke: Maximum allowed requested length exceeded (code 4)
XIO:  fatal IO error 2 (Adresář nebo soubor neexistuje) on X server ":0"
      after 509 requests (505 known processed) with 0 events remaining.
Segmentation fault (core dumped)

tried a lot of stuff by now, nothing to find anywhere (tried to DDG it and google it many times, also tried to find something on the forums), i tried to redownload it a dozen times, but nothing helps.
thanks for help


Errors when running Fritzing
#2

I want to ask a couple of questions:

What version of Fritzing are you trying to use?
Was it installed with the DE package manager/


#3

I downloaded the latest Linux .tar.bz2 file. I believe it was 0.9.3b and i untared it using Ubuntu 16.10 native package manager.


#4

From the unatred directory, you have to nstall it. running:

$./install_fritziing.sh

then from the same directing type

$Fritzing

I don’t have my other computer here with 0.9.3b on it. But give this a go.


#5

Well, i tried that, but it tells me, it can’t find the program even after i install it.
Also i tried installing it from apt
sudo apt install fritzing

and when i try to run it then it gives sigsegv.

(i got my system in czech, so it wouldn’t make any sense if i pasted the stuff it told me here)


#6

you would need to use this

$sudo apt-get install fritzing

That would install the one in the repos of your distro. Which would version 0.9.0 probably.

Is your computer system all in Czech?


#7

What distribution are you using? Sounds like a dependency problem… Without said library Fritzing segfaults.

Assuming you extracted fritzing in your Downloads folder try running ldd on fritzing to see whats missing
ie; command shell of your choice.

cd ~//Downloads/fritzing-0.9.3b.linux.AMD64/lib/
(or directory extracted to then cd to /lib folder)
then
ldd Fritzing

You should see and output similar to this.
linux-vdso.so.1 => (0x00007ffc9b38a000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe91b04f000)
libgit2.so.23 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libgit2.so.23 (0x00007fe91ad29000)
libQt5Svg.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Svg.so.5 (0x00007fe91aad5000)
libQt5PrintSupport.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5PrintSupport.so.5 (0x00007fe91a868000)
libQt5Widgets.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Widgets.so.5 (0x00007fe919ff5000)
libQt5Gui.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Gui.so.5 (0x00007fe9197fe000)
libQt5Xml.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Xml.so.5 (0x00007fe9195c3000)
libQt5Network.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Network.so.5 (0x00007fe919263000)
libQt5Sql.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Sql.so.5 (0x00007fe91901f000)
libQt5SerialPort.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5SerialPort.so.5 (0x00007fe918e06000)
libQt5Core.so.5 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Core.so.5 (0x00007fe9186f3000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe918371000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe918068000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe917e52000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe917a88000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fe91781f000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fe9173db000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe9171d2000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe916fb5000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fe916d44000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fe916af0000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007fe9168ee000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fe9165dc000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fe9163ca000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe916090000)
libicui18n.so.56 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libicui18n.so.56 (0x00007fe915bf5000)
libicuuc.so.56 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libicuuc.so.56 (0x00007fe91583d000)
libicudata.so.56 => /home/sysadmin/Downloads/fritzing-0.9.3b.linux.AMD64/lib/./libicudata.so.56 (0x00007fe913e59000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe913c55000)
/lib64/ld-linux-x86-64.so.2 (0x000055c7533e0000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fe913a2b000)
libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fe913828000)
libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fe913625000)
libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fe91341d000)
libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fe91321a000)
libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fe912fec000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fe912de8000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fe912be2000)
libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fe9129e0000)
libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fe9127c6000)
libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fe9125c1000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe91239f000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fe912198000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fe911f89000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fe911d80000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fe911b10000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe91190c000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fe911705000)

Give it a try, see what you get.


#8

My system is all in Czech, but it’s not 100% translated, so the command line gives a mix of Czech and English.
I am using Ubuntu 16.10.
I’ll give a try to landracers solution once i get home.
Thanks a lot so far.


#9
$ idd Fritzing

gave:
linux-vdso.so.1 => (0x00007ffffeff9000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f3ab5f16000)
libgit2.so.23 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libgit2.so.23 (0x00007f3ab5bf1000)
libQt5Svg.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Svg.so.5 (0x00007f3ab599d000)
libQt5PrintSupport.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5PrintSupport.so.5 (0x00007f3ab5730000)
libQt5Widgets.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Widgets.so.5 (0x00007f3ab4ebe000)
libQt5Gui.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Gui.so.5 (0x00007f3ab46c5000)
libQt5Xml.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Xml.so.5 (0x00007f3ab448a000)
libQt5Network.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Network.so.5 (0x00007f3ab412b000)
libQt5Sql.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Sql.so.5 (0x00007f3ab3ee7000)
libQt5SerialPort.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5SerialPort.so.5 (0x00007f3ab3cce000)
libQt5Core.so.5 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libQt5Core.so.5 (0x00007f3ab35bc000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3ab3232000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3ab2f29000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f3ab2d12000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3ab294b000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f3ab26e2000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f3ab229e000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3ab2094000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f3ab1e76000)
libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f3ab1c02000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007f3ab19af000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f3ab17ad000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f3ab149a000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f3ab1286000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f3ab0f4d000)
libicui18n.so.56 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libicui18n.so.56 (0x00007f3ab0ab3000)
libicuuc.so.56 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libicuuc.so.56 (0x00007f3ab06fb000)
libicudata.so.56 => /home/jan/Stažené/fritzing-0.9.3b.linux.AMD64/lib/./libicudata.so.56 (0x00007f3aaed18000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3aaeb12000)
/lib64/ld-linux-x86-64.so.2 (0x000055b7bcc6b000)
libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f3aae8e8000)
libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f3aae6e5000)
libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f3aae4e2000)
libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f3aae2db000)
libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f3aae0d6000)
libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f3aadea7000)
libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f3aadca4000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f3aada9e000)
libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f3aad89c000)
libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f3aad683000)
libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f3aad47c000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f3aad25a000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f3aad054000)
libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f3aace45000)
libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f3aacc3d000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f3aac9ca000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f3aac7c4000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f3aac5be000)


#10

the version installed by sudo apt install fritzing was 0.9.2b


#11

Your package manager must a more up to date packages than mine. I’m running Debian Jessie Stable.

You can uninstall the 0.9.2 with the package manager and the proceed with the installation of the 0.9.3b.


#12

A suggestion about your error messages: while I’ve never run a non english system and thus haven’t tried this, I think you should be able to change the language back to english in a config file somewhere (probably in the localle package) and then reboot and your error messages should come out in english to be posted. With english error messages / logs I expect you will find it a lot easier to get help for any unix problem not just Fritzing.


#13

Do you know about a way of changing the language of the terminal without changing the language of the rest of the OS?


#14

No, I doubt there is one (but am far from an expert on the localle stuff). I think the change is all or nothing (or at least everything that has localle support) and probably requires a boot to change it but as far as I know it is a boot time option so you should (with the note I haven’t done it) be able to switch languages with a boot and then switch back.


#15

Try


#16

In terminal try typing
export LANG=C

Do both versions 0.9.2b and 0.9.3b of fritzing segfualt the same way?


#17

Yes, both segfault the same way.


#18

Is openssl installed on the system? I see were in one Google post the lib lbsssl- was installed and it fixed their problem.

Just a thought.


#19

did you ever try by chance?

sudo apt-get build-dep fritzing


#20

I got libssl1.0.0 installed on version 1.0.2g-1ubuntu9.
And openssl is also installed on version 1.0.2g-1ubuntu9.