User Contributed Dashboards
Moderator: djandruczyk
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
You don't have any backtraces, so it doesn't help too much. Are you in offline mode?? What is your EXACT workflow that you are doing from the time you run the executable? i.e. what windows do you click on, and in what order. I need an exact timeline/flow of what you're doing to see if i can replicate this, so far I've been unable to replicate your result.
what GIT hash are you running (Help->about megatunix)
what GIT hash are you running (Help->about megatunix)
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
I am in offline mode. There error occurs in this order. Launch Megatunix, Select Processor, click go offline, select firmware, click load, click the General tab, click load a dashboard, select any dashboard and click ok and the program closes.
I tried several other buttons last night and everything else did what it is supposed to do. I will take my computer to the car tonight and go online and see if I get a different result. I am not in front of my Linux machine right now so I can't check the Git hash but I can tell you I only downloaded the git on Monday 1-14-12 if that helps. I will check (Help->about megatunix) tonight as well.
I tried several other buttons last night and everything else did what it is supposed to do. I will take my computer to the car tonight and go online and see if I get a different result. I am not in front of my Linux machine right now so I can't check the Git hash but I can tell you I only downloaded the git on Monday 1-14-12 if that helps. I will check (Help->about megatunix) tonight as well.
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
superchargingmachine wrote:I am in offline mode. There error occurs in this order. Launch Megatunix, Select Processor, click go offline, select firmware, click load, click the General tab, click load a dashboard, select any dashboard and click ok and the program closes.
I tried several other buttons last night and everything else did what it is supposed to do. I will take my computer to the car tonight and go online and see if I get a different result. I am not in front of my Linux machine right now so I can't check the Git hash but I can tell you I only downloaded the git on Monday 1-14-12 if that helps. I will check (Help->about megatunix) tonight as well.
OK I can't replicate that fault using your info, so I need more detailed information.
What ECU persona did you choose?
Which firmware variant did you choose?
which EXACT dashboard did you choose?, is it a stock Mtx provided one, or once of your own custom ones?
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
I just took the computer to the garage and tried to connect. I couldn't get connected. I tried /dev/ttyS0 and S1. I switched to Windows and conncected no problem on com1. I have a computer with a DB9 serial port so I'm not using an adaptor. I am assuming that I am doing something wrong since I am new to Linux.
To answer your questions. I have configured for both MS1 Extra 29yx and MS2 Extra 3.10 as these are the 2 systems I am currently working with. I get the error trying to load any of the standard mtx dashboards. I'm using megatunix 0.9.24-SNAPSHOT-1263-GEB019a3. Git Hash: eb019a346db6d5b92b4682771e9a9cffa8e381c8
Thank you for your time but I'm not sure there is much else you can do to help.
To answer your questions. I have configured for both MS1 Extra 29yx and MS2 Extra 3.10 as these are the 2 systems I am currently working with. I get the error trying to load any of the standard mtx dashboards. I'm using megatunix 0.9.24-SNAPSHOT-1263-GEB019a3. Git Hash: eb019a346db6d5b92b4682771e9a9cffa8e381c8
Thank you for your time but I'm not sure there is much else you can do to help.
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
Ok, I've replicated a variant of your issue. The fault seems to be within glib/GTK+ (I get it too) as the crash is in a thread that is started by GLIB, (A gthreadpool), on behalf of megatunix in part of the GtkFileChooserDialog interface. I am going to try and change some code around to see if I can get around this bug using a different instance of the filechooser object (chooserbutton vs the standard dialog which seems to be trouble prone)as the GTK+ people seem to ignore GTK+2.x, and there isn't a clean way to build mtx for GTK+3 and maintain any form of cross-platform-ness.superchargingmachine wrote:I just took the computer to the garage and tried to connect. I couldn't get connected. I tried /dev/ttyS0 and S1. I switched to Windows and conncected no problem on com1. I have a computer with a DB9 serial port so I'm not using an adaptor. I am assuming that I am doing something wrong since I am new to Linux.
To answer your questions. I have configured for both MS1 Extra 29yx and MS2 Extra 3.10 as these are the 2 systems I am currently working with. I get the error trying to load any of the standard mtx dashboards. I'm using megatunix 0.9.24-SNAPSHOT-1263-GEB019a3. Git Hash: eb019a346db6d5b92b4682771e9a9cffa8e381c8
Thank you for your time but I'm not sure there is much else you can do to help.
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
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
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
I believe I found a resolution to this problem that has been pushed up via git so cd into your MegaTunix git working dir (not the src dir) and run the following
and let me know if it solves your issue, or if anything else comes up.
Code: Select all
git pull
make
sudo make install
sudo ldconfig
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
I have been out of town all week. I will try this tonight when I get home from work. Thanks
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
Did it work out for you?superchargingmachine wrote:I have been out of town all week. I will try this tonight when I get home from work. Thanks
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
Sorry it took so long. I just did the git pull and install, No Luck. MegaTunix still crashes as soon as I select any dash. I will try and capture a video of exactly what I am doing and what happens.
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
superchargingmachine wrote:Sorry it took so long. I just did the git pull and install, No Luck. MegaTunix still crashes as soon as I select any dash. I will try and capture a video of exactly what I am doing and what happens.
the traces are more important, but I'll taak what I can get.
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
Do you want me to try running the debug version again. I'm not exactly sure how to get you the traces. I have a video but all you will see is the program close when I click open. I don't mind trying to help if you want to work on this but if you don't have time its okay.
P
P
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
Always build a debug version when you have issues.superchargingmachine wrote:Do you want me to try running the debug version again. I'm not exactly sure how to get you the traces. I have a video but all you will see is the program close when I click open. I don't mind trying to help if you want to work on this but if you don't have time its okay.
P
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
Id Target Id Frame
4 Thread 0xad5feb40 (LWP 30569) "pool" 0x00132416 in __kernel_vsyscall ()
2 Thread 0xae7aeb40 (LWP 30567) "megatunix" 0x00132416 in __kernel_vsyscall ()
* 1 Thread 0xb7fd28c0 (LWP 30564) "megatunix" 0x00132416 in __kernel_vsyscall ()
Is this correct for the backtrace? I typed "run Thread 4 bt" and got the result below. If this is correct I will do the same for Thread 2 & 1.
Starting program: /home/paul/git/MegaTunix/src/.libs/megatunix thread 4 bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
This is a debug release, Git hash: 929cb06fa72e286797c40c42304f17a1d5697108
[New Thread 0xae7aeb40 (LWP 30577)]
gc-friendly is NOT set
choose_file
parent 0x8231678
on_top TRUE
filter *.*,All Files,*.xml,XML Files
filename (null)
default_filename (null)
default_extension (null)
absolute_path (null)
default_path Dashboards
external_path (null)
shortcut_folders Dashboards
project (null)
title Select Dashboard to Open
ACTION_OPEN before gtk_file_chooser_dialog_new
[New Thread 0xaddffb40 (LWP 30578)]
[New Thread 0xad5feb40 (LWP 30579)]
after gtk_file_chooser_dialog_new
should be using system path + Dashboards
initiating dialog to run
[Thread 0xaddffb40 (LWP 30578) exited]
it returned
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument. Aborting.
Program received signal SIGABRT, Aborted.
0x00132416 in __kernel_vsyscall ()
4 Thread 0xad5feb40 (LWP 30569) "pool" 0x00132416 in __kernel_vsyscall ()
2 Thread 0xae7aeb40 (LWP 30567) "megatunix" 0x00132416 in __kernel_vsyscall ()
* 1 Thread 0xb7fd28c0 (LWP 30564) "megatunix" 0x00132416 in __kernel_vsyscall ()
Is this correct for the backtrace? I typed "run Thread 4 bt" and got the result below. If this is correct I will do the same for Thread 2 & 1.
Starting program: /home/paul/git/MegaTunix/src/.libs/megatunix thread 4 bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
This is a debug release, Git hash: 929cb06fa72e286797c40c42304f17a1d5697108
[New Thread 0xae7aeb40 (LWP 30577)]
gc-friendly is NOT set
choose_file
parent 0x8231678
on_top TRUE
filter *.*,All Files,*.xml,XML Files
filename (null)
default_filename (null)
default_extension (null)
absolute_path (null)
default_path Dashboards
external_path (null)
shortcut_folders Dashboards
project (null)
title Select Dashboard to Open
ACTION_OPEN before gtk_file_chooser_dialog_new
[New Thread 0xaddffb40 (LWP 30578)]
[New Thread 0xad5feb40 (LWP 30579)]
after gtk_file_chooser_dialog_new
should be using system path + Dashboards
initiating dialog to run
[Thread 0xaddffb40 (LWP 30578) exited]
it returned
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument. Aborting.
Program received signal SIGABRT, Aborted.
0x00132416 in __kernel_vsyscall ()
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
Good feedback, let me keep digging, as there is a nasty bug someplace that is incredibly difficult to find as the fault comes out of glib, not megatunix, but something is triggering it, and I thought I had found it, but it's back again....superchargingmachine wrote:Id Target Id Frame
4 Thread 0xad5feb40 (LWP 30569) "pool" 0x00132416 in __kernel_vsyscall ()
2 Thread 0xae7aeb40 (LWP 30567) "megatunix" 0x00132416 in __kernel_vsyscall ()
* 1 Thread 0xb7fd28c0 (LWP 30564) "megatunix" 0x00132416 in __kernel_vsyscall ()
Is this correct for the backtrace? I typed "run Thread 4 bt" and got the result below. If this is correct I will do the same for Thread 2 & 1.
Starting program: /home/paul/git/MegaTunix/src/.libs/megatunix thread 4 bt
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
This is a debug release, Git hash: 929cb06fa72e286797c40c42304f17a1d5697108
[New Thread 0xae7aeb40 (LWP 30577)]
gc-friendly is NOT set
choose_file
parent 0x8231678
on_top TRUE
filter *.*,All Files,*.xml,XML Files
filename (null)
default_filename (null)
default_extension (null)
absolute_path (null)
default_path Dashboards
external_path (null)
shortcut_folders Dashboards
project (null)
title Select Dashboard to Open
ACTION_OPEN before gtk_file_chooser_dialog_new
[New Thread 0xaddffb40 (LWP 30578)]
[New Thread 0xad5feb40 (LWP 30579)]
after gtk_file_chooser_dialog_new
should be using system path + Dashboards
initiating dialog to run
[Thread 0xaddffb40 (LWP 30578) exited]
it returned
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument. Aborting.
Program received signal SIGABRT, Aborted.
0x00132416 in __kernel_vsyscall ()
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
So did I run the thread backtrace properly then?
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
Not quite but it tells me the issue still exists.superchargingmachine wrote:So did I run the thread backtrace properly then?
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
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
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
djandruczyk wrote:Not quite but it tells me the issue still exists.superchargingmachine wrote:So did I run the thread backtrace properly then?
OK, I redid some stuff with regards to the dashboards and the file chooser..
Please run the previous command (./contrib/update-debug) and report back on behavioral changes.
git hash should be c5944a8e854e9bb4942a7eff0c122d59be3c87fb
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
Your a Hero! It works!!!! Thanks so much.
-
- MS/Extra Guru
- Posts: 1210
- Joined: Fri May 07, 2004 6:55 pm
- Location: Rochester, NY, U.S.A.
- Contact:
Re: User Contributed Dashboards
Excellent! Let me know if you find any more faults, I almost EXPECT them in a few areas with regards to file choosers (table import/export, ecu backup/restore, etc) Assuming you're still on a system using Glib-2.32.x, there is a wrapper script you can try, in the src directory called "fix_glib_megatunix", which uses some magic to override the function that crashes within GLIB. if you run "sh ./fix_glib_megatunix" in the src directory it'll run with the fix in place, and is a good way to see if glib is REALLY the fault. (its entirely possible that other crashes are not the fault of glib)superchargingmachine wrote:Your a Hero! It works!!!! Thanks so much.
Thanks for all your help!
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
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
-
- Experienced MS/Extra'er
- Posts: 348
- Joined: Tue May 04, 2004 3:46 pm
- Location: Illinois, Central
Re: User Contributed Dashboards
Is the source directory normally /usr/bin/ for executable programs in Linux? I will play around with the program some more over the next few days and see if I can produce any errors.