Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000277TunixFreeEMS Pluginpublic2011-09-26 16:302011-11-16 14:20
ReporterFred 
Assigned ToFred 
PrioritylowSeverityminorReproducibilityrandom
StatusclosedResolutionunable to reproduce 
PlatformLinuxOSDebianOS VersionSid/Unstable
Product Version 
Target Version0.9.24Fixed in Version0.9.24 
Summary0000277: Connecting to FreeEMS is very hit and miss.
DescriptionSince the 100ms delay for the wee ECU was added the number of missing packets has tripled (SAME firwmare).

Additionally some of the times (maybe 50/50) it just sits there saying that interogation was fine and never progresses further. First three tabs are loaded and nothing else. Menus are responsive but empty.

Lastly, there was a HEAP (enough to clear my backscroll) of these dumped out the last time I fired it up to test:

** (megatunix:25326): CRITICAL **: get_ecu_data: assertion `(offset >= 0) && (offset < firmware->page_params[page]->length)' failed

And when I went to click on a table tab to see if the right data was in there, it segfaulted. And no, I don't have a trace, yet.

Would suggest rolling back whatever changes went in with the 100ms sleep and waiting for me to prove or disprove your bug report on the firmware before proceeding.
TagsNo tags attached.
FirmwareVersion
Attached Files

- Relationships

-  Notes
User avatar (0000310)
Fred (administrator)
2011-09-26 16:41

(gdb) run --g-fatal-warnings -p FreeEMS
Starting program: /home/fred/MegaTunix/src/.libs/megatunix --g-fatal-warnings -p FreeEMS
[Thread debugging using libthread_db enabled]
[New Thread 0xb044cb70 (LWP 25529)]
[New Thread 0xafc4bb70 (LWP 25530)]
[New Thread 0xaf44ab70 (LWP 25531)]
[New Thread 0xaec49b70 (LWP 25533)]
[Thread 0xaf44ab70 (LWP 25531) exited]

GLib-CRITICAL **: g_regex_match_full: assertion `string != NULL' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xafc4bb70 (LWP 25530)]
0xb7fe2424 in __kernel_vsyscall ()
User avatar (0000311)
Fred (administrator)
2011-09-26 16:42

It didn't get a chance to do anything, 3 tabs.
User avatar (0000312)
Fred (administrator)
2011-09-26 16:43

(gdb) run --g-fatal-warnings -p FreeEMS
Starting program: /home/fred/MegaTunix/src/.libs/megatunix --g-fatal-warnings -p FreeEMS
[Thread debugging using libthread_db enabled]
[New Thread 0xb044cb70 (LWP 25563)]
[New Thread 0xafc4bb70 (LWP 25564)]
[New Thread 0xaf44ab70 (LWP 25565)]
[New Thread 0xaec49b70 (LWP 25566)]
[Thread 0xaf44ab70 (LWP 25565) exited]
timeout, no packet found in queue for sequence 133 (85), locID 2, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 206!
timeout, no packet found in queue for sequence 198 (C6), locID 4, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 111!
timeout, no packet found in queue for sequence 182 (B6), locID 6, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 19!
timeout, no packet found in queue for sequence 157 (9D), locID 7, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 212!
timeout, no packet found in queue for sequence 42 (2A), locID 9, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 21!
timeout, no packet found in queue for sequence 200 (C8), locID 10, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 32!
timeout, no packet found in queue for sequence 238 (EE), locID 14, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 5!
timeout, no packet found in queue for sequence 86 (56), locID 258, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 228!
timeout, no packet found in queue for sequence 23 (17), locID 266, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 90!
timeout, no packet found in queue for sequence 192 (C0), locID 268, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 10!
timeout, no packet found in queue for sequence 89 (59), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 62!
timeout, no packet found in queue for sequence 48 (30), locID 36864, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 142!
[New Thread 0xaf44ab70 (LWP 25567)]
[New Thread 0xae3b2b70 (LWP 25568)]
timeout, no packet found in queue for sequence 62 (3E), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 116!
timeout, no packet found in queue for sequence 116 (74), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 252!
timeout, no packet found in queue for sequence 252 (FC), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 51!
timeout, no packet found in queue for sequence 51 (33), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 12!
timeout, no packet found in queue for sequence 12 (0C), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 143!
User avatar (0000313)
Fred (administrator)
2011-09-26 16:46

