OBSOLETE 0.9.18 released, post bugs here...

Questions specific to Megatunix - alternate tuning software that runs on unix and windows.
Note that Megatunix is obsolete.

Moderator: djandruczyk

OBSOLETE 0.9.18 released, post bugs here...

Postby djandruczyk » Sun Dec 14, 2008 9:03 pm

avail via sourceforge, see links below in my signature...

Enjoy. post bugs to this thread please..
Last edited by djandruczyk on Tue Jun 08, 2010 8:21 am, edited 2 times in total.
Reason: locking thread
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby johntramp » Mon Dec 15, 2008 6:16 pm

Hey. MTX crashes for me when I try use offline mode.

Code: Select all
$ megatunix -rsd 
debug option "1"
version option "0"
quiet option "0"
no rttext option "1"
no status option "1"
no maingui option "0"
autolog_dump "0"
autolog_minutes "5"
autolog_dump_dir "(null)"
autolog_basename "(null)"

(megatunix:4475): libglade-WARNING **: could not find signal handler 'notebook_page_changed'.

Is this a bug or is it my fault?


Thanks for all the time you put into this. It's great software.
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Tue Dec 16, 2008 5:00 pm

johntramp wrote:Hey. MTX crashes for me when I try use offline mode.

Code: Select all
$ megatunix -rsd 
debug option "1"
version option "0"
quiet option "0"
no rttext option "1"
no status option "1"
no maingui option "0"
autolog_dump "0"
autolog_minutes "5"
autolog_dump_dir "(null)"
autolog_basename "(null)"

(megatunix:4475): libglade-WARNING **: could not find signal handler 'notebook_page_changed'.

Is this a bug or is it my fault


Thanks for all the time you put into this. It's great software.


Did you do the typical, ./configure ; make ; sudo make install in the megatunix-0.9.18 dir? (it won't run unless it's installed as it can't find it's config files....)

Hard to say, what OS, and how far along did you get in the GUI before it crashed? If you got to firmware selection, which one did you pick?
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby johntramp » Sun Dec 21, 2008 4:10 pm

Hey. I figured it out, was a stoopid mistake of mine.
Sorry :oops:
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Sun Dec 21, 2008 5:47 pm

johntramp wrote:Hey. I figured it out, was a stoopid mistake of mine.
Sorry :oops:


What was the mistake if I may ask? It would be helpful to know what you did wrong, so I cna find a way to make the build or install procedure this more clear to others who might make the same error.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby johntramp » Tue Dec 23, 2008 3:27 am

I had copied the 0.9.17 binary to /usr/bin/ and not updated it after the upgrade. Now I have created a symlink to /usr/local/bin instead. Is there a way to have it install to /usr/bin instead of /usr/local/bin?

The logviewer is still not working for me though - It is giving a 'Floating point exception' when I select any of the variables. I've tried it in debug mode too, but it didn't give any more info. I am running ArchLinux.

Cheers.
-John
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Tue Dec 23, 2008 8:49 am

johntramp wrote:I had copied the 0.9.17 binary to /usr/bin/ and not updated it after the upgrade. Now I have created a symlink to /usr/local/bin instead. Is there a way to have it install to /usr/bin instead of /usr/local/bin?

The logviewer is still not working for me though - It is giving a 'Floating point exception' when I select any of the variables. I've tried it in debug mode too, but it didn't give any more info. I am running ArchLinux.

Cheers.
-John


For the logviewer, are you using realtime mode (shows live data), or playback mode (shows from a logfile)? If from a log can you zip up the log and pm it to me?

First thing though would be to clean out the old stuff..
Code: Select all
rm -rf /usr/local/bin/dashdesigner /usr/local/bin/gaugedesigner /usr/local/bin/megatunix /usr/local/share/MegaTunix /usr/bin/megatunix

Then to make it install under /usr go to the megatunix-0.9.18 source dir and run the following:
Code: Select all
 ./configure --prefix=/usr ; make clean ; make ; sudo make install
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby johntramp » Tue Dec 23, 2008 4:03 pm

Hi.

I have removed everything and reinstalled like you recommended, but it still crashes.
The error is in realtime mode, but in playback mode it crashes aswell, except this time I get
Code: Select all
!! ERROR, bug detected,  code to detect precision in logfiles isn't written yet!!!!
 Please slap the author
when loading the logfile, then
Code: Select all
Floating point exception
when selecting variables. This happens as soon as I click any variable.

Cheers.
-John
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Tue Dec 23, 2008 5:35 pm

johntramp wrote:Hi.

