HansR
October 25, 2026, 8:59am
1
I’m installing Vangelis Stable on my 5.1 kit.
Until now everything worked as expected.
But after changing some settings in Webconf Hardware Wiring Zynthian no longer shuts down properly but restarts on an error 134.
When stopping Zynthian service the following message appears in the log, apparently there is a corrupted pointer somewhere.
Oct 25 08:36:40 zynthian systemd[1]: Stopping zynthian.service - Zynthian User Interface...
Oct 25 08:36:41 zynthian startx[2045]: ====================== ZYNSEQ MIMALLOC STATS ====================
Oct 25 08:36:41 zynthian startx[2045]: heap stats: peak total freed current unit count
Oct 25 08:36:41 zynthian startx[2045]: reserved: 1.0 GiB 1.0 GiB 64.2 KiB 1.0 GiB
Oct 25 08:36:41 zynthian startx[2045]: committed: 3.4 MiB 3.6 MiB 2.0 MiB 1.6 MiB
Oct 25 08:36:41 zynthian startx[2045]: reset: 0
Oct 25 08:36:41 zynthian startx[2045]: purged: 1.9 MiB
Oct 25 08:36:41 zynthian startx[2045]: touched: 0 0 0 0 ok
Oct 25 08:36:41 zynthian startx[2045]: pages: 745 745 0 745
Oct 25 08:36:41 zynthian startx[2045]: -abandoned: 9 287 278 9 not all freed
Oct 25 08:36:41 zynthian startx[2045]: -reclaima: 5
Oct 25 08:36:41 zynthian startx[2045]: -reclaimf: 0
Oct 25 08:36:41 zynthian startx[2045]: -reabandon: 0
Oct 25 08:36:41 zynthian startx[2045]: -waits: 0
Oct 25 08:36:41 zynthian startx[2045]: -extended: 0
Oct 25 08:36:41 zynthian startx[2045]: -noretire: 0
Oct 25 08:36:41 zynthian startx[2045]: arenas: 1
Oct 25 08:36:41 zynthian startx[2045]: -purges: 4
Oct 25 08:36:41 zynthian startx[2045]: mmap calls: 2
Oct 25 08:36:41 zynthian startx[2045]: -commit: 0
Oct 25 08:36:41 zynthian startx[2045]: -reset: 0
Oct 25 08:36:41 zynthian startx[2045]: -purge: 17
Oct 25 08:36:41 zynthian startx[2045]: guarded: 0
Oct 25 08:36:41 zynthian startx[2045]: threads: 1 2 2 0 ok
Oct 25 08:36:41 zynthian startx[2045]: searches: 0.0 avg
Oct 25 08:36:41 zynthian startx[2045]: numa nodes: 8
Oct 25 08:36:41 zynthian startx[2045]: elapsed: 796.877 s
Oct 25 08:36:41 zynthian startx[2045]: process: user: 68.167 s, system: 51.363 s, faults: 0, rss: 250.0 MiB, commit: 3.4 MiB
Oct 25 08:36:44 zynthian startx[2045]: zynmixer_bus mixbuses ended
Oct 25 08:36:44 zynthian startx[2045]: free(): invalid pointer
Oct 25 08:36:44 zynthian startx[1250]: ./zynthian.sh: line 381: 2045 Aborted ./zynthian_main.py
Oct 25 08:36:44 zynthian startx[1250]: *******************
Oct 25 08:36:44 zynthian startx[1250]: EXIT STATUS => 134
Oct 25 08:36:44 zynthian startx[1250]: *******************
I guess this has something to do with this issue .
In the past I had a comparable problem that was fixed by running a Webconf Update again (even if there were no updates) but that no longer works.
I already went back to the original Customization Profile but that does not work either.
Any help would be greatly appreciated. I don’t want to re-flash the SD card as that would take more than 3 hours to configure everything. Plus when I am finished it starts all over…
Regards,
Hans.
Edit: UI log is here:
UIlog.zip (1.6 KB)
HansR
October 26, 2026, 11:14am
2
It looks like this is not only caused by a wiring change, but is dependent on the snapshot that is loaded.
For some snapshots the shutdown/reboot is performed normal, for others it is not and runs in an invalid pointer error 134.
These two prevent normal shutdown:
Snapshots.zip (11.7 KB)
This problem occurs only on my official V5.1 Kit. On the V5 clone everything works normal.
HansR
October 26, 2026, 1:42pm
3
I thought the problem was solved when I removed the .backup directory and last_state.zss, but the problem has returned.
It’s a pity the only message was invalid pointer because that is almost impossible to trace.
Got the same issue on a beta to stable update. After using a fresh image, the issue is no longer present.
Reported also here: ZynthianOS Vangelis Stable 2610 is released - #15 by travelrec
HansR
October 26, 2026, 5:20pm
5
For me it’s the opposite. The update from beta to stable works fine, the fresh image has the problem.
Now both have the same problem .
There is some weird bug that reacts to snapshots (and is perhaps(?) triggered by wiring changes).
I think I’ll go back to Oram for the time being.
Then, I think, it is triggered by any internal chain, FX, whatever setting and the image itself doesn’t matter whether it’s a fresh or updated one.
Hi @HansR !
How are you powering off the zynthian? UI? Console? Webconf?
Thanks!
HansR
October 28, 2026, 10:37am
8
UI, but webconf gives same effect.
reboot from shell always works ok, but then last_state is not saved.
It seems there is something wrong in the wiring functionality in Webconf.
If I don’t change wiring, eventually everything works ok, even snapshots that gave a problem earlier.
Also, when I change something in Webconf wiring (customization profile) and save it, it does not have an effect. The customization profile in /zynthian/config is changed as it should, but the changes are not effected.
I have made a workaround in my ctrldev driver, in the __init__ function I add a statement:
self.state_manager.send_cuia("RELOAD_WIRING_LAYOUT")
and then everything works as expected. Not very elegant, but I can live with it.
I just pushed a fix that capture the error 134 and try to mask it to a better error code.
This fix doesn’t fix the root cause. I need to reproduce for this. But it should prevent the infinite restart loop when powering off.
I couldn’t test it because i can’t reproduce the error, but it should work, in theory.
Regards
1 Like
HansR
October 28, 2026, 1:45pm
10
Same as always, when you point the microscope at a problem the thing starts to behave.
I only spotted one error after a lot of trying:
Oct 28 14:33:18 zynthian-d startx[1295]: ERROR:zynthian_state_manager.save_snapshot: Traceback (most recent call last):
Oct 28 14:33:18 zynthian-d startx[1295]: File "/zynthian/zynthian-ui/zyngine/zynthian_state_manager.py", line 1056, in save_snapshot
Oct 28 14:33:18 zynthian-d startx[1295]: state = self.get_state()
Oct 28 14:33:18 zynthian-d startx[1295]: File "/zynthian/zynthian-ui/zyngine/zynthian_state_manager.py", line 973, in get_state
Oct 28 14:33:18 zynthian-d startx[1295]: engine_state = engine.get_extended_config()
Oct 28 14:33:18 zynthian-d startx[1295]: File "/zynthian/zynthian-ui/zyngine/zynthian_engine_aeolus.py", line 695, in get_extended_config
Oct 28 14:33:18 zynthian-d startx[1295]: engine_state["divisions"].append(processor.division)
Oct 28 14:33:18 zynthian-d startx[1295]: ^^^^^^^^^^^^^^^^^^
Oct 28 14:33:18 zynthian-d startx[1295]: AttributeError: 'zynthian_processor' object has no attribute 'division'
Oct 28 14:33:18 zynthian-d startx[1295]: Traceback (most recent call last):
Oct 28 14:33:18 zynthian-d startx[1295]: File "/zynthian/zynthian-ui/zyngine/zynthian_state_manager.py", line 1056, in save_snapshot
Oct 28 14:33:18 zynthian-d startx[1295]: state = self.get_state()
Oct 28 14:33:18 zynthian-d startx[1295]: File "/zynthian/zynthian-ui/zyngine/zynthian_state_manager.py", line 973, in get_state
Oct 28 14:33:18 zynthian-d startx[1295]: engine_state = engine.get_extended_config()
Oct 28 14:33:18 zynthian-d startx[1295]: File "/zynthian/zynthian-ui/zyngine/zynthian_engine_aeolus.py", line 695, in get_extended_config
Oct 28 14:33:18 zynthian-d startx[1295]: engine_state["divisions"].append(processor.division)
Oct 28 14:33:18 zynthian-d startx[1295]: ^^^^^^^^^^^^^^^^^^
Oct 28 14:33:18 zynthian-d startx[1295]: AttributeError: 'zynthian_processor' object has no attribute 'division'
Oct 28 14:33:18 zynthian-d startx[1295]: ERROR:zynthian_state_manager.save_snapshot: Can't save snapshot file '/zynthian/zynthian-my-data/snapshots/last_state.zss': 'zynthian_processor' object has no attribute 'division'
Oct 28 14:33:20 zynthian-d startx[1295]: ====================== ZYNSEQ MIMALLOC STATS ====================
Oct 28 14:33:20 zynthian-d startx[1295]: heap stats: peak total freed current unit count
Oct 28 14:33:20 zynthian-d startx[1295]: reserved: 1.0 GiB 1.0 GiB 64.2 KiB 1.0 GiB
Oct 28 14:33:20 zynthian-d startx[1295]: committed: 3.2 MiB 3.6 MiB 2.1 MiB 1.5 MiB
Oct 28 14:33:20 zynthian-d startx[1295]: reset: 0
Oct 28 14:33:20 zynthian-d startx[1295]: purged: 2.1 MiB
Oct 28 14:33:20 zynthian-d startx[1295]: touched: 0 0 0 0 ok
Oct 28 14:33:20 zynthian-d startx[1295]: pages: 1.2 Ki 1.2 Ki 0 1.2 Ki
Oct 28 14:33:20 zynthian-d startx[1295]: -abandoned: 9 479 470 9 not all freed
Oct 28 14:33:20 zynthian-d startx[1295]: -reclaima: 5
Oct 28 14:33:20 zynthian-d startx[1295]: -reclaimf: 0
Oct 28 14:33:20 zynthian-d startx[1295]: -reabandon: 1
Oct 28 14:33:20 zynthian-d startx[1295]: -waits: 0
Oct 28 14:33:20 zynthian-d startx[1295]: -extended: 0
Oct 28 14:33:20 zynthian-d startx[1295]: -noretire: 0
Oct 28 14:33:20 zynthian-d startx[1295]: arenas: 1
Oct 28 14:33:20 zynthian-d startx[1295]: -purges: 5
Oct 28 14:33:20 zynthian-d startx[1295]: mmap calls: 2
Oct 28 14:33:20 zynthian-d startx[1295]: -commit: 0
Oct 28 14:33:20 zynthian-d startx[1295]: -reset: 0
Oct 28 14:33:20 zynthian-d startx[1295]: -purge: 34
Oct 28 14:33:20 zynthian-d startx[1295]: guarded: 0
Oct 28 14:33:20 zynthian-d startx[1295]: threads: 1 2 2 0 ok
Oct 28 14:33:20 zynthian-d startx[1295]: searches: 0.0 avg
Oct 28 14:33:20 zynthian-d startx[1295]: numa nodes: 8
Oct 28 14:33:20 zynthian-d startx[1295]: elapsed: 201.703 s
Oct 28 14:33:20 zynthian-d startx[1295]: process: user: 17.331 s, system: 9.166 s, faults: 89, rss: 255.4 MiB, commit: 3.2 MiB
I will keep trying. When I find something else I’ll let you know.
HansR
October 28, 2026, 2:38pm
11
I got the error back,
I replaced zynthian_main.py with the one you changed, but the log stays the same (yes, I rebooted to activate the new version).
Oct 28 15:32:00 zynthian systemd[1]: Finished man-db.service - Daily man-db regeneration.
Oct 28 15:32:17 zynthian startx[1304]: ====================== ZYNSEQ MIMALLOC STATS ====================
Oct 28 15:32:17 zynthian startx[1304]: heap stats: peak total freed current unit count
Oct 28 15:32:17 zynthian startx[1304]: reserved: 1.0 GiB 1.0 GiB 64.2 KiB 1.0 GiB
Oct 28 15:32:17 zynthian startx[1304]: committed: 3.2 MiB 3.6 MiB 2.4 MiB 1.2 MiB
Oct 28 15:32:17 zynthian startx[1304]: reset: 0
Oct 28 15:32:17 zynthian startx[1304]: purged: 2.3 MiB
Oct 28 15:32:17 zynthian startx[1304]: touched: 0 0 0 0 ok
Oct 28 15:32:17 zynthian startx[1304]: pages: 1.0 Ki 1.0 Ki 0 1.0 Ki
Oct 28 15:32:17 zynthian startx[1304]: -abandoned: 9 436 428 8 not all freed
Oct 28 15:32:17 zynthian startx[1304]: -reclaima: 5
Oct 28 15:32:17 zynthian startx[1304]: -reclaimf: 0
Oct 28 15:32:17 zynthian startx[1304]: -reabandon: 1
Oct 28 15:32:17 zynthian startx[1304]: -waits: 0
Oct 28 15:32:17 zynthian startx[1304]: -extended: 0
Oct 28 15:32:17 zynthian startx[1304]: -noretire: 0
Oct 28 15:32:17 zynthian startx[1304]: arenas: 1
Oct 28 15:32:17 zynthian startx[1304]: -purges: 6
Oct 28 15:32:17 zynthian startx[1304]: mmap calls: 2
Oct 28 15:32:17 zynthian startx[1304]: -commit: 0
Oct 28 15:32:17 zynthian startx[1304]: -reset: 0
Oct 28 15:32:17 zynthian startx[1304]: -purge: 34
Oct 28 15:32:17 zynthian startx[1304]: guarded: 0
Oct 28 15:32:17 zynthian startx[1304]: threads: 1 2 2 0 ok
Oct 28 15:32:17 zynthian startx[1304]: searches: 0.0 avg
Oct 28 15:32:17 zynthian startx[1304]: numa nodes: 8
Oct 28 15:32:17 zynthian startx[1304]: elapsed: 174.196 s
Oct 28 15:32:17 zynthian startx[1304]: process: user: 21.822 s, system: 11.990 s, faults: 142, rss: 255.8 MiB, commit: 3.2 MiB
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: ====================== ZYNSEQ MIMALLOC STATS ====================
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: heap stats: peak total freed current unit count
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: reserved: 1.0 GiB 1.0 GiB 64.2 KiB 1.0 GiB
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: committed: 3.2 MiB 3.6 MiB 2.4 MiB 1.2 MiB
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: reset: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: purged: 2.3 MiB
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: touched: 0 0 0 0 ok
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: pages: 1.0 Ki 1.0 Ki 0 1.0 Ki
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -abandoned: 9 436 428 8 not all freed
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -reclaima: 5
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -reclaimf: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -reabandon: 1
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -waits: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -extended: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -noretire: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: arenas: 1
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -purges: 6
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: mmap calls: 2
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -commit: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -reset: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: -purge: 34
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: guarded: 0
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: threads: 1 2 2 0 ok
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: searches: 0.0 avg
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: numa nodes: 8
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: elapsed: 174.196 s
Oct 28 15:32:17 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:17 zynthian startx[1304]: process: user: 21.822 s, system: 11.990 s, faults: 142, rss: 255.8 M iB, commit: 3.2 MiB
Oct 28 15:32:20 zynthian startx[1304]: zynmixer_bus mixbuses ended
Oct 28 15:32:20 zynthian startx[1304]: free(): invalid pointer
Oct 28 15:32:20 zynthian startx[1268]: ./zynthian.sh: line 381: 1304 Aborted ./zynthian_main.py
Oct 28 15:32:20 zynthian startx[1268]: *******************
Oct 28 15:32:20 zynthian startx[1268]: EXIT STATUS => 134
Oct 28 15:32:20 zynthian startx[1268]: *******************
Oct 28 15:32:21 zynthian startx[2114]: /zynthian/config/img/fb_zynthian_message.jpg is a 800x480 JPEG image, color space YCbCr, 3 comps, Huffman coding.
Oct 28 15:32:21 zynthian startx[2114]: Zooming image by 100%...done
Oct 28 15:32:21 zynthian startx[2114]: Merging...done
Oct 28 15:32:21 zynthian startx[2114]: Building XImage...done
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:20 zynthian startx[1304]: zynmixer_bus mixbuses ended
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:20 zynthian startx[1304]: free(): invalid pointer
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:20 zynthian startx[1268]: ./zynthian.sh: line 381: 1304 Aborted ./zynthian_main. py
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:20 zynthian startx[1268]: *******************
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:20 zynthian startx[1268]: EXIT STATUS => 134
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:20 zynthian startx[1268]: *******************
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:21 zynthian startx[2114]: /zynthian/config/img/fb_zynthian_message.jpg is a 800x480 JPEG image, c olor space YCbCr, 3 comps, Huffman coding.
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:21 zynthian startx[2114]: Zooming image by 100%...done
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:21 zynthian startx[2114]: Merging...done
Oct 28 15:32:21 zynthian zynthian_webconf.sh[1045]: INFO:root:stdout: Oct 28 15:32:21 zynthian startx[2114]: Building XImage...done
HansR
October 29, 2026, 6:11pm
12
Hi @jofemodo
Unfortunately it does not work. The output is exactly the same as before and so is the restart.
If you have other options I would be happy to try them.
rv5
October 29, 2026, 10:55pm
13
Mine seems to be doing the same.
The issue is probably fixed in tomita branch. Please, change to tomita and test.
Regards
HansR
November 4, 2026, 11:36am
15
jofemodo:
change to tomita
Sorry, can’t do that.
The problem occurs on my kit and I use that to make music, not to experiment.
I can “resolve” the problem by removing the snapshots in question (they come from Oram) and create new ones. As far as I am concerned, this can be closed.
You can change simply to test the patch and then return to vangelis.
We will merge the changes into vangelis in the next days/weeks but i would like to have confirmation from you, so we are sure the issue is fixed.
Regards,
HansR
November 5, 2026, 7:10pm
17
I’ll see if I have time this weekend.
Problem is that I first have to reproduce the error in Vangelis (I “solved” the problem by replacing the snapshots that caused the error).
If I can’t reproduce it in Vangelis I can’t say if the patch in Tomita helps.
HansR
November 6, 2026, 6:08pm
18
Hi @jofemodo
I switched to Tomita, exactly the same behaviour as in Vangelis.
Only a single free(): invalid pointer and an error 134 on certain snapshots (see below) and a restart.
No extra (debug) info or whatever.
last_state.zss (112.1 KB)
010-Piano Synth.zss (65.6 KB)
log.txt (9.5 KB)
Let’s leave it at this
C0d3man
November 6, 2026, 6:57pm
19
Just for general reference: I’m having the same problem.
2 Likes
Have you tried with tomita branch?
Anyway, i will try to reproduce with the attached snapshots.
Regards,