This one was when I hit the first no don't save button after the "yes fucking quit" button.

(gdb) run --g-fatal-warnings -p FreeEMS
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/fred/MegaTunix/src/.libs/megatunix --g-fatal-warnings -p FreeEMS
[Thread debugging using libthread_db enabled]
[New Thread 0xb044cb70 (LWP 25581)]
[New Thread 0xafc4bb70 (LWP 25582)]
[New Thread 0xaf44ab70 (LWP 25583)]
[New Thread 0xaec49b70 (LWP 25584)]
[Thread 0xaf44ab70 (LWP 25583) exited]
timeout, no packet found in queue for sequence 201 (C9), locID 4, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 139!
timeout, no packet found in queue for sequence 10 (0A), locID 13, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 49!
timeout, no packet found in queue for sequence 207 (CF), locID 260, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 207!
timeout, no packet found in queue for sequence 116 (74), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 127!
[New Thread 0xaf44ab70 (LWP 25585)]
[New Thread 0xae3b2b70 (LWP 25586)]
timeout, no packet found in queue for sequence 127 (7F), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 104!
timeout, no packet found in queue for sequence 104 (68), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 176!
timeout, no packet found in queue for sequence 176 (B0), locID 269, resting for 100ms to give the wee ECU time to catch up
Re-issuing command!
Re-issued command sent, seq 33!
*** glibc detected *** /home/fred/MegaTunix/src/.libs/megatunix: double free or corruption (!prev): 0x08193440 ***
======= Backtrace: =========
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6aac1)[0xb6fd6ac1]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(+0x6c328)[0xb6fd8328]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(cfree+0x6d)[0xb6fdb3dd]
/lib/libglib-2.0.so.0(g_free+0x36)[0xb71833a6]
/home/fred/MegaTunix/src/.libs/megatunix(cleanup+0x17)[0x808300c]
/home/fred/MegaTunix/src/.libs/megatunix(dealloc_message+0xdc)[0x8082317]
/home/fred/MegaTunix/src/.libs/megatunix(gui_dispatcher+0x1c1)[0x8076683]
/lib/libglib-2.0.so.0(+0x44b8c)[0xb717db8c]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d2)[0xb717c252]
/lib/libglib-2.0.so.0(+0x43a30)[0xb717ca30]
/lib/libglib-2.0.so.0(g_main_loop_run+0x183)[0xb717d0f3]
/usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0(gtk_dialog_run+0x1c4)[0xb78714d4]
======= Memory map: ========
08048000-0819f000 r-xp 00000000 08:04 6297709 /home/fred/MegaTunix/src/.libs/megatunix
0819f000-081a1000 rw-p 00156000 08:04 6297709 /home/fred/MegaTunix/src/.libs/megatunix
081a1000-08618000 rw-p 00000000 00:00 0 [heap]
ada00000-ada21000 rw-p 00000000 00:00 0
ada21000-adb00000 ---p 00000000 00:00 0
adbab000-adbb2000 r--s 00000000 08:04 5782824 /usr/lib/i386-linux-gnu/gconv/gconv-modules.cache
adbb2000-adbb3000 ---p 00000000 00:00 0
adbb3000-ae3b3000 rw-p 00000000 00:00 0
ae3b3000-ae449000 r--p 00000000 08:04 6036116 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-BoldOblique.ttf
ae449000-ae44a000 ---p 00000000 00:00 0
ae44a000-aec4a000 rw-p 00000000 00:00 0
aec4a000-aec4b000 ---p 00000000 00:00 0
aec4b000-af44b000 rw-p 00000000 00:00 0
af44b000-af44c000 ---p 00000000 00:00 0
af44c000-afc4c000 rw-p 00000000 00:00 0
afc4c000-afc4d000 ---p 00000000 00:00 0
afc4d000-b044d000 rw-p 00000000 00:00 0
b044d000-b046e000 r-xp 00000000 08:04 5907860 /usr/local/share/MegaTunix/plugins/libfreeems.so.0.0.0
b046e000-b046f000 rw-p 00021000 08:04 5907860 /usr/local/share/MegaTunix/plugins/libfreeems.so.0.0.0
b046f000-b0470000 rw-p 00000000 00:00 0
b0470000-b04d0000 rw-s 00000000 00:04 302841864 /SYSV00000000 (deleted)
b04d0000-b0575000 r--p 00000000 08:04 6029823 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
b0575000-b0593000 r--s 00000000 08:04 6167361 /usr/share/mime/mime.cache
b0593000-b0995000 r--p 00000000 08:04 6167365 /usr/share/icons/hicolor/icon-theme.cache
b0995000-b3857000 r--p 00000000 08:04 6167372 /usr/share/icons/gnome/icon-theme.cache
b3857000-b4f1f000 r--p 00000000 08:04 6167373 /usr/share/icons/nuoveXT2/icon-theme.cache
b4f1f000-b4fba000 rw-p 00000000 00:00 0
b4fba000-b506a000 r--p 00000000 08:04 6029824 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
b506a000-b506c000 r-xp 00000000 08:04 6163819 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b506c000-b506d000 rw-p 00001000 08:04 6163819 /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b506d000-b506e000 r--s 00000000 08:04 661964 /var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-le32d4.cache-3
b506e000-b5074000 r--s 00000000 08:04 660464 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-le32d4.cache-3
b5074000-b5076000 r--s 00000000 08:04 661959 /var/cache/fontconfig/ea47318ec9849e1a71e80a5d69d13859-le32d4.cache-3
b5076000-b5077000 r--s 00000000 08:04 661955 /var/cache/fontconfig/e3fa16a14183b06aa45b3e009278fd14-le32d4.cache-3
b5077000-b5079000 r--s 00000000 08:04 661952 /var/cache/fontconfig/b5ea634b0fb353b8ea17632d1f9ef766-le32d4.cache-3
b5079000-b507d000 r--s 00000000 08:04 661951 /var/cache/fontconfig/6eb3985aa4124903f6ff08ba781cd364-le32d4.cache-3
b507d000-b5084000 r--s 00000000 08:04 661943 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-le32d4.cache-3
b5084000-b5085000 r--s 00000000 08:04 661941 /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-le32d4.cache-3
b5085000-b50a7000 r--s 00000000 08:04 662055 /var/cache/fontconfig/365b55f210c0a22e9a19e35191240f32-le32d4.cache-3
b50a7000-b50b4000 r--s 00000000 08:04 659893 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-le32d4.cache-3
b50b4000-b50c4000 r--s 00000000 08:04 657676 /var/cache/fontconfig/cabbd14511b9e8a55e92af97fb3a0461-le32d4.cache-3
b50c4000-b50cc000 r--s 00000000 08:04 656437 /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-le32d4.cache-3
b50cc000-b5107000 r--s 00000000 08:04 656395 /var/cache/fontconfig/eeebfc908bd29a90773fd860017aada4-le32d4.cache-3
b5107000-b5142000 r--s 00000000 08:04 656358 /var/cache/fontconfig/21a99156bb11811cef641abeda519a45-le32d4.cache-3
b5142000-b516c000 r-xp 00000000 08:04 6166341 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b516c000-b516d000 rw-p 00029000 08:04 6166341 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
b516d000-b5177000 r-xp 00000000 08:04 524514 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
b5177000-b5178000 r--p 00009000 08:04 524514 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
b5178000-b5179000 rw-p 0000a000 08:04 524514 /lib/i386-linux-gnu/i686/cmov/libnss_files-2.13.so
b5179000-b5182000 r-xp 00000000 08:04 524497 /lib/i386-linux-gnu/i686/cmov/libnss_nis-2.13.so
b5182000-b5183000 r--p 00008000 08:04 524497 /lib/i386-linux-gnu/i686/cmov/libnss_nis-2.13.so
b5183000-b5184000 rw-p 00009000 08:04 524497 /lib/i386-linux-gnu/i686/cmov/libnss_nis-2.13.so
b5184000-b5197000 r-xp 00000000 08:04 524509 /lib/i386-linux-gnu/i686/cmov/libnsl-2.13.so
b5197000-b5198000 r--p 00012000 08:04 524509 /lib/i386-linux-gnu/i686/cmov/libnsl-2.13.so
b5198000-b5199000 rw-p 00013000 08:04 524509 /lib/i386-linux-gnu/i686/cmov/libnsl-2.13.so
b5199000-b519b000 rw-p 00000000 00:00 0
b519b000-b51a1000 r-xp 00000000 08:04 524507 /lib/i386-linux-gnu/i686/cmov/libnss_compat-2.13.so
b51a1000-b51a2000 r--p 00005000 08:04 524507 /lib/i386-linux-gnu/i686/cmov/libnss_compat-2.13.so
b51a2000-b51a3000 rw-p 00006000 08:04 524507 /lib/i386-linux-gnu/i686/cmov/libnss_compat-2.13.so
b51a3000-b53a3000 r--p 00000000 08:04 5772423 /usr/lib/locale/locale-archive
b53a3000-b53a8000 rw-p 00000000 00:00 0
b53a8000-b53ad000 r-xp 00000000 08:04 5773586 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b53ad000-b53ae000 rw-p 00004000 08:04 5773586 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0
b53ae000-b53b0000 r-xp 00000000 08:04 5773584 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b53b0000-b53b1000 rw-p 00001000 08:04 5773584 /usr/lib/i386-linux-gnu/libXau.so.6.0.0
b53b1000-b53ed000 r-xp 00000000 08:04 396885 /lib/libpcre.so.3.12.1
b53ed000-b53ee000 rw-p 0003b000 08:04 396885 /lib/libpcre.so.3.12.1
b53ee000-b53ef000 rw-p 00000000 00:00 0
b53ef000-b5413000 r-xp 00000000 08:04 5772672 /usr/lib/libexpat.so.1.5.2
b5413000-b5415000 rw-p 00023000 08:04 5772672 /usr/lib/libexpat.so.1.5.2
b5415000-b541d000 r-xp 00000000 08:04 5773842 /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
b541d000-b541e000 rw-p 00007000 08:04 5773842 /usr/lib/i386-linux-gnu/libxcb-render.so.0.0.0
b541e000-b5420000 r-xp 00000000 08:04 5773846 /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
b5420000-b5421000 rw-p 00001000 08:04 5773846 /usr/lib/i386-linux-gnu/libxcb-shm.so.0.0.0
b5421000-b5449000 r-xp 00000000 08:04 397049 /lib/i386-linux-gnu/libpng12.so.0.46.0
b5449000-b544a000 rw-p 00027000 08:04 397049 /lib/i386-linux-gnu/libpng12.so.0.46.0
b544a000-b54c9000 r-xp 00000000 08:04 5775579 /usr/lib/i386-linux-gnu/libpixman-1.so.0.22.2
b54c9000-b54cd000 rw-p 0007e000 08:04 5775579 /usr/lib/i386-linux-gnu/libpixman-1.so.0.22.2
b54cd000-b54ce000 rw-p 00000000 00:00 0
b54ce000-b54eb000 r-xp 00000000 08:04 393260 /lib/i386-linux-gnu/libselinux.so.1
b54eb000-b54ec000 r--p 0001c000 08:04 393260 /lib/i386-linux-gnu/libselinux.so.1
b54ec000-b54ed000 rw-p 0001d000 08:04 393260 /lib/i386-linux-gnu/libselinux.so.1
b54ed000-b54fd000 r-xp 00000000 08:04 524506 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
b54fd000-b54fe000 r--p 00010000 08:04 524506 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
b54fe000-b54ff000 rw-p 00011000 08:04 524506 /lib/i386-linux-gnu/i686/cmov/libresolv-2.13.so
b54ff000-b5501000 rw-p 00000000 00:00 0
b5501000-b550a000 r-xp 00000000 08:04 5773852 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b550a000-b550b000 rw-p 00008000 08:04 5773852 /usr/lib/i386-linux-gnu/libXcursor.so.1.0.2
b550b000-b5512000 r-xp 00000000 08:04 5773860 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
b5512000-b5513000 rw-p 00006000 08:04 5773860 /usr/lib/i386-linux-gnu/libXrandr.so.2.2.0
b5513000-b5514000 rw-p 00000000 00:00 0
b5514000-b5522000 r-xp 00000000 08:04 5773856 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
b5522000-b5523000 rw-p 0000d000 08:04 5773856 /usr/lib/i386-linux-gnu/libXi.so.6.1.0
b5523000-b5525000 r-xp 00000000 08:04 5773858 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
b5525000-b5526000 rw-p 00001000 08:04 5773858 /usr/lib/i386-linux-gnu/libXinerama.so.1.0.0
b5526000-b552f000 r-xp 00000000 08:04 5773850 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b552f000-b5530000 rw-p 00008000 08:04 5773850 /usr/lib/i386-linux-gnu/libXrender.so.1.3.0
b5530000-b5543000 r-xp 00000000 08:04 5770674 /usr/lib/libz.so.1.2.3.4
b5543000-b5544000 rw-p 00013000 08:04 5770674 /usr/lib/libz.so.1.2.3.4
b5544000-b5549000 r-xp 00000000 08:04 5773594 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
b5549000-b554a000 rw-p 00004000 08:04 5773594 /usr/lib/i386-linux-gnu/libXfixes.so.3.1.0
b554a000-b554b000 rw-p 00000000 00:00 0
b554b000-b554d000 r-xp 00000000 08:04 5773596 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
b554d000-b554e000 rw-p 00001000 08:04 5773596 /usr/lib/i386-linux-gnu/libXdamage.so.1.1.0
b554e000-b5550000 r-xp 00000000 08:04 5773848 /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
b5550000-b5551000 rw-p 00001000 08:04 5773848 /usr/lib/i386-linux-gnu/libXcomposite.so.1.0.0
b5551000-b556f000 r-xp 00000000 08:04 5773588 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b556f000-b5570000 rw-p 0001e000 08:04 5773588 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0
b5570000-b5573000 r-xp 00000000 08:04 393355 /lib/libuuid.so.1.3.0
b5573000-b5574000 rw-p 00002000 08:04 393355 /lib/libuuid.so.1.3.0
b5574000-b5576000 r-xp 00000000 08:04 524501 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
b5576000-b5577000 r--p 00001000 08:04 524501 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
b5577000-b5578000 rw-p 00002000 08:04 524501 /lib/i386-linux-gnu/i686/cmov/libdl-2.13.so
b5578000-b5579000 rw-p 00000000 00:00 0
b5579000-b558a000 r-xp 00000000 08:04 5773598 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b558a000-b558b000 rw-p 00010000 08:04 5773598 /usr/lib/i386-linux-gnu/libXext.so.6.4.0
b558b000-b6ded000 r-xp 00000000 08:04 5768335 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.275.09.07
b6ded000-b6e4c000 rwxp 01861000 08:04 5768335 /usr/lib/i386-linux-gnu/libnvidia-glcore.so.275.09.07
b6e4c000-b6e5d000 rwxp 00000000 00:00 0
b6e5d000-b6e5f000 r-xp 00000000 08:04 6292246 /usr/lib/i386-linux-gnu/tls/libnvidia-tls.so.275.09.07
b6e5f000-b6e60000 rw-p 00001000 08:04 6292246 /usr/lib/i386-linux-gnu/tls/libnvidia-tls.so.275.09.07
b6e60000-b6e7c000 r-xp 00000000 08:04 393230 /lib/i386-linux-gnu/libgcc_s.so.1
b6e7c000-b6e7d000 rw-p 0001b000 08:04 393230 /lib/i386-linux-gnu/libgcc_s.so.1
b6e7d000-b6f5f000 r-xp 00000000 08:04 5768327 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
b6f5f000-b6f63000 r--p 000e2000 08:04 5768327 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
b6f63000-b6f64000 rw-p 000e6000 08:04 5768327 /usr/lib/i386-linux-gnu/libstdc++.so.6.0.16
b6f64000-b6f6c000 rw-p 00000000 00:00 0
b6f6c000-b70bf000 r-xp 00000000 08:04 524513 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
b70bf000-b70c0000 ---p 00153000 08:04 524513 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
b70c0000-b70c2000 r--p 00153000 08:04 524513 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
b70c2000-b70c3000 rw-p 00155000 08:04 524513 /lib/i386-linux-gnu/i686/cmov/libc-2.13.so
b70c3000-b70c6000 rw-p 00000000 00:00 0
b70c6000-b70db000 r-xp 00000000 08:04 524498 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
b70db000-b70dc000 r--p 00014000 08:04 524498 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
b70dc000-b70dd000 rw-p 00015000 08:04 524498 /lib/i386-linux-gnu/i686/cmov/libpthread-2.13.so
b70dd000-b70df000 rw-p 00000000 00:00 0
b70df000-b7103000 r-xp 00000000 08:04 524508 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so
b7103000-b7104000 r--p 00023000 08:04 524508 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so
b7104000-b7105000 rw-p 00024000 08:04 524508 /lib/i386-linux-gnu/i686/cmov/libm-2.13.so
b7105000-b7107000 r-xp 00000000 08:04 5907856 /usr/local/lib/libmtxcombo_mask.so.0.0.0
b7107000-b7108000 rw-p 00001000 08:04 5907856 /usr/local/lib/libmtxcombo_mask.so.0.0.0
b7108000-b7120000 r-xp 00000000 08:04 5907682 /usr/local/lib/libmtxgauge.so.0.0.0
b7120000-b7121000 rw-p 00017000 08:04 5907682 /usr/local/lib/libmtxgauge.so.0.0.0
b7121000-b7122000 rw-p 00000000 00:00 0
b7122000-b7128000 r-xp 00000000 08:04 5907714 /usr/local/lib/libmtxstripchart.so.0.0.0
b7128000-b7129000 rw-p 00005000 08:04 5907714 /usr/local/lib/libmtxstripchart.so.0.0.0
Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
User avatar (0000314)
Fred (administrator)
2011-09-26 16:49