I have removed everything and reinstalled like you recommended, but it still crashes.
The error is in realtime mode, but in playback mode it crashes aswell, except this time I get
Code: Select all
!! ERROR, bug detected,  code to detect precision in logfiles isn't written yet!!!!
 Please slap the author
when loading the logfile, then
Code: Select all
Floating point exception
when selecting variables. This happens as soon as I click any variable.

Cheers.
-John


Strange, i don't get the crash. What firmware does megatunix detect (see the general tab)? There's probably a bug in one of the Realtime variable map files that is specific to your firmware release.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby pinzgauer » Tue Dec 23, 2008 9:43 pm

djandruczyk wrote:
johntramp wrote:Hi.

Strange, i don't get the crash. What firmware does megatunix detect (see the general tab)? There's probably a bug in one of the Realtime variable map files that is specific to your firmware release.


I'm seeing the real time log errors with msns-extra-029y4 derived firmwares since .17 on linux. Have not confirmed this on windows. The last I successfully used realtime logs is .16.

I did not report yet as I wanted to confirm it was not my tweaked profile. (same files as 029yx, just different firmware revision & signature strings) Yes, I did update the maps & profiles at .18 due to the "api" change. Have learned to watch for changes on releases.

Have confirmed with box stock msns-extra-029y4 that the playback gives the "slap the author" precision error.

Trying to do it live causes a hard exit with no log entry once you select a variable.

Thanks, & have a good holiday!

Alan
pinzgauer
MS/Extra Newbie
 
Posts: 27
Joined: Thu Jan 20, 2005 7:01 pm
Location: Atlanta

Re: 0.9.18 released, post bugs here...

Postby johntramp » Tue Dec 23, 2008 10:58 pm

I tried installing MTX on another laptop which runs Ubuntu and got the same crash, so that would also suggest the firmware.
I am running MS/Extra hr_10e.

Would you expect the latest hr code to work fine?

Thanks
-John
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Thu Dec 25, 2008 11:12 am

johntramp wrote:I tried installing MTX on another laptop which runs Ubuntu and got the same crash, so that would also suggest the firmware.
I am running MS/Extra hr_10e.

Would you expect the latest hr code to work fine?

Thanks
-John


yes i would, and i test with that firmware on my dev machine. It would help if you recompiled thecode using the "--debug" flag to ./configure , i.e.
Code: Select all
./configure --enable-debug ; make clean ; make ; sudo make install

Then if it still crashes, run it under gdb (might need to install it with sudo apt-get install gdb) "gdb src/megatunix", type "run" at the gdb prompt to start it and when it dies, type "bt" (backtrace) to gdb and copy me all the output.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby johntramp » Thu Dec 25, 2008 7:24 pm

I just tried what you said with the playback mode. Out of GDB it didn't give any more info when it crashed in --debug mode. Here is the backtrace, but when it crashed in GDB it didn't exit the programme, it just froze the Plyback Controls window.

Code: Select all
(gdb) run
Starting program: /usr/bin/megatunix
[Thread debugging using libthread_db enabled]
[New Thread 0xb70fb710 (LWP 18423)]
[New Thread 0xb6904b90 (LWP 18424)]
[New Thread 0xb60a3b90 (LWP 18425)]
[Thread 0xb60a3b90 (LWP 18425) exited]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb70fb710 (LWP 18423)]
0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
935                             total = len < lo_width/lv_zoom ? len : lo_width/lv_zoom;
(gdb) bt
#0  0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
#1  0x08085238 in lv_configure_event (widget=0x8840ec0, event=0x0, data=0x0) at logviewer_events.c:83
#2  0x080868d3 in populate_viewer () at logviewer_gui.c:380
#3  0x08086314 in view_value_set (widget=0xa3642d0, data=0x0) at logviewer_gui.c:250
#4  0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#5  0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb76f0e5d in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#7  0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0xb7bcce1a in gtk_toggle_button_toggled () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7bcce63 in gtk_toggle_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#12 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#13 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb76f0696 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#15 0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb7a55c7a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7bccb98 in gtk_toggle_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#20 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#21 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb76f0696 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#23 0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0xb7a55d1a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7a55d53 in gtk_button_button_release () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7b093d6 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#29 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#30 0xb76f0ae5 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#31 0xb76f21eb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#32 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#33 0xb7c1df8e in gtk_widget_event_internal () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb7b01eba in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7b03277 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb799c00a in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#37 0xb7646311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb76499a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#39 0xb7649ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#40 0xb7b03759 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x0808ad0d in main (argc=1, argv=0xbff5ba74) at main.c:115



Here is the realtime mode. It also froze on the select variables window.

Code: Select all
(gdb) run
Starting program: /usr/bin/megatunix
[Thread debugging using libthread_db enabled]
[New Thread 0xb70fb710 (LWP 18423)]
[New Thread 0xb6904b90 (LWP 18424)]
[New Thread 0xb60a3b90 (LWP 18425)]
[Thread 0xb60a3b90 (LWP 18425) exited]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb70fb710 (LWP 18423)]
0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
935                             total = len < lo_width/lv_zoom ? len : lo_width/lv_zoom;
(gdb) bt
#0  0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
#1  0x08085238 in lv_configure_event (widget=0x8840ec0, event=0x0, data=0x0) at logviewer_events.c:83
#2  0x080868d3 in populate_viewer () at logviewer_gui.c:380
#3  0x08086314 in view_value_set (widget=0xa3642d0, data=0x0) at logviewer_gui.c:250
#4  0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#5  0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb76f0e5d in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#7  0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0xb7bcce1a in gtk_toggle_button_toggled () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7bcce63 in gtk_toggle_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#12 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#13 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb76f0696 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#15 0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb7a55c7a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7bccb98 in gtk_toggle_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#20 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#21 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb76f0696 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#23 0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0xb7a55d1a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7a55d53 in gtk_button_button_release () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7b093d6 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#29 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#30 0xb76f0ae5 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#31 0xb76f21eb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#32 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#33 0xb7c1df8e in gtk_widget_event_internal () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb7b01eba in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7b03277 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb799c00a in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#37 0xb7646311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb76499a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#39 0xb7649ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#40 0xb7b03759 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x0808ad0d in main (argc=1, argv=0xbff5ba74) at main.c:115


Would you like me to email my log file to you? As it's too large to attach.

Thanks for your time.
-John
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby johntramp » Thu Dec 25, 2008 7:50 pm

I just updated to MS/Extra hr_10g and still get the same problem. :cry:
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Fri Dec 26, 2008 12:33 pm

johntramp wrote:I just tried what you said with the playback mode. Out of GDB it didn't give any more info when it crashed in --debug mode. Here is the backtrace, but when it crashed in GDB it didn't exit the programme, it just froze the Plyback Controls window.

Code: Select all
(gdb) run
Starting program: /usr/bin/megatunix
[Thread debugging using libthread_db enabled]
[New Thread 0xb70fb710 (LWP 18423)]
[New Thread 0xb6904b90 (LWP 18424)]
[New Thread 0xb60a3b90 (LWP 18425)]
[Thread 0xb60a3b90 (LWP 18425) exited]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb70fb710 (LWP 18423)]
0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
935                             total = len < lo_width/lv_zoom ? len : lo_width/lv_zoom;
(gdb) bt
#0  0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
#1  0x08085238 in lv_configure_event (widget=0x8840ec0, event=0x0, data=0x0) at logviewer_events.c:83
#2  0x080868d3 in populate_viewer () at logviewer_gui.c:380
#3  0x08086314 in view_value_set (widget=0xa3642d0, data=0x0) at logviewer_gui.c:250
#4  0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#5  0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb76f0e5d in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#7  0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0xb7bcce1a in gtk_toggle_button_toggled () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7bcce63 in gtk_toggle_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#12 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#13 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb76f0696 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#15 0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb7a55c7a in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb7bccb98 in gtk_toggle_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb76ea264 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#20 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#21 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#22 0xb76f0696 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#23 0xb76f2374 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#24 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#25 0xb7a55d1a in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb7a55d53 in gtk_button_button_release () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb7b093d6 in _gtk_marshal_BOOLEAN__BOXED () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb76db359 in g_type_class_meta_marshal () from /usr/lib/libgobject-2.0.so.0
#29 0xb76dcbe3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#30 0xb76f0ae5 in signal_emit_unlocked_R () from /usr/lib/libgobject-2.0.so.0
#31 0xb76f21eb in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#32 0xb76f27d6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#33 0xb7c1df8e in gtk_widget_event_internal () from /usr/lib/libgtk-x11-2.0.so.0
#34 0xb7b01eba in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7b03277 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#36 0xb799c00a in gdk_event_dispatch () from /usr/lib/libgdk-x11-2.0.so.0
#37 0xb7646311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb76499a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#39 0xb7649ec2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#40 0xb7b03759 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x0808ad0d in main (argc=1, argv=0xbff5ba74) at main.c:115



Here is the realtime mode. It also froze on the select variables window.

Code: Select all
(gdb) run
Starting program: /usr/bin/megatunix
[Thread debugging using libthread_db enabled]
[New Thread 0xb70fb710 (LWP 18423)]
[New Thread 0xb6904b90 (LWP 18424)]
[New Thread 0xb60a3b90 (LWP 18425)]
[Thread 0xb60a3b90 (LWP 18425) exited]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0xb70fb710 (LWP 18423)]
0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935
935                             total = len < lo_width/lv_zoom ? len : lo_width/lv_zoom;
(gdb) bt
#0  0x08087d4d in trace_update (redraw_all=1) at logviewer_gui.c:935


Thanks for your time.
-John


Please run it again till it fails (under GDB). this time run the following commands:
print len
print lo_width
print lv_zoom
print total

Odds are one of those comes back as a zero and it causes the fault. Strange though that i don't get the same issue.
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Fri Dec 26, 2008 2:03 pm

nevermind, i found the issue. i fixed the problem in CVS. it turned out the lv_zoom param got initialized to zero which causes a divide by zero (floating point exception). A temporary fix is to close megatunix and edit ~/.MegaTunix/config with a text editor, find the [Logviewer] section and change "zoom" to 1. I also suggest setting the scroll_delay to 100 as well (safe defaults).
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby johntramp » Fri Dec 26, 2008 2:52 pm

Excellent! Thanks very much.
AE86 + 4age + MS2
User avatar
johntramp
Helpful MS/Extra'er
 
Posts: 111
Joined: Tue Feb 13, 2007 11:11 pm

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Mon Feb 09, 2009 5:01 pm

List of bugs fixed and new features completed for .19

Text entry handling for temperatue sensitive controls would fail to accept typed in input. Status: Fixed
Logviewer crash. Status: Fixed
numerous small crashes fixed


New features:
- MS2 Table editor (new GTK+ custom plotter widget, full AA, drag and drop graph editing)
- TCP/IP Socket (partially complete) use to the point where you can manipulate values via telnet, or via a client script.
- MS2-Extra Tooth Trigger Monitor 2/3rd implemented. (Tooth, Trigger, but not yet composite. If someone can make sense of jsmcorinta's docs on the composite logger, and decipher them to "idiot engineer" level and then explain then to me, it would be much appreciated.
- All tabs that had radio buttons now use comboboxentries (dropdown boxes) which makes many of the tabs smaller and easier to follow.
- CLI and GUI firmware loading tools (msloader, mtxloader), works for ALL firmwares, whether MS1 variants or MS2 variants
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Re: 0.9.18 released, post bugs here...

Postby Philip Lochner » Wed Feb 18, 2009 11:33 am

Dave

I use a USB-RS-232 adaptor cable on my XP PC but megatunix v18 only seems to consider com ports up to 3. My com port is 5: com5. When I type com5 into the communications page nothing happens? What should I do?

PS: You are going to have to be patient with me. This is my first real MTx experience and I WANT it to work! Once I've got it working I'm going to be bugging you to get my "AFRerror" gauges working but for now I just want to get things working.
Kind regards
Philip
'74 Jensen Interceptor 440ci (EFI'ed with MS2 and wasted spark + GM 4L60e GPIO controlled - both on Extra FW)
Philip Lochner
Super MS/Extra'er
 
Posts: 995
Joined: Thu Feb 16, 2006 6:18 am
Location: Centurion, South Africa

Re: 0.9.18 released, post bugs here...

Postby djandruczyk » Wed Feb 18, 2009 6:43 pm

Philip Lochner wrote:Dave

I use a USB-RS-232 adaptor cable on my XP PC but megatunix v18 only seems to consider com ports up to 3. My com port is 5: com5. When I type com5 into the communications page nothing happens? What should I do?

PS: You are going to have to be patient with me. This is my first real MTx experience and I WANT it to work! Once I've got it working I'm going to be bugging you to get my "AFRerror" gauges working but for now I just want to get things working.



OK, I found a bug related to that, so you can't use the gui to get around it (it causes a crash in some cases) and tends to ignore the suggested serial port in 0.9.18.
So, close megatunix, open up C:\program files\megatunix\.megatunix\config and look for the "[Serial]" section.

It should look something like this:
Code: Select all
[Serial]
autodetect_port=TRUE
potential_ports=COM1,COM2,COM3,COM4
baudrate=9600
read_wait=40
port_name=COM1


Change the "potential_ports" line to be "COM1,COM2,COM3,COM4,COM5,COM6,COM7,COM8"
you can also change "port_name=COM1" to "port_name=COM5"
David J. Andruczyk
MegaTunix author. The only non-java cross platform tuning software for MS-I/II hardware.
Where to get and how to install:
http://msextra.com/viewtopic.php?t=23080
http://sourceforge.net/projects/megatunix
User avatar
djandruczyk
MS/Extra Guru
 
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.

Next

Return to Megatunix (obsolete)

Who is online

Users browsing this forum: No registered users and 1 guest