Comments (5)
Thanks for the prompt code repair, NeroBurner ! I made a clean start of the /usr/viewtouch/dat directory and was able to determine that the first of the two Code Errors I made mention of here seems to be a file corruption issue. I intend to issue a new microSD image soon to rectify this problem.
from viewtouch.
Can't reproduce segfault 1
Segfault 2 is because Page 13 has no last label entry and my Str
class doesn't like nullptr
as argument to Set(const char*)
. What is the expected behavior on this page for the last form? I would either set the label to an empty string, then the input field is visible, but has no label on the left (see screenshot below). Or I could disable the form in this case and there would be no last entry visible
The line with the segfault:
Line 73 in 4404676
f->label.Set(PhraseData[idx].text);
PhraseData[idx].text
is a nullptr
from viewtouch.
I did some more digging for the second segfault: I recommend to update the PhraseData for this page 13 by removing the following line:
Line 243 in 4404676
The FamilyName[31]
entry is a reference to NULL
, (last entry of the following block):
Lines 297 to 307 in 4404676
from viewtouch.
Page 13 of 16 with labels.cc
updated
from viewtouch.
reopen for the first segfault in "Receipts Balance" not yet fixed
from viewtouch.
Related Issues (20)
- Broken on FreeBSD: license_hash.cc HOT 9
- The 'install' target fails: file INSTALL cannot find "/usr/ports/misc/viewtouch/work/viewtouch-19.04.1/dat" HOT 4
- Please do not install the 'date' library HOT 1
- Add BSD to CI HOT 1
- [suggestion] You need to segragate read-only vs. writeable directories, and make the installed structure unix-like HOT 2
- Users have to once again Clock In when ViewTouch exits and is restarted. HOT 3
- If running ViewTouch on 64-bit Linux HOT 2
- Android X Server Update: July 10, 2020
- Running GDB (the GNU Debugger): Update
- New Wiki Pages > Building One's Custom Menu and Kitchen/Bar Video HOT 3
- The Unique Advantage of the RPi 4 in the hospitality environment: Mirrored displays
- Formatting issue: An extra line and line feed is issued at the top of some buttons HOT 1
- A couple of small omissions during startup reported in the file: error_log.txt
- Add GitHub Actions for better CI integration HOT 1
- Transfer of user data files in /usr/viewtouch/dat to another Raspberry Pi can cause a program failure HOT 1
- After copying VT /dat to Raspberry Pi, Revenu shows on wrong day HOT 3
- Add GCC 11 to CI build matrix
- Error compiling on Ubuntu 20.04 because of old catch2.hpp HOT 3
- The Discussion Area is now open.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viewtouch.