OK, the number of missing packets is directly proportional to the RPM which indicates that the serial interrupt might be getting locked out for longer than a single char, thus causing corrupt packets to be seen (with a char missing from them) and no reply to be sent. I will add a note on this to the appropriate thread.
User avatar (0000318)
Fred (administrator)
2011-09-26 18:18

Confirmed that interrupts are locking out the serial and causing receive (at ECU) only overuns. The rest of this report still applies, though.
(0000319)
dandruczyk (viewer)
2011-09-26 19:23

Wheres the gdb trace?? The glibc putput is largely useless
(0000338)
dandruczyk (viewer)
2011-09-28 13:48

issue turned out to be a firmware problem, not a MTX issue. closing
User avatar (0000341)
Fred (administrator)
2011-09-28 13:53

That is NOT true. SOME of the information above was eroneous, as noted. The fundamental of having it behave weirdly was real and genuine. Perhaps it was a function of your added delays, or perhaps it's still present, but it was there. In future, do not close issues, leave them for the reporter to close when the reporter is satisfied with the result of discussions and fixes or explanations.
User avatar (0000357)
Fred (administrator)
2011-10-08 13:11

I just saw this again, but without the crash afterward. When I quit, it exited cleanly.

fred@cheetah:~/freeems-vanilla/src$ megatunix -p FreeEMS -P /dev/ttyUSB1

(megatunix:7092): GLib-CRITICAL **: g_regex_match_full: assertion `string != NULL' failed

A similar mention to the other time, but a different reference and different assertion.

It might be relevant that the device was seeing high interrupt load and missing above average packet counts. As noted, that is always going to be the case, no matter how much we optimise, it will just push the RPM threshold higher.

I have no further info on this at this time.
(0000359)
dandruczyk (viewer)
2011-10-08 14:30

If u run under gdb with the contrib script it shpuld stop at that error to see what its unhappy with
User avatar (0000360)
Fred (administrator)
2011-10-08 15:13

OK, I'll try to reproduce it after lunch.
(0000442)
dandruczyk (viewer)
2011-10-23 19:26

Fred needs to test this.
User avatar (0000590)
Fred (administrator)
2011-11-16 14:20

I no longer see this behaviour. It was likely fixed in some previous commit. Closing.


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker