# Cannot Export UI in lvgl 1.3.4 linux

**URL:** <http://forum.squareline.io/t/cannot-export-ui-in-lvgl-1-3-4-linux/2580>\
**Category:** Bugs\
**Tags:** lvgl\
**Created:** [February 26, 2024, 10:09am UTC](http://forum.squareline.io/t/cannot-export-ui-in-lvgl-1-3-4-linux/2580 "2024-02-26T10:09:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![phuong98a2](http://forum.squareline.io/letter_avatar_proxy/v4/letter/p/b19c9b/32.png) [@phuong98a2](http://forum.squareline.io/u/phuong98a2)\
**Post date:** [February 26, 2024, 10:09am UTC](http://forum.squareline.io/t/cannot-export-ui-in-lvgl-1-3-4-linux/2580/1 "2024-02-26T10:09:08Z")

</div>

### What do you want to achieve?

Export UI

### What have you tried so far?

I already tried Squareline Studio old version like 1.3.3, 1.3.2, 1.3.0

### Screenshot or video

When i Export UI, usually there will be a pop up explorer ask where i want to save Export UI, instead of that, the Squareline Studio crash.

### Others

- **SquareLine Studio version:** 1.3.4
- **Operating system:** Ubuntu 22.04.3 LTS
- **Target hardware:**  
11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz × 8  
Mesa Intel® Xe Graphics (TGL GT2)  
8GB RAM

here is my log

Preloaded ‘libFileBrowser.so’  
Preloaded ‘libKS\_Diagnostics\_Process.so’  
Preloaded ‘libastyle.so’  
Display 0 ‘XWAYLAND0 15"’: 1920x1080 (primary device).  
[Physics::Module] Initialized MultithreadedJobDispatcher with {0} workers.  
Desktop is 1920 x 1080 @ 60 Hz  
Initialize engine version: 2021.3.31f1 (3409e2af086f)  
[Subsystems] Discovering subsystems at path /home/phuongnt/Downloads/SquareLine\_Studio\_Linux\_v1\_3\_4/SquareLine\_Studio\_Data/UnitySubsystems  
GfxDevice: creating device client; threaded=1; jobified=0  
Renderer: Mesa Intel(R) Xe Graphics (TGL GT2)  
Vendor: Intel  
Version: 4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1  
GLES: 0  
GL\_3DFX\_texture\_compression\_FXT1 GL\_AMD\_conservative\_depth GL\_AMD\_depth\_clamp\_separate GL\_AMD\_draw\_buffers\_blend GL\_AMD\_gpu\_shader\_int64 GL\_AMD\_multi\_draw\_indirect GL\_AMD\_performance\_monitor GL\_AMD\_pinned\_memory GL\_AMD\_query\_buffer\_object GL\_AMD\_seamless\_cubemap\_per\_texture GL\_AMD\_shader\_stencil\_export GL\_AMD\_shader\_trinary\_minmax GL\_AMD\_texture\_texture4 GL\_AMD\_vertex\_shader\_layer GL\_AMD\_vertex\_shader\_viewport\_index GL\_ANGLE\_texture\_compression\_dxt3 GL\_ANGLE\_texture\_compression\_dxt5 GL\_ARB\_ES2\_compatibility GL\_ARB\_ES3\_1\_compatibility GL\_ARB\_ES3\_2\_compatibility GL\_ARB\_ES3\_compatibility GL\_ARB\_arrays\_of\_arrays GL\_ARB\_base\_instance GL\_ARB\_blend\_func\_extended GL\_ARB\_buffer\_storage GL\_ARB\_clear\_buffer\_object GL\_ARB\_clear\_texture GL\_ARB\_clip\_control GL\_ARB\_compressed\_texture\_pixel\_storage GL\_ARB\_compute\_shader GL\_ARB\_compute\_variable\_group\_size GL\_ARB\_conditional\_render\_inverted GL\_ARB\_conservative\_depth GL\_ARB\_copy\_buffer GL\_ARB\_copy\_image GL\_ARB\_cull\_distance GL\_ARB\_debug\_output GL\_ARB\_depth\_buffer\_float GL\_ARB  
\_depth\_clamp GL\_ARB\_derivative\_control GL\_ARB\_direct\_state\_access GL\_ARB\_draw\_buffers GL\_ARB\_draw\_buffers\_blend GL\_ARB\_draw\_elements\_base\_vertex GL\_ARB\_draw\_indirect GL\_ARB\_draw\_instanced GL\_ARB\_enhanced\_layouts GL\_ARB\_explicit\_attrib\_location GL\_ARB\_explicit\_uniform\_location GL\_ARB\_fragment\_coord\_conventions GL\_ARB\_fragment\_layer\_viewport GL\_ARB\_fragment\_shader GL\_ARB\_fragment\_shader\_interlock GL\_ARB\_framebuffer\_no\_attachments GL\_ARB\_framebuffer\_object GL\_ARB\_framebuffer\_sRGB GL\_ARB\_get\_program\_binary GL\_ARB\_get\_texture\_sub\_image GL\_ARB\_gl\_spirv GL\_ARB\_gpu\_shader5 GL\_ARB\_gpu\_shader\_fp64 GL\_ARB\_gpu\_shader\_int64 GL\_ARB\_half\_float\_pixel GL\_ARB\_half\_float\_vertex GL\_ARB\_indirect\_parameters GL\_ARB\_instanced\_arrays GL\_ARB\_internalformat\_query GL\_ARB\_internalformat\_query2 GL\_ARB\_invalidate\_subdata GL\_ARB\_map\_buffer\_alignment GL\_ARB\_map\_buffer\_range GL\_ARB\_multi\_bind GL\_ARB\_multi\_draw\_indirect GL\_ARB\_occlusion\_query2 GL\_ARB\_parallel\_shader\_compile GL\_ARB\_pipeline\_statistics\_query GL\_ARB\_pixel\_buffer\_object GL\_ARB\_po  
int\_sprite GL\_ARB\_polygon\_offset\_clamp GL\_ARB\_post\_depth\_coverage GL\_ARB\_program\_interface\_query GL\_ARB\_provoking\_vertex GL\_ARB\_query\_buffer\_object GL\_ARB\_robust\_buffer\_access\_behavior GL\_ARB\_robustness GL\_ARB\_sample\_shading GL\_ARB\_sampler\_objects GL\_ARB\_seamless\_cube\_map GL\_ARB\_seamless\_cubemap\_per\_texture GL\_ARB\_separate\_shader\_objects GL\_ARB\_shader\_atomic\_counter\_ops GL\_ARB\_shader\_atomic\_counters GL\_ARB\_shader\_ballot GL\_ARB\_shader\_bit\_encoding GL\_ARB\_shader\_clock GL\_ARB\_shader\_draw\_parameters GL\_ARB\_shader\_group\_vote GL\_ARB\_shader\_image\_load\_store GL\_ARB\_shader\_image\_size GL\_ARB\_shader\_objects GL\_ARB\_shader\_precision GL\_ARB\_shader\_stencil\_export GL\_ARB\_shader\_storage\_buffer\_object GL\_ARB\_shader\_subroutine GL\_ARB\_shader\_texture\_image\_samples GL\_ARB\_shader\_texture\_lod GL\_ARB\_shader\_viewport\_layer\_array GL\_ARB\_shading\_language\_420pack GL\_ARB\_shading\_language\_include GL\_ARB\_shading\_language\_packing GL\_ARB\_spirv\_extensions GL\_ARB\_stencil\_texturing GL\_ARB\_sync GL\_ARB\_tessellation\_shader GL\_ARB\_texture\_barrier G  
L\_ARB\_texture\_buffer\_object GL\_ARB\_texture\_buffer\_object\_rgb32 GL\_ARB\_texture\_buffer\_range GL\_ARB\_texture\_compression\_bptc GL\_ARB\_texture\_compression\_rgtc GL\_ARB\_texture\_cube\_map\_array GL\_ARB\_texture\_filter\_anisotropic GL\_ARB\_texture\_float GL\_ARB\_texture\_gather GL\_ARB\_texture\_mirror\_clamp\_to\_edge GL\_ARB\_texture\_multisample GL\_ARB\_texture\_non\_power\_of\_two GL\_ARB\_texture\_query\_levels GL\_ARB\_texture\_query\_lod GL\_ARB\_texture\_rectangle GL\_ARB\_texture\_rg GL\_ARB\_texture\_rgb10\_a2ui GL\_ARB\_texture\_stencil8 GL\_ARB\_texture\_storage GL\_ARB\_texture\_storage\_multisample GL\_ARB\_texture\_swizzle GL\_ARB\_texture\_view GL\_ARB\_timer\_query GL\_ARB\_transform\_feedback2 GL\_ARB\_transform\_feedback3 GL\_ARB\_transform\_feedback\_instanced GL\_ARB\_transform\_feedback\_overflow\_query GL\_ARB\_uniform\_buffer\_object GL\_ARB\_vertex\_array\_bgra GL\_ARB\_vertex\_array\_object GL\_ARB\_vertex\_attrib\_64bit GL\_ARB\_vertex\_attrib\_binding GL\_ARB\_vertex\_buffer\_object GL\_ARB\_vertex\_shader GL\_ARB\_vertex\_type\_10f\_11f\_11f\_rev GL\_ARB\_vertex\_type\_2\_10\_10\_10\_rev GL\_ARB\_viewpor  
t\_array GL\_ATI\_blend\_equation\_separate GL\_ATI\_texture\_float GL\_EXT\_EGL\_image\_storage GL\_EXT\_EGL\_sync GL\_EXT\_abgr GL\_EXT\_blend\_equation\_separate GL\_EXT\_debug\_label GL\_EXT\_demote\_to\_helper\_invocation GL\_EXT\_depth\_bounds\_test GL\_EXT\_draw\_buffers2 GL\_EXT\_draw\_instanced GL\_EXT\_framebuffer\_blit GL\_EXT\_framebuffer\_multisample GL\_EXT\_framebuffer\_multisample\_blit\_scaled GL\_EXT\_framebuffer\_object GL\_EXT\_framebuffer\_sRGB GL\_EXT\_memory\_object GL\_EXT\_memory\_object\_fd GL\_EXT\_packed\_depth\_stencil GL\_EXT\_packed\_float GL\_EXT\_pixel\_buffer\_object GL\_EXT\_polygon\_offset\_clamp GL\_EXT\_provoking\_vertex GL\_EXT\_semaphore GL\_EXT\_semaphore\_fd GL\_EXT\_shader\_framebuffer\_fetch GL\_EXT\_shader\_framebuffer\_fetch\_non\_coherent GL\_EXT\_shader\_integer\_mix GL\_EXT\_shader\_samples\_identical GL\_EXT\_texture\_array GL\_EXT\_texture\_compression\_dxt1 GL\_EXT\_texture\_compression\_rgtc GL\_EXT\_texture\_compression\_s3tc GL\_EXT\_texture\_filter\_anisotropic GL\_EXT\_texture\_integer GL\_EXT\_texture\_sRGB GL\_EXT\_texture\_sRGB\_R8 GL\_EXT\_texture\_sRGB\_decode GL\_EXT\_texture\_shadow  
\_lod GL\_EXT\_texture\_shared\_exponent GL\_EXT\_texture\_snorm GL\_EXT\_texture\_swizzle GL\_EXT\_timer\_query GL\_EXT\_transform\_feedback GL\_EXT\_vertex\_array\_bgra GL\_EXT\_vertex\_attrib\_64bit GL\_IBM\_multimode\_draw\_arrays GL\_INTEL\_blackhole\_render GL\_INTEL\_conservative\_rasterization GL\_INTEL\_performance\_query GL\_INTEL\_shader\_atomic\_float\_minmax GL\_INTEL\_shader\_integer\_functions2 GL\_KHR\_blend\_equation\_advanced GL\_KHR\_blend\_equation\_advanced\_coherent GL\_KHR\_context\_flush\_control GL\_KHR\_debug GL\_KHR\_no\_error GL\_KHR\_parallel\_shader\_compile GL\_KHR\_robust\_buffer\_access\_behavior GL\_KHR\_robustness GL\_KHR\_texture\_compression\_astc\_ldr GL\_KHR\_texture\_compression\_astc\_sliced\_3d GL\_MESA\_framebuffer\_flip\_y GL\_MESA\_pack\_invert GL\_MESA\_shader\_integer\_functions GL\_MESA\_texture\_signed\_rgba GL\_NV\_alpha\_to\_coverage\_dither\_control GL\_NV\_compute\_shader\_derivatives GL\_NV\_conditional\_render GL\_NV\_copy\_image GL\_NV\_depth\_clamp GL\_NV\_fragment\_shader\_interlock GL\_NV\_packed\_depth\_stencil GL\_NV\_texture\_barrier GL\_OES\_EGL\_image GL\_S3\_s3tc  
OPENGL LOG: Creating OpenGL 4.6 graphics device ; Context level \<OpenGL 4.5\> ; Context handle 39485232  
Default vsync count 0  
requesting resize 1440 x 752  
resizing window to 1440 x 752  
Desktop is 1920 x 1080 @ 60 Hz  
UnloadTime: 1,018973 ms  
CurrentCulture converted to en-US  
go back to front  
\<color=#f0f\>Json.Deserialize: 0.878  
\<color=#f0f\>FastLoader.ToClass: 3.947  
\<color=#f0f\>reInitStyles: 2.676  
Connection closed  
StopServer  
Select : Screen1  
START FULL REBUILD  
Checking free port 20085  
20085: True  
StartServer  
Start lvgl server from: /home/phuongnt/Downloads/SquareLine\_Studio\_Linux\_v1\_3\_4/SquareLine\_Studio\_Data/../lvgl/lvgl\_v8\_3\_6/server/  
Try to start lvgl server from: /home/phuongnt/Downloads/SquareLine\_Studio\_Linux\_v1\_3\_4/SquareLine\_Studio\_Data/../lvgl/lvgl\_v8\_3\_6/server/ with arguments: -X heapsize = 512m server.py 400 960 20085  
Connect to 127.0.0.1 on port 20085  
START FULL REBUILD  
Connection success  
Render screen: ui\_Screen1  
Select : Screen1  
\<color=#f0f\>Json.Deserialize: 0.874  
\<color=#f0f\>FastLoader.ToClass: 1.712  
\<color=#f0f\>reInitStyles: 6.878  
Connection closed  
StopServer  
Method: GetProcessExitCode, Exception: Process must exit before requested information can be determined.  
Select : Screen1  
START FULL REBUILD  
Checking free port 20085  
20085: True  
StartServer  
Start lvgl server from: /home/phuongnt/Downloads/SquareLine\_Studio\_Linux\_v1\_3\_4/SquareLine\_Studio\_Data/../lvgl/lvgl\_v8\_3\_4/server/  
Try to start lvgl server from: /home/phuongnt/Downloads/SquareLine\_Studio\_Linux\_v1\_3\_4/SquareLine\_Studio\_Data/../lvgl/lvgl\_v8\_3\_4/server/ with arguments: -X heapsize = 512m server.py 400 960 20085  
Connect to 127.0.0.1 on port 20085  
START FULL REBUILD  
Connection success  
Render screen: ui\_Screen1  
Select : Screen1  
Caught fatal signal - signo:11 code:1 errno:0 addr:0xfffffff42a9cef60  
Obtained 33 stack frames.  
#0 0x007ff52346fa8b in PlayerMain(int, char\*\*)  
#1 0x007ff523467c77 in (Unknown)  
#2 0x007ff4e3567887 in SIGSEGVHandler(int, siginfo\_t\*, void\*)  
#3 0x007ff522242520 in \_\_sigaction  
#4 0x007ff4edda7bb6 in XDefaultRootWindow  
#5 0x007ff4e9201b98 in getWindowFromPid  
#6 0x007ff4e9201c7b in getUnityWindow  
#7 0x007ff4e9201efd in GTKOpenPanel  
#8 0x007ff4e9201dbb in DialogOpenFolderPanel  
#9 0x007ff4eb46d78a in CloseNLSocket  
#10 0x007ff4eb44f28e in CloseNLSocket  
#11 0x007ff4eb4e5470 in CloseNLSocket  
#12 0x007ff4eb4ea2ca in CloseNLSocket  
#13 0x007ff4ebe15d4b in CloseNLSocket  
#14 0x007ff4ecbe78bf in CloseNLSocket  
#15 0x007ff4ebe14b80 in CloseNLSocket  
#16 0x007ff4eb8f124a in CloseNLSocket  
#17 0x007ff4ece1d8b8 in CloseNLSocket  
#18 0x007ff4ece1ed1f in CloseNLSocket  
#19 0x007ff4ece1e77a in CloseNLSocket  
#20 0x007ff4eb40e463 in mono\_get\_string\_class  
#21 0x007ff4eb40e3bb in mono\_get\_string\_class  
#22 0x007ff5233dd16b in (Unknown)  
#23 0x007ff5233e3792 in (Unknown)  
#24 0x007ff52340003f in (Unknown)  
#25 0x007ff5230c9b96 in (Unknown)  
#26 0x007ff523239377 in (Unknown)  
#27 0x007ff523239332 in (Unknown)  
#28 0x007ff52323961c in (Unknown)  
#29 0x007ff52346955c in PlayerMain(int, char\*\*)  
#30 0x007ff522229d90 in \_\_libc\_init\_first  
#31 0x007ff522229e40 in \_\_libc\_start\_main  
#32 0x00000000201029 in (Unknown)

---

<div class="post-metadata">

**Author:** ![Hermit](http://forum.squareline.io/user_avatar/forum.squareline.io/hermit/32/971_2.png) [@Hermit](http://forum.squareline.io/u/Hermit)\
**Post date:** [February 27, 2024, 8:09am UTC](http://forum.squareline.io/t/cannot-export-ui-in-lvgl-1-3-4-linux/2580/2 "2024-02-27T08:09:30Z")

</div>

This Ubuntu file-dialog related issue has been reported several times. We couldn’t reproduce the crash in an Ubuntu, but on Debian Linux there was no file-dialog related crash ever for us. Here you can find the related posts, in the end it turned out to be an Ubuntu/system-related system issue, exact cause and what the solution was for this user is unknown yet:

> [@Ubuntu 22.04 LTS - no file dialog](https://forum.squareline.io/t/ubuntu-22-04-lts-no-file-dialog/2025/5):
>
> Is working only under root, if I run it under my user will crash every time I try to open a project, add assets…, on CTRL + s show that is saving it but in fact does not save it, the same on auto save. Is able to create the project and save it for the rest is crashing. There seems to be something wrong with permissions and catching the exception, or as user is trying to save on a wrong path that does not exists. Ubuntu 22.04.3LTS on AMD® Ryzen 9 7945hx. ./SquareLine\_Studio.x86\_64 [UnityMemo…

> [@SLS v1.3.3 on Ubuntu 22.04 LTS - crash with segmentation fault (core dump)](https://forum.squareline.io/t/sls-v1-3-3-on-ubuntu-22-04-lts-crash-with-segmentation-fault-core-dump/2054/2):
>
> Hi, we tested your use-case in LMDE (Linux Mint Debian Edition) version 5 and there the native file dialog works fine, a picture was added successfully to the assets, no SEGFAULT whatsoever. Maybe the issue is related to your specific linux distribution Ubuntu.

Maybe a look at Ubuntu forums can reveal some Nautilus file-browser issues with certain filetypes, etc:

> **[\[SOLVED\] file browser crashes](https://ubuntuforums.org/showthread.php?t=1719834)**
>
> when using the file browser it crashes (just closes doesn't freeze system or anything) when i try to look at the 
>  
> user/bin files. 
>  
> this has me worried that there is a problem with my system any ideas would be much appreciated. 
>  
> doug

You can try other filebrowsers, like PCmanFM, etc.

---

<div class="post-metadata">

**Author:** ![phuong98a2](http://forum.squareline.io/letter_avatar_proxy/v4/letter/p/b19c9b/32.png) [@phuong98a2](http://forum.squareline.io/u/phuong98a2)\
**Post date:** [February 28, 2024, 7:09am UTC](http://forum.squareline.io/t/cannot-export-ui-in-lvgl-1-3-4-linux/2580/3 "2024-02-28T07:09:19Z")

</div>

Thanks for your reply, somehow i solve this.  
I run the squareline studio shortcut at start menu is ok.  
This error only happen when i open SquareLine\_Studio.x86\_64 direct in the setup folder.

---

<div class="post-metadata">

**Author:** ![Hermit](http://forum.squareline.io/user_avatar/forum.squareline.io/hermit/32/971_2.png) [@Hermit](http://forum.squareline.io/u/Hermit)\
**Post date:** [March 1, 2024, 5:42pm UTC](http://forum.squareline.io/t/cannot-export-ui-in-lvgl-1-3-4-linux/2580/4 "2024-03-01T17:42:18Z")

</div>

Interesting. Good to know, thanks for the pointer regarding the place of execution. Might be related to the current folder / PWD then.
