I am using ThreadPool executor in a do while loop as a deamon process.
At the start of every iteration i am creating newFixedThreadPool:
executor = Executors.newFixedThreadPool(5);
After the task gets finished, i am calling shutdown before the next iteration starts and the newFixedPool gets created for new 5 worker Threads.
Now while printing Log4J logs. I am using [%t] to show which threadpool getting executed.
I see for every iteration new threadpool getting created with an incremented number.
Please let me know do i need to call executor=null, before starting the next iteration?
Is the incremented threadpool indicates, threadpool getting accumulated and may result to memory leak as it's a deamon process or in the back end threadpool will be garbage collected as all threads have been completed and we already executed shutdown.
2014-06-26 16:26:11,548 [47 ] [INFO ][pool-1-thread-1] - Started processing new payments for serverID: 5
2014-06-26 16:26:11,548 [47 ] [INFO ][pool-1-thread-2] - Started processing new payments for serverID: 6
2014-06-26 16:26:11,548 [47 ] [INFO ][pool-1-thread-3] - Started processing new payments for serverID: 7
2014-06-26 16:26:11,548 [47 ] [INFO ][pool-1-thread-4] - Started processing new payments for serverID: 8
2014-06-26 16:26:11,548 [47 ] [INFO ][pool-1-thread-5] - Started processing new payments for serverID: 9
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-2] - Completed processing new payments for serverID: 6
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-5] - Completed processing new payments for serverID: 9
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-2] - Time taken to Process new payments for serverId 6 : 12 Sec
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-5] - Time taken to Process new payments for serverId 9 : 12 Sec
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-3] - Completed processing new payments for serverID: 7
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-1] - Completed processing new payments for serverID: 5
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-3] - Time taken to Process new payments for serverId 7 : 12 Sec
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-1] - Time taken to Process new payments for serverId 5 : 12 Sec
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-4] - Completed processing new payments for serverID: 8
2014-06-26 16:26:24,129 [12628 ] [INFO ][pool-1-thread-4] - Time taken to Process new payments for serverId 8 : 12 Sec
2014-06-26 16:26:24,129 [12628 ] [INFO ][main] - ShutDown complete
2014-06-26 16:26:24,129 [12628 ] [INFO ][main] - ProcessDeamon iteration finished in 0 Sec
2014-06-26 16:26:24,129 [12628 ] [INFO ][main] - ProcessDeamon iteration started
2014-06-26 16:26:24,191 [12690 ] [INFO ][pool-2-thread-1] - Started processing new payments for serverID: 5
2014-06-26 16:26:24,191 [12690 ] [INFO ][pool-2-thread-2] - Started processing new payments for serverID: 6
2014-06-26 16:26:24,191 [12690 ] [INFO ][pool-2-thread-3] - Started processing new payments for serverID: 7
2014-06-26 16:26:24,191 [12690 ] [INFO ][pool-2-thread-4] - Started processing new payments for serverID: 8
2014-06-26 16:26:24,191 [12690 ] [INFO ][pool-2-thread-5] - Started processing new payments for serverID: 9
2014-06-26 16:26:34,443 [22942 ] [INFO ][pool-2-thread-2] - Completed processing new payments for serverID: 6
2014-06-26 16:26:34,443 [22942 ] [INFO ][pool-2-thread-2] - Time taken to Process new payments for serverId 6 : 10 Sec
2014-06-26 16:26:34,490 [22989 ] [INFO ][pool-2-thread-4] - Completed processing new payments for serverID: 8
2014-06-26 16:26:34,490 [22989 ] [INFO ][pool-2-thread-3] - Completed processing new payments for serverID: 7
2014-06-26 16:26:34,490 [22989 ] [INFO ][pool-2-thread-5] - Completed processing new payments for serverID: 9
2014-06-26 16:26:34,490 [22989 ] [INFO ][pool-2-thread-4] - Time taken to Process new payments for serverId 8 : 10 Sec
2014-06-26 16:26:34,490 [22989 ] [INFO ][pool-2-thread-3] - Time taken to Process new payments for serverId 7 : 10 Sec
2014-06-26 16:26:34,490 [22989 ] [INFO ][pool-2-thread-5] - Time taken to Process new payments for serverId 9 : 10 Sec
2014-06-26 16:26:34,521 [23020 ] [INFO ][pool-2-thread-1] - Completed processing new payments for serverID: 5
2014-06-26 16:26:34,521 [23020 ] [INFO ][pool-2-thread-1] - Time taken to Process new payments for serverId 5 : 10 Sec
2014-06-26 16:26:34,521 [23020 ] [INFO ][main] - ShutDown complete
2014-06-26 16:26:34,521 [23020 ] [INFO ][main] - ProcessDeamon iteration finished in 0 Sec
2014-06-26 16:26:34,521 [23020 ] [INFO ][main] - ProcessDeamon iteration started
Do not shutdown your Threadpool but re-use it. That's the whole point in having a Threadpool: You submit Tasks into this pool and do not have to care about the thread-management. Just wait for your threads to terminate and submit the next batch of tasks into the same pool.
Related
I am trying to install Kivy on i.MX8QXP.
And the window sever is wayland.
I ues the Kivy recipe from OpenEmbedded.
After I build the image and run my app, I got error like this.
[INFO ] [GL ] OpenGL version <b'OpenGL ES-CM 1.1'>
[INFO ] [GL ] OpenGL vendor <b'Vivante Corporation'>
[INFO ] [GL ] OpenGL renderer <b'Vivante GC7000L'>
GL glGetString( name = 7938, )
[INFO ] [GL ] OpenGL parsed version: 1, 1
[CRITICAL] [GL ] Minimum required OpenGL version (2.0) NOT found!
OpenGL version detected: 1.1
Version: b'OpenGL ES-CM 1.1'
Vendor: b'Vivante Corporation'
Renderer: b'Vivante GC7000L'
Try upgrading your graphics drivers and/or your graphics hardware in case of problems.
The application will leave now.
GL glGetString( name = 35724, )
Segmentation fault
But OpenGL ES 2 is there.
root#iBox-500:~/kivyTest# locate libGLES
/usr/lib/libGLES_CL.so
/usr/lib/libGLES_CL.so.1
/usr/lib/libGLES_CL.so.1.1.0
/usr/lib/libGLES_CM.so
/usr/lib/libGLES_CM.so.1
/usr/lib/libGLES_CM.so.1.1.0
/usr/lib/libGLESv1_CL.so
/usr/lib/libGLESv1_CL.so.1
/usr/lib/libGLESv1_CL.so.1.1.0
/usr/lib/libGLESv1_CM.so
/usr/lib/libGLESv1_CM.so.1
/usr/lib/libGLESv1_CM.so.1.1.0
/usr/lib/libGLESv2.so
/usr/lib/libGLESv2.so.2
/usr/lib/libGLESv2.so.2.0.0
And the build tag for Kivy seems notrhing wrong.
* use_rpi = 0
* use_egl = 0
* use_opengl_es2 = 1
* use_opengl_mock = 0
* use_sdl2 = 1
* use_pangoft2 = 1
* use_ios = 0
* use_android = 0
* use_mesagl = 0
* use_x11 = 0
* use_wayland = 1
* use_gstreamer = 1
* use_avfoundation = 0
* use_osx_frameworks = 0
* debug_gl = 0
* kivy_sdl_gl_alpha_size = 8
* debug = False
I think is libaries link problem, but I have no idea how to fix it.
With this example, I am able to start 10 processes and then continue to do "stuff".
import random
import time
import multiprocessing
if __name__ == '__main__':
"""Demonstration of GIL-friendly asynchronous development with Python's multiprocessing module"""
def process(instance):
total_time = random.uniform(0, 2)
time.sleep(total_time)
print('Process %s : completed in %s sec' % (instance, total_time))
return instance
for i in range(10):
multiprocessing.Process(target=process, args=(i,)).start()
for i in range(2):
print("im doing stuff")
output:
>>
im doing stuff
im doing stuff
Process 8 : completed in 0.5390905372395016 sec
Process 6 : completed in 1.2313793332779521 sec
Process 2 : completed in 1.3439237625459899 sec
Process 0 : completed in 2.171809500083049 sec
Process 5 : completed in 2.6980031493633887 sec
Process 1 : completed in 3.3807358192422416 sec
Process 3 : completed in 4.597366303348297 sec
Process 7 : completed in 4.702447947943171 sec
Process 4 : completed in 4.8355495004170965 sec
Process 9 : completed in 4.9917788543156245 sec
I'd like to have a main while True loop which do data acquisition and just start a new process at each iteration (with the new data) and check if any process has finished and look at the output.
How could I verify that a process has ended and what is its return value? Edit: while processes in a list are still executing.
If I had to summarize my problem: how can I know which process is finished in a list of processes - with some still executing or new added?
I am using kivy 1.10.1 with python 3.4.2 on my raspberry pi 3 and the GUI with some buttons and labels is working fine. Now I want to update the GUI every second to show some new data (update the clock, get some values from database etc.)
The Problem:
When I start the timer the GUI is getting very slow. I tested some modifications of the code like disabling the data reading but without any effect. Everytime the timer is called, the GUI is lagging for some milliseconds.
Does anybody have some idea what's the reason for that? I am sure the hardware of my raspberry is not the problem because when I use the kivy examples (e.g. with some 3D rendering) everything is working without any lags.
Kivy details:
[INFO ] [Kivy ] v1.10.1
[INFO ] [Python ] v3.4.2 (default, Oct 19 2014, 13:31:11)
[GCC 4.9.1]
[INFO ] [Factory ] 194 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: egl_rpi
[INFO ] [GL ] Using the "OpenGL ES 2" graphics system
[INFO ] [GL ] Backend used <gl>
[INFO ] [GL ] OpenGL version <b'OpenGL ES 2.0'>
[INFO ] [GL ] OpenGL vendor <b'Broadcom'>
[INFO ] [GL ] OpenGL renderer <b'VideoCore IV HW'>
[INFO ] [GL ] OpenGL parsed version: 2, 0
[INFO ] [GL ] Shading version <b'OpenGL ES GLSL ES 1.00'>
[INFO ] [GL ] Texture max size <2048>
[INFO ] [GL ] Texture max units <8>
[INFO ] [Window ] virtual keyboard allowed, multiuser mode, not docked
[INFO ] [Text ] Provider: sdl2
[INFO ] [KivyMD ] KivyMD version: 0.1.2
Code snippet:
# Start timer in a separated thread
def start_timer_gui(self):
try:
# Test connection
if s_conn.test_serial(self) == True:
th = threading.Thread(target=self.thread_timer_gui,
args=())
th.start()
...
# Start timer (is in a separated thread)
def thread_timer_gui(self):
Clock.schedule_interval(partial(self.thread_timer_gui_methods), 1)
#timeit
# Call functions for updating gui from separated thread
def thread_timer_gui_methods(self, dt=0):
self.update_gui()
#self.get_measured_vales()
def update_gui(self):
self.emcstatebar.lbl_local_time.text = "13-03-2019 07:32"
...
I already read infos from this page https://kivy.org/doc/stable/guide/events.html but it didn't help me.
Best regards!
I found a solution. If is just update GUI elements with "schedule_interval(...)" everything is working fine. The lag occurs if I try to get measured values via "schedule_interval(...)". I changed getting values to a seperate thread with:
# Get measured values in a separated thread)
def thread_timer_values(self):
while True:
self.get_measured_vales()
time.sleep(2)
Now I can show measured values in GUI without lag!
I have nanopi2-fire. I want to use GT911 touch panel, and I change this goodix header file like this : (Line 230 -233)
// STEP_2(REQUIRED): Customize your I/O ports & I/O operations
#define GTP_RST_PORT 16 //16 //S5PV210_GPJ3(6)
#define GTP_INT_PORT 17 //17 //S5PV210_GPH1(3)
and this is s5p4418-nanopi2-common.dtsi about gt9xx tp driver said it connect to I2C0:(Line 466-473)
goodix_ts#5d {
compatible = "goodix,gt9xx";
reg = <0x5d>;
interrupt-parent = <&gpio_c>;
interrupts = <16 IRQ_TYPE_EDGE_FALLING>;
goodix,irq-gpio = <&gpio_c 16 0>;
};
and this this is defconfig for nanopi2:
# CONFIG_INPUT_MOUSE is not set
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_EDT_FT5X06=y
CONFIG_TOUCHSCREEN_FE_PANELS=y
CONFIG_TOUCHSCREEN_1WIRE=y
CONFIG_TOUCHSCREEN_GT9XX=y
CONFIG_TOUCHSCREEN_IT7260=y
CONFIG_TOUCHSCREEN_HIMAX=y
CONFIG_TOUCHSCREEN_ST1572=y
cause of this I think goodix is enabled as default.
when I crosscompile the kernel the kernel after change the gt9xx.h file and copy zImage and DTB files (as tutorials ) and put SD with run the Linux nothing changed.
I test i2c it shows me this result:
i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- UU
30: -- -- -- -- -- -- -- -- -- UU -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- 5d -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- -- --
I think my device connect to i2c correctly, but touch does not work. also this command return nothing:
dmesg | grep goodix
this is dmesg log :
[ 2.764000] ehci-exynos: EHCI EXYNOS driver
[ 2.769000] exynos-ehci c0030000.ehci: EHCI Host Controller
[ 2.775000] exynos-ehci c0030000.ehci: new USB bus registered, assigned bus number 2
[ 2.783000] exynos-ehci c0030000.ehci: irq 66, io mem 0xc0030000
[ 2.795000] exynos-ehci c0030000.ehci: USB 2.0 started, EHCI 1.00
[ 2.801000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.808000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.815000] usb usb2: Product: EHCI Host Controller
[ 2.820000] usb usb2: Manufacturer: Linux 4.4.49-s5p4418 ehci_hcd
[ 2.826000] usb usb2: SerialNumber: c0030000.ehci
[ 2.832000] hub 2-0:1.0: USB hub found
[ 2.836000] hub 2-0:1.0: 3 ports detected
[ 2.841000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.847000] ohci-exynos: OHCI EXYNOS driver
[ 2.851000] exynos-ohci c0020000.ohci: USB Host Controller
[ 2.857000] exynos-ohci c0020000.ohci: new USB bus registered, assigned bus number 3
[ 2.865000] exynos-ohci c0020000.ohci: irq 66, io mem 0xc0020000
[ 2.926000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 2.933000] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.940000] usb usb3: Product: USB Host Controller
[ 2.945000] usb usb3: Manufacturer: Linux 4.4.49-s5p4418 ohci_hcd
[ 2.951000] usb usb3: SerialNumber: c0020000.ohci
[ 2.956000] hub 3-0:1.0: USB hub found
[ 2.960000] hub 3-0:1.0: 3 ports detected
[ 2.965000] usbcore: registered new interface driver uas
[ 2.971000] usbcore: registered new interface driver usb-storage
[ 2.977000] usbcore: registered new interface driver usbserial
[ 2.983000] usbcore: registered new interface driver usbserial_generic
[ 2.990000] usbserial: USB Serial support registered for generic
[ 2.997000] mousedev: PS/2 mouse device common for all mice
[ 3.013000] input: EP0790M09 as /devices/platform/c0000000.soc/c00a6000.i2c/i2c-2/2-0038/input/input0
[ 3.023000] <<-GTP-INFO->> GTP driver installing
[ 3.034000] himax_ts 2-0048: Unable to get DevId
[ 3.039000] touchscreen-1wire initialized
[ 3.044000] backlight-1wire initialized
[ 3.050000] onewire: REQ 0x60: i2c read error -11
[ 3.056000] input: fa_ts_input as /devices/virtual/input/input1
[ 3.063000] ts-if initialized
[ 3.066000] nx-rtc c0010c00.rtc: [RTC] day=2009.09.01 time=00:00:00
[ 3.073000] nx-rtc c0010c00.rtc: rtc core: registered nx as rtc0
[ 3.079000] i2c /dev entries driver
[ 3.084000] nx-v4l2 nx-v4l2: nx_v4l2_probe success
[ 3.090000] nx-vpu c0080000.video-codec: encoder registered as /dev/video14
[ 3.097000] nx-vpu c0080000.video-codec: decoder registered as /dev/video15
[ 3.113000] device-mapper: uevent: version 1.0.3
[ 3.118000] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel#redhat.com
[ 3.127000] Bluetooth: HCI UART driver ver 2.3
[ 3.131000] Bluetooth: HCI UART protocol H4 registered
[ 3.136000] Bluetooth: HCI UART protocol BCM registered
[ 3.142000] voltage supply : vdd_arm_spu
[ 3.146000] DVFS: ASV[0] IDS(10mA, 7) Ro(110, 82)
[ 3.151000] ASV 0 = 1400000khz, 1200000 uV
[ 3.155000] ASV 1 = 1300000khz, 1160000 uV
[ 3.159000] ASV 2 = 1200000khz, 1120000 uV
[ 3.164000] ASV 3 = 1100000khz, 1080000 uV
[ 3.168000] ASV 4 = 1000000khz, 1080000 uV
[ 3.172000] ASV 5 = 900000khz, 1040000 uV
[ 3.177000] ASV 6 = 800000khz, 1040000 uV
[ 3.181000] ASV 7 = 700000khz, 1000000 uV
[ 3.186000] ASV 8 = 600000khz, 1000000 uV
[ 3.190000] ASV 9 = 500000khz, 960000 uV
[ 3.194000] ASV 10 = 400000khz, 960000 uV
[ 3.199000] c00bb000.dynamic-freq supply vdd_arm_dummy not found, using dummy regulator
[ 3.207000] DVFS: regulator vdd_arm_dummy
[ 3.211000] DVFS: cpu DVFS with PLL.1 [tables=11]
[ 3.217000] Synopsys Designware Multimedia Card Interface Driver
[ 3.224000] dwmmc_nexell c0062000.dw_mmc: fifo-depth property not found, using value of FIFOTH register as default
[ 3.234000] dwmmc_nexell c0062000.dw_mmc: IDMAC supports 32-bit address mode.
[ 3.242000] dwmmc_nexell c0062000.dw_mmc: Using internal DMA controller.
[ 3.249000] dwmmc_nexell c0062000.dw_mmc: Version ID is 250a
[ 3.254000] dwmmc_nexell c0062000.dw_mmc: DW MMC controller at irq 59,32 bit host data width,16 deep fifo
[ 3.264000] dwmmc_nexell c0062000.dw_mmc: No vmmc regulator found
[ 3.270000] dwmmc_nexell c0062000.dw_mmc: No vqmmc regulator found
[ 3.276000] dwmmc_nexell c0062000.dw_mmc: Got CD GPIO
[ 3.304000] mmc0: run _mmc_detect_change()
[ 3.308000] dwmmc_nexell c0062000.dw_mmc: 1 slots initialized
[ 3.314000] usbcore: registered new interface driver usbhid
[ 3.320000] usbhid: USB HID core driver
[ 3.324000] ashmem: initialized
[ 3.329000] nexell-adc c0053000.adc: CHs 8, 200000(1000000 ~ 130208) sample rate, scale=166(bit 6)
[ 3.342000] nexell-pcm nexell-pcm: snd pcm: register sound platform 'nexell-pcm'
[ 3.351000] nexell-i2s c0055000.i2s: snd i2s: ch 0, master, iis mode, 48000(47999)hz, 32 FBITs,
[ 3.360000] nexell-i2s c0055000.i2s: MCLK=12287880hz, RFS=256
[ 3.367000] nexell-spdif-tx c0059000.spdiftx: spdif-tx: 48000(47999)Hz, MCLK=12287880hz
[ 3.378000] nx-simple-card sound: snd-null-voice <-> c0055000.i2s mapping ok
[ 3.386000] nx-simple-card sound: dit-hifi <-> c0059000.spdiftx mapping ok
[ 3.394000] u32 classifier
[ 3.397000] Actions configured
[ 3.400000] Netfilter messages via NETLINK v0.30.
[ 3.403000] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 3.403000] mmc0: new high speed SDHC card at address aaaa
[ 3.405000] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 3.420000] mmcblk0: p1 p2
[ 3.428000] nf_conntrack version 0.5.0 (15731 buckets, 62924 max)
[ 3.435000] ctnetlink v0.93: registering with nfnetlink.
[ 3.441000] xt_time: kernel timezone is -0000
[ 3.446000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 3.451000] arp_tables: (C) 2002 David S. Miller
[ 3.456000] Initializing XFRM netlink socket
[ 3.461000] NET: Registered protocol family 10
[ 3.469000] mip6: Mobile IPv6
[ 3.472000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 3.478000] NET: Registered protocol family 17
[ 3.482000] NET: Registered protocol family 15
[ 3.487000] Bluetooth: RFCOMM TTY layer initialized
[ 3.492000] Bluetooth: RFCOMM socket layer initialized
[ 3.497000] Bluetooth: RFCOMM ver 1.11
[ 3.501000] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.506000] Bluetooth: BNEP filters: protocol multicast
[ 3.511000] Bluetooth: BNEP socket layer initialized
[ 3.516000] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.522000] Bluetooth: HIDP socket layer initialized
[ 3.528000] Key type dns_resolver registered
[ 3.532000] ThumbEE CPU extension supported.
[ 3.536000] Registering SWP/SWPB emulation handler
[ 3.543000] Loading compiled-in X.509 certificates
[ 3.550000] ntc-thermistor thermal: Thermistor type: b57330v2103 successfully probed.
[ 3.559000] input: gpio_keys as /devices/platform/gpio_keys/input/input2
[ 3.566000] nx-rtc c0010c00.rtc: setting system clock to 2009-09-01 00:00:00 UTC (1251763200)
[ 3.580000] axp22_rtcldo: disabling
[ 3.590000] axp22_dc5ldo: disabling
[ 3.600000] dhd_module_init in
[ 3.603000] dhd_wlan_init: START.......
[ 3.608000] failed to get device node of bcmdhd
[ 3.613000] dhd_wlan_init: failed to initiate GPIO, ret=-19
[ 3.618000] dhd_module_init: failed in dhd_wlan_init.
[ 3.623000] ALSA device list:
[ 3.626000] #0: nanopi2-audio
[ 3.735000] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.752000] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[ 4.137000] systemd[1]: System time before build time, advancing clock.
[ 4.243000] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[ 4.262000] systemd[1]: Detected architecture arm.
[ 4.286000] systemd[1]: Set hostname to <NanoPi2-Fire>.
[ 4.536000] systemd[1]: Reached target Encrypted Volumes.
[ 4.549000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.565000] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 4.579000] systemd[1]: Listening on Journal Audit Socket.
[ 4.592000] systemd[1]: Listening on udev Control Socket.
[ 4.603000] systemd[1]: Listening on Journal Socket.
[ 4.614000] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 4.631000] systemd[1]: Reached target Paths.
[ 4.641000] systemd[1]: Created slice System Slice.
[ 4.653000] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 4.671000] systemd[1]: Starting Set console keymap...
[ 4.686000] systemd[1]: Mounting Debug File System...
[ 4.714000] systemd[1]: Starting Load Kernel Modules...
[ 4.728000] systemd[1]: Listening on udev Kernel Socket.
[ 4.745000] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 4.766000] systemd[1]: Created slice User and Session Slice.
[ 4.780000] systemd[1]: Reached target Slices.
[ 4.795000] systemd[1]: Mounting POSIX Message Queue File System...
[ 4.809000] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.826000] systemd[1]: Starting Journal Service...
[ 4.836000] systemd[1]: Reached target Remote File Systems (Pre).
[ 4.849000] systemd[1]: Reached target Remote File Systems.
[ 4.878000] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 4.909000] systemd[1]: Mounted Debug File System.
[ 4.922000] systemd[1]: Mounted POSIX Message Queue File System.
[ 4.937000] systemd[1]: Started Set console keymap.
[ 4.949000] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
[ 4.960000] systemd[1]: Failed to start Load Kernel Modules.
[ 4.981000] systemd[1]: systemd-modules-load.service: Unit entered failed state.
[ 4.988000] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
[ 4.997000] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 5.018000] systemd[1]: Started Remount Root and Kernel File Systems.
[ 5.032000] systemd[1]: Started Journal Service.
[ 5.458000] systemd-journald[390]: Received request to flush runtime journal from PID 1
[ 5.580000] Adding 2097148k swap on /swapfile. Priority:-1 extents:18 across:3842044k SS
[ 7.755000] cfg80211: World regulatory domain updated:
[ 7.755000] cfg80211: DFS Master region: unset
[ 7.755000] cfg80211: (start_freq - end_freq # bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 7.755000] cfg80211: (2402000 KHz - 2472000 KHz # 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 7.755000] cfg80211: (2457000 KHz - 2482000 KHz # 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 7.755000] cfg80211: (2474000 KHz - 2494000 KHz # 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 7.755000] cfg80211: (5170000 KHz - 5250000 KHz # 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 7.755000] cfg80211: (5250000 KHz - 5330000 KHz # 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 7.755000] cfg80211: (5490000 KHz - 5730000 KHz # 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 7.755000] cfg80211: (5735000 KHz - 5835000 KHz # 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 7.756000] cfg80211: (57240000 KHz - 63720000 KHz # 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 7.932000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 8.313000] random: nonblocking pool is initialized
[ 12.942000] nexell-dwmac c0060000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 13.627000] NOHZ: local_softirq_pending 08
[ 14.015000] NOHZ: local_softirq_pending 08
[ 15.971000] NOHZ: local_softirq_pending 08
[ 18.637000] NOHZ: local_softirq_pending 08
[ 23.648000] NOHZ: local_softirq_pending 08
[ 28.630000] NOHZ: local_softirq_pending 08
[ 28.641000] NOHZ: local_softirq_pending 08
[ 28.658000] NOHZ: local_softirq_pending 08
[ 33.668000] NOHZ: local_softirq_pending 08
[ 36.292000] NOHZ: local_softirq_pending 08
[ 314.806000] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
Did you enable goodix_ts driver in kernel? There seems to be no trace of such driver in your dmesg (also | grep goodix either didn't work or you have sent the wrong output)... Anyway, check that drivers/input/touchscreen/gt9xx.c gets compiled.
Lotus Notes Client crashed for one of the user few days back. After that we had him install the Lotus Notes twice but the issue continues. PLease find the NSD below. It shows ntdll.EtwEventEnabled at the top of the stack trace and Access Violation as the error message but I am not able to find the resolution.
############################################################
### FATAL THREAD 1/6 [ NLNOTES:146c:17e0]
### FP=0x0012ef28, PC=0x774e224d, SP=0x0012eed8, stksize=80
### EAX=0x00000000, EBX=0xfffffffc, ECX=0x00000000, EDX=0x00000004
### ESI=0x01af05f8, EDI=0x01af05fc, CS=0x0000001b, SS=0x00000023
### DS=0x00000023, ES=0x00000023, FS=0x0000003b, GS=0x00000000 Flags=0x00010213
Exception code: c0000005 (ACCESS_VIOLATION)
############################################################
[ 1] 0x774e224d ntdll.EtwEventEnabled+458 (0,0,1af05f8,1af0428)
[ 2] 0x774e215c ntdll.EtwEventEnabled+217 (1af05f8,3,0,3b88fa0)
#[ 3] 0x10010b6d nstclientu._STCRegisterForStatusNotifications#8+93 (1af0428,701ca,3b9c880,12efa4)
#[ 4] 0x61632beb nnotesws._DeskIMRegisterForStatusNotifications#8+75 (1af0428,701ca,12f624,3b9c880)
#[ 5] 0x61801fce nnotesws.CLineView::CheckForSametimeColumn+254 (4,61b5c808,3ba9a80,0)
#[ 6] 0x612a7734 nnotesws.CLineView::ProcessMessage+7124 (3b9c880,701ca,73d,0)
#[ 7] 0x6129ea41 nnotesws.CViewSubprogram::SubMessageProc+497 (3ba9a80,73d,0,0)
#[ 8] 0x611848f4 nnotesws._MainWndProc#16+6932 (701ca,73d,0,0)
[ 9] 0x7762c4e7 USER32.gapfnScSendMessage+463 (61182de0,701ca,73d,0)
[10] 0x7762c5e7 USER32.gapfnScSendMessage+719 (0,61182de0,701ca,73d)
[11] 0x7762cc19 USER32.gapfnScSendMessage+2305 (61182de0,0,12f7a8,61221998)
[12] 0x7762cc70 USER32.DispatchMessageW+15 (12f788,612216d0,61180000,1)
#[13] 0x61221998 nnotesws._NEMMainLoop#4+712 (401000,0,1f224c,0)
#[14] 0x0040156d NLNOTES._WinMain#16+1389 (400000,0,1f224c,1)
#[15] 0x00401dfa NLNOTES._WinMainCRTStartup+308 (7ffd3000,12ffd4,7751377b,7ffd3000)
[16] 0x75cded6c kernel32.BaseThreadInitThunk+18 (7ffd3000,77764db1,0,0)
[17] 0x7751377b ntdll.RtlInitializeExceptionChain+239 (401cc6,7ffd3000,0,0)
[18] 0x7751374e ntdll.RtlInitializeExceptionChain+194 (401cc6,7ffd3000,0,78746341)
Generated Messages:
INFO (0): Using PSAPI DLL
INFO (0): Found 2 Notes processes, matched 2
INFO (0): Starting Debugger
INFO (0): Walk mem for process NLNOTES (146c)
INFO (0): Walk mem for process ntaskldr (1040)
INFO (0): terminated process [ NLNOTES:146c]
INFO (0): terminated process [ntaskldr:1040]
INFO (0): Deleting pid.nbf
WARNING (3): can't get process 342622208 status
WARNING (0): Debugger still attached to 2 processes
ERROR (4): can't attach to process [ ?:0004] - (5) Access is denied.
ERROR (0): exception(0): thread aec got system exception: ACCESS_VIOLATION (3221225477)
Thanks in Advance,
Himanshu
Based on the stack and the version number it appears to match SPR EZEL6XZ5S3. This was where Notes 6.5.3 & 6.5.5 would crash on Vista (clicking the mail icon on the welcome page).
At the time of the creation of the SPR neither versions were supported by Vista (may have changed in a later fixpack).
It was never investigated further in R6 and moved to R7/R8 where it was found to be not reproducible.
Based on this I would recommend to install the latest fixpack for that release. However R6 is end of life, so if that does not resolve the issue then the only other solution is to upgrade to a later supported release.
I see no other reports of the stack.