Segmentation Fault (FIXED)

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

Moderator: djandruczyk

woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Segmentation Fault (FIXED)

Post by woza »

Hi. Am running the lastest modular_0.4 branch from git on OS X. mtxloader reports

Detected signature: "MS/Extra format hr_10 **********"

When trying to access the VE, Spark or AFR tables I get a segmentation fault. I've compiled with --enable-debug and the only output I get in the term is

Code: Select all

Hackintosh:MegaTunix alex$ megatunix -d -D mt.log
debug option "1"
Global debug filename"mt.log"
version option "0"
Port option "(null)"
quiet option "0"
inhibit tabs "0"
no rttext option "0"
no status option "0"
no maingui option "0"
autolog_dump "0"
autolog_minutes "5"
autolog_dump_dir "(null)"
autolog_basename "(null)"
listen mode "0"
network mode "0"
network host "(null)"
network port "0"
Segmentation fault
and nothing in the log file specified.

When running in offline mode all is well.
Last edited by woza on Mon Feb 21, 2011 4:16 am, edited 1 time in total.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

Sorry there must be confusion. if you get a segfault you need to run it under GDB.

Make sure you're using the same branch as i am
i.e.
git checkout modular_0.4
./autogen.sh --enable-debug ; make clean ; make ; sudo make install

gdb src/.libs/megatunix
at gdb prompt type "run"
make it crash, type "backtrace", and copy/paste the results to here.

Make a note here the EXACT list of events to get it to crash. (i.e. just after interrogation, after X tab loads, after I click on X, Y and Z, and so on) Context is critically important for debugging.
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
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

Sorry, my fault.

Crash occurs after I click VE Tables, Spark Tables or AFR Tables.

Error message at console after clicking VE Tables

Code: Select all

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000001bfe650
0x00000001010e1e82 in g_type_instance_get_private ()
backtrace for VE Tables

Code: Select all

#0  0x00000001010e1e82 in g_type_instance_get_private ()
#1  0x00000001009d9f14 in gdk_gc_set_subwindow ()
#2  0x0000000102191f35 in common_draw_ve_marker () at vetable_gui.c:444
#3  0x0000000100044b9e in draw_ve_marker () at vetable_gui.c:161
#4  0x000000010003b0dd in update_ve3ds (data=0x0) at runtime_gui.c:541
#5  0x000000010114806d in g_timeout_dispatch ()
#6  0x00000001011478f9 in g_main_context_dispatch ()
#7  0x000000010114af91 in g_main_context_iterate ()
#8  0x000000010114b483 in g_main_context_iteration ()
#9  0x00000001005f7b71 in gtk_main_iteration ()
#10 0x000000010001b430 in pf_dispatcher (data=0x0) at dispatcher.c:136
#11 0x000000010114806d in g_timeout_dispatch ()
#12 0x00000001011478f9 in g_main_context_dispatch ()
#13 0x000000010114af91 in g_main_context_iterate ()
#14 0x000000010114b2a5 in g_main_loop_run ()
#15 0x00000001005f7ce0 in gtk_main ()
#16 0x000000010002e44f in main (argc=1, argv=0x7fff5fbff888) at main.c:151
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

woza wrote:Sorry, my fault.

Crash occurs after I click VE Tables, Spark Tables or AFR Tables.

Error message at console after clicking VE Tables

Code: Select all

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000001bfe650
0x00000001010e1e82 in g_type_instance_get_private ()
backtrace for VE Tables

Code: Select all

#0  0x00000001010e1e82 in g_type_instance_get_private ()
#1  0x00000001009d9f14 in gdk_gc_set_subwindow ()
#2  0x0000000102191f35 in common_draw_ve_marker () at vetable_gui.c:444
#3  0x0000000100044b9e in draw_ve_marker () at vetable_gui.c:161
#4  0x000000010003b0dd in update_ve3ds (data=0x0) at runtime_gui.c:541
#5  0x000000010114806d in g_timeout_dispatch ()
#6  0x00000001011478f9 in g_main_context_dispatch ()
#7  0x000000010114af91 in g_main_context_iterate ()
#8  0x000000010114b483 in g_main_context_iteration ()
#9  0x00000001005f7b71 in gtk_main_iteration ()
#10 0x000000010001b430 in pf_dispatcher (data=0x0) at dispatcher.c:136
#11 0x000000010114806d in g_timeout_dispatch ()
#12 0x00000001011478f9 in g_main_context_dispatch ()
#13 0x000000010114af91 in g_main_context_iterate ()
#14 0x000000010114b2a5 in g_main_loop_run ()
#15 0x00000001005f7ce0 in gtk_main ()
#16 0x000000010002e44f in main (argc=1, argv=0x7fff5fbff888) at main.c:151
I have so far been unable to replicate this fault on OS-X. Are you using fink or macports, and are all of your packages up to date?

i.e. in the case of macports, run "sudo port selfupgrade ; sudo port update outdated" ( think that cmmd is correct, google if unsure)
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
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

Using Macports. It was all up to date yesterday but there were lots of updates this morning. I updated everything but now can't compile MegaTunix. I get the following error.

Code: Select all

libtool: link: cannot find the library `/opt/local/lib/libpng12.la' or unhandled argument `/opt/local/lib/libpng12.la'
make[3]: *** [megatunix] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
libpng was one of the items that was updated. There is /opt/local/lib/libpng14.la rather than /opt/local/lib/libpng12.la.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

woza wrote:Using Macports. It was all up to date yesterday but there were lots of updates this morning. I updated everything but now can't compile MegaTunix. I get the following error.

Code: Select all

libtool: link: cannot find the library `/opt/local/lib/libpng12.la' or unhandled argument `/opt/local/lib/libpng12.la'
make[3]: *** [megatunix] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
libpng was one of the items that was updated. There is /opt/local/lib/libpng14.la rather than /opt/local/lib/libpng12.la.

Try ./autogen.sh --enable-debug ; make clean ; make and see if it notices the new library and compiles.
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
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

Already tried that. And rebooted. Same error. Deleted source directory and cloned again but still same. Thanks for your input so far...

Code: Select all

/bin/sh ../libtool --tag=CC   --mode=link gcc -g -DDEBUG  -Wall  -O0   -o megatunix 3d_vetable.o about_gui.o apicheck.o args.o binlogger.o comms.o comms_gui.o combo_loader.o conversions.o core_gui.o dashboard.o dataio.o datalogging_gui.o debugging.o dispatcher.o gui_handlers.o helpers.o init.o keybinder.o keyparser.o listmgmt.o locking.o logviewer_core.o logviewer_events.o logviewer_gui.o lookuptables.o main.o menu_handlers.o mem_mgmt.o memory_gui.o mode_select.o multi_expr_loader.o notifications.o offline.o personalities.o plugin.o post_process.o raweditor.o rtv_map_loader.o rtv_processor.o runtime_gui.o runtime_sliders.o runtime_status.o runtime_text.o serialio.o stringmatch.o tabloader.o tag_loader.o threads.o timeout_handlers.o vetable_gui.o visibility.o warmwizard_gui.o watches.o widgetmgmt.o winserialio.o wrappers.o xmlcomm.o -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng14 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -R/opt/local/lib -L/opt/local/lib -lgtkglext-x11-1.0 -lgtk-x11-2.0 -latk-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgdk-x11-2.0 -lpangox-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng14 -lz -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng14 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv   ../mtxmatheval/libmtxmatheval.la -lfl ../mtxcommon/libmtxcommon.la ../widgets/libmtxprogress.la ../widgets/libmtxpie.la ../widgets/libmtxstripchart.la ../widgets/libmtxgauge.la ../widgets/libmtxcombo_mask.la  -lm   
libtool: link: cannot find the library `/opt/local/lib/libpng12.la' or unhandled argument `/opt/local/lib/libpng12.la'
make[3]: *** [megatunix] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

woza wrote:Already tried that. And rebooted. Same error. Deleted source directory and cloned again but still same. Thanks for your input so far...

Code: Select all

/bin/sh ../libtool --tag=CC   --mode=link gcc -g -DDEBUG  -Wall  -O0   -o megatunix 3d_vetable.o about_gui.o apicheck.o args.o binlogger.o comms.o comms_gui.o combo_loader.o conversions.o core_gui.o dashboard.o dataio.o datalogging_gui.o debugging.o dispatcher.o gui_handlers.o helpers.o init.o keybinder.o keyparser.o listmgmt.o locking.o logviewer_core.o logviewer_events.o logviewer_gui.o lookuptables.o main.o menu_handlers.o mem_mgmt.o memory_gui.o mode_select.o multi_expr_loader.o notifications.o offline.o personalities.o plugin.o post_process.o raweditor.o rtv_map_loader.o rtv_processor.o runtime_gui.o runtime_sliders.o runtime_status.o runtime_text.o serialio.o stringmatch.o tabloader.o tag_loader.o threads.o timeout_handlers.o vetable_gui.o visibility.o warmwizard_gui.o watches.o widgetmgmt.o winserialio.o wrappers.o xmlcomm.o -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng14 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv   -R/opt/local/lib -L/opt/local/lib -lgtkglext-x11-1.0 -lgtk-x11-2.0 -latk-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgdk-x11-2.0 -lpangox-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lfontconfig -lexpat -lfreetype -lpng14 -lz -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv   -L/opt/local/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng14 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv   ../mtxmatheval/libmtxmatheval.la -lfl ../mtxcommon/libmtxcommon.la ../widgets/libmtxprogress.la ../widgets/libmtxpie.la ../widgets/libmtxstripchart.la ../widgets/libmtxgauge.la ../widgets/libmtxcombo_mask.la  -lm   
libtool: link: cannot find the library `/opt/local/lib/libpng12.la' or unhandled argument `/opt/local/lib/libpng12.la'
make[3]: *** [megatunix] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Strange, I have my mac updated macports now and will dig further.. thanks for the report. I'll post back here when i've come up with the reasons/solutions.
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
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

I found the solution. The port update didn't trigger gtkglext to be rebuilt, which had a linker file that referred to the old libpng. The solution is easy:

sudo port uninstall gtkglext
sudo port install gtkglext

go to MegaTunxi dir and run make ; sudo make install and it should be OK.
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
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

Thanks. Got it reinstalled ok. Still getting the segfault but only on Spark Tables Tab and VE Table Tab. AFR Table Tab now ok!?

Still ok in offline mode.

This is from the Spark Tables Tab

Code: Select all

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000005656660
0x00000001010eee82 in g_type_instance_get_private ()
(gdb) backtrace
#0  0x00000001010eee82 in g_type_instance_get_private ()
#1  0x00000001009d9f14 in gdk_gc_set_subwindow ()
#2  0x0000000102191ee5 in common_draw_ve_marker () at vetable_gui.c:444
#3  0x0000000100044aca in draw_ve_marker () at vetable_gui.c:161
#4  0x000000010003aff9 in update_ve3ds (data=0x0) at runtime_gui.c:541
#5  0x000000010115506d in g_timeout_dispatch ()
#6  0x00000001011548f9 in g_main_context_dispatch ()
#7  0x0000000101157f91 in g_main_context_iterate ()
#8  0x0000000101158483 in g_main_context_iteration ()
#9  0x00000001005f7b71 in gtk_main_iteration ()
#10 0x000000010001b1f0 in pf_dispatcher (data=0x0) at dispatcher.c:136
#11 0x000000010115506d in g_timeout_dispatch ()
#12 0x00000001011548f9 in g_main_context_dispatch ()
#13 0x0000000101157f91 in g_main_context_iterate ()
#14 0x00000001011582a5 in g_main_loop_run ()
#15 0x00000001005f7ce0 in gtk_main ()
#16 0x000000010002e396 in main (argc=1, argv=0x7fff5fbff888) at main.c:150
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

woza wrote:Thanks. Got it reinstalled ok. Still getting the segfault but only on Spark Tables Tab and VE Table Tab. AFR Table Tab now ok!?

Still ok in offline mode.

This is from the Spark Tables Tab

Code: Select all

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000005656660
0x00000001010eee82 in g_type_instance_get_private ()
(gdb) backtrace
#0  0x00000001010eee82 in g_type_instance_get_private ()
#1  0x00000001009d9f14 in gdk_gc_set_subwindow ()
#2  0x0000000102191ee5 in common_draw_ve_marker () at vetable_gui.c:444
#3  0x0000000100044aca in draw_ve_marker () at vetable_gui.c:161
#4  0x000000010003aff9 in update_ve3ds (data=0x0) at runtime_gui.c:541
#5  0x000000010115506d in g_timeout_dispatch ()
#6  0x00000001011548f9 in g_main_context_dispatch ()
#7  0x0000000101157f91 in g_main_context_iterate ()
#8  0x0000000101158483 in g_main_context_iteration ()
#9  0x00000001005f7b71 in gtk_main_iteration ()
#10 0x000000010001b1f0 in pf_dispatcher (data=0x0) at dispatcher.c:136
#11 0x000000010115506d in g_timeout_dispatch ()
#12 0x00000001011548f9 in g_main_context_dispatch ()
#13 0x0000000101157f91 in g_main_context_iterate ()
#14 0x00000001011582a5 in g_main_loop_run ()
#15 0x00000001005f7ce0 in gtk_main ()
#16 0x000000010002e396 in main (argc=1, argv=0x7fff5fbff888) at main.c:150
Thats very unusual, and I still have not been able to replicate that. Are you using the X11 from the OS-X install DVD?
The fault is on a GTK call, which makes me wonder if its a OS-X specific GTK bug.

It won't crash in offline mode as the draw_ve_marker function never runs when in offline mode.
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
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

No I am using the latest XQuartz version 2.6.0
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

woza wrote:No I am using the latest XQuartz version 2.6.0
I suspect that may be part of your issue, esp if both it and apple's X11/dev headers are there. (i.e. using headers of one but for a different X11 implementation)

Can you easily remove that and use apple's X11 on the OS-X install DVD?
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
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

Reverted to the default version of X11 (reports itself as XQuartz 2.3.6 (xorg-server 1.4.2-apple56)) but still getting the same error

Code: Select all

(gdb) run
Starting program: /Users/alex/src/MegaTunix/src/.libs/megatunix 
Reading symbols for shared libraries .++++++++++++++++++++++++++++++++++++++++++++++++++++++.......................................................................................... done
Xlib:  extension "RANDR" missing on display ":0.0".
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000059435c0
0x00000001010eee82 in g_type_instance_get_private ()
(gdb) backtrace
#0  0x00000001010eee82 in g_type_instance_get_private ()
#1  0x00000001009d9f14 in gdk_gc_set_subwindow ()
#2  0x0000000102191ee5 in common_draw_ve_marker () at vetable_gui.c:444
#3  0x0000000100044aca in draw_ve_marker () at vetable_gui.c:161
#4  0x000000010003aff9 in update_ve3ds (data=0x0) at runtime_gui.c:541
#5  0x000000010115506d in g_timeout_dispatch ()
#6  0x00000001011548f9 in g_main_context_dispatch ()
#7  0x0000000101157f91 in g_main_context_iterate ()
#8  0x0000000101158483 in g_main_context_iteration ()
#9  0x00000001005f7b71 in gtk_main_iteration ()
#10 0x000000010001b1f0 in pf_dispatcher (data=0x0) at dispatcher.c:136
#11 0x000000010115506d in g_timeout_dispatch ()
#12 0x00000001011548f9 in g_main_context_dispatch ()
#13 0x0000000101157f91 in g_main_context_iterate ()
#14 0x00000001011582a5 in g_main_loop_run ()
#15 0x00000001005f7ce0 in gtk_main ()
#16 0x000000010002e396 in main (argc=1, argv=0x7fff5fbff7d0) at main.c:150
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

woza wrote:Reverted to the default version of X11 (reports itself as XQuartz 2.3.6 (xorg-server 1.4.2-apple56)) but still getting the same error

Code: Select all

(gdb) run
Starting program: /Users/alex/src/MegaTunix/src/.libs/megatunix 
Reading symbols for shared libraries .++++++++++++++++++++++++++++++++++++++++++++++++++++++.......................................................................................... done
Xlib:  extension "RANDR" missing on display ":0.0".
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000059435c0
0x00000001010eee82 in g_type_instance_get_private ()
(gdb) backtrace
#0  0x00000001010eee82 in g_type_instance_get_private ()
#1  0x00000001009d9f14 in gdk_gc_set_subwindow ()
#2  0x0000000102191ee5 in common_draw_ve_marker () at vetable_gui.c:444
#3  0x0000000100044aca in draw_ve_marker () at vetable_gui.c:161
#4  0x000000010003aff9 in update_ve3ds (data=0x0) at runtime_gui.c:541
#5  0x000000010115506d in g_timeout_dispatch ()
#6  0x00000001011548f9 in g_main_context_dispatch ()
#7  0x0000000101157f91 in g_main_context_iterate ()
#8  0x0000000101158483 in g_main_context_iteration ()
#9  0x00000001005f7b71 in gtk_main_iteration ()
#10 0x000000010001b1f0 in pf_dispatcher (data=0x0) at dispatcher.c:136
#11 0x000000010115506d in g_timeout_dispatch ()
#12 0x00000001011548f9 in g_main_context_dispatch ()
#13 0x0000000101157f91 in g_main_context_iterate ()
#14 0x00000001011582a5 in g_main_loop_run ()
#15 0x00000001005f7ce0 in gtk_main ()
#16 0x000000010002e396 in main (argc=1, argv=0x7fff5fbff7d0) at main.c:150
I'm at sa loss as I CAN NOT replicate this at all on my macbook wiht OSX 10.6.6 (all up to date as of today) iwht current macports and all updated ports. megatunix does NOT crash for me on any of those tabs in online or offline mode, it acts normally.

since you changed X11, I would recommend try this: sudo port uninstall gtk2 gtkglext ; sudo port install gtk2 gtkglext. This will uninstall and recompile/install gtk2/gtkglext as perhaps you had it built against the other X11's headers/libs, then make clean in the megatunix dir and recompile it and retry.
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
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: Segmentation Fault

Post by 24c »

I have been watching this, but not fired up Megatunix recently, as waiting for MSExtra 3.1 support. However, I just thought I'd give it a go, as I have seen the "Segmentation fault" in the past. I am running 9.22 on a 64bit iMac running 10.6.6, there was a crash report, but I haven't saved it. I can email this to you, if of use.
segmentation_fault.png
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
woza
Helpful MS/Extra'er
Posts: 59
Joined: Tue Oct 23, 2007 11:13 am

Re: Segmentation Fault

Post by woza »

Wiped out Macports, xquartz, X11 and megatunix. Reinstalled the lot and still same error. Very strange...

When running

Code: Select all

gdb src/.libs/megatunix
I get the following

Code: Select all

GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC 2010)Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ...
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libutil/error.o" - no debug information available for "libutil/error.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libutil/glue.o" - no debug information available for "libutil/glue.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libutil/mipmap.o" - no debug information available for "libutil/mipmap.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libutil/project.o" - no debug information available for "libutil/project.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libutil/quad.o" - no debug information available for "libutil/quad.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libutil/registry.o" - no debug information available for "libutil/registry.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/dict.o" - no debug information available for "libtess/dict.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/geom.o" - no debug information available for "libtess/geom.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/memalloc.o" - no debug information available for "libtess/memalloc.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/mesh.o" - no debug information available for "libtess/mesh.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/normal.o" - no debug information available for "libtess/normal.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/priorityq.o" - no debug information available for "libtess/priorityq.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/render.o" - no debug information available for "libtess/render.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/sweep.o" - no debug information available for "libtess/sweep.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/tess.o" - no debug information available for "libtess/tess.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libtess/tessmono.o" - no debug information available for "libtess/tessmono.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/bezierEval.o" - no debug information available for "libnurbs/interface/bezierEval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/bezierPatch.o" - no debug information available for "libnurbs/interface/bezierPatch.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/bezierPatchMesh.o" - no debug information available for "libnurbs/interface/bezierPatchMesh.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/glcurveval.o" - no debug information available for "libnurbs/interface/glcurveval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/glinterface.o" - no debug information available for "libnurbs/interface/glinterface.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/glrenderer.o" - no debug information available for "libnurbs/interface/glrenderer.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/glsurfeval.o" - no debug information available for "libnurbs/interface/glsurfeval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/incurveeval.o" - no debug information available for "libnurbs/interface/incurveeval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/interface/insurfeval.o" - no debug information available for "libnurbs/interface/insurfeval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/arc.o" - no debug information available for "libnurbs/internals/arc.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/arcsorter.o" - no debug information available for "libnurbs/internals/arcsorter.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/arctess.o" - no debug information available for "libnurbs/internals/arctess.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/backend.o" - no debug information available for "libnurbs/internals/backend.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/basiccrveval.o" - no debug information available for "libnurbs/internals/basiccrveval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/basicsurfeval.o" - no debug information available for "libnurbs/internals/basicsurfeval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/bin.o" - no debug information available for "libnurbs/internals/bin.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/bufpool.o" - no debug information available for "libnurbs/internals/bufpool.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/cachingeval.o" - no debug information available for "libnurbs/internals/cachingeval.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/ccw.o" - no debug information available for "libnurbs/internals/ccw.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/coveandtiler.o" - no debug information available for "libnurbs/internals/coveandtiler.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/curve.o" - no debug information available for "libnurbs/internals/curve.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/curvelist.o" - no debug information available for "libnurbs/internals/curvelist.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/curvesub.o" - no debug information available for "libnurbs/internals/curvesub.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/dataTransform.o" - no debug information available for "libnurbs/internals/dataTransform.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/displaylist.o" - no debug information available for "libnurbs/internals/displaylist.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/flist.o" - no debug information available for "libnurbs/internals/flist.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/flistsorter.o" - no debug information available for "libnurbs/internals/flistsorter.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/hull.o" - no debug information available for "libnurbs/internals/hull.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/intersect.o" - no debug information available for "libnurbs/internals/intersect.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/knotvector.o" - no debug information available for "libnurbs/internals/knotvector.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/mapdesc.o" - no debug information available for "libnurbs/internals/mapdesc.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/mapdescv.o" - no debug information available for "libnurbs/internals/mapdescv.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/maplist.o" - no debug information available for "libnurbs/internals/maplist.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/mesher.o" - no debug information available for "libnurbs/internals/mesher.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/monoTriangulationBackend.o" - no debug information available for "libnurbs/internals/monoTriangulationBackend.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/monotonizer.o" - no debug information available for "libnurbs/internals/monotonizer.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/nurbsinterfac.o" - no debug information available for "libnurbs/internals/nurbsinterfac.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/nurbstess.o" - no debug information available for "libnurbs/internals/nurbstess.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/patch.o" - no debug information available for "libnurbs/internals/patch.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/patchlist.o" - no debug information available for "libnurbs/internals/patchlist.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/quilt.o" - no debug information available for "libnurbs/internals/quilt.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/reader.o" - no debug information available for "libnurbs/internals/reader.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/renderhints.o" - no debug information available for "libnurbs/internals/renderhints.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/slicer.o" - no debug information available for "libnurbs/internals/slicer.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/sorter.o" - no debug information available for "libnurbs/internals/sorter.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/splitarcs.o" - no debug information available for "libnurbs/internals/splitarcs.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/subdivider.o" - no debug information available for "libnurbs/internals/subdivider.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/tobezier.o" - no debug information available for "libnurbs/internals/tobezier.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/trimline.o" - no debug information available for "libnurbs/internals/trimline.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/trimregion.o" - no debug information available for "libnurbs/internals/trimregion.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/trimvertpool.o" - no debug information available for "libnurbs/internals/trimvertpool.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/uarray.o" - no debug information available for "libnurbs/internals/uarray.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/internals/varray.o" - no debug information available for "libnurbs/internals/varray.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/directedLine.o" - no debug information available for "libnurbs/nurbtess/directedLine.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/gridWrap.o" - no debug information available for "libnurbs/nurbtess/gridWrap.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/monoChain.o" - no debug information available for "libnurbs/nurbtess/monoChain.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/monoPolyPart.o" - no debug information available for "libnurbs/nurbtess/monoPolyPart.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/monoTriangulation.o" - no debug information available for "libnurbs/nurbtess/monoTriangulation.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/partitionX.o" - no debug information available for "libnurbs/nurbtess/partitionX.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/partitionY.o" - no debug information available for "libnurbs/nurbtess/partitionY.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/polyDBG.o" - no debug information available for "libnurbs/nurbtess/polyDBG.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/polyUtil.o" - no debug information available for "libnurbs/nurbtess/polyUtil.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/primitiveStream.o" - no debug information available for "libnurbs/nurbtess/primitiveStream.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/quicksort.o" - no debug information available for "libnurbs/nurbtess/quicksort.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/rectBlock.o" - no debug information available for "libnurbs/nurbtess/rectBlock.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/sampleComp.o" - no debug information available for "libnurbs/nurbtess/sampleComp.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/sampleCompBot.o" - no debug information available for "libnurbs/nurbtess/sampleCompBot.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/sampleCompRight.o" - no debug information available for "libnurbs/nurbtess/sampleCompRight.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/sampleCompTop.o" - no debug information available for "libnurbs/nurbtess/sampleCompTop.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.o" - no debug information available for "libnurbs/nurbtess/sampleMonoPoly.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/sampledLine.o" - no debug information available for "libnurbs/nurbtess/sampledLine.cc".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glu/sgi/libnurbs/nurbtess/searchTree.o" - no debug information available for "libnurbs/nurbtess/searchTree.cc".

.
warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_cgl.o" - no debug information available for "apple_cgl.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_glx.o" - no debug information available for "apple_glx.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_glx_context.o" - no debug information available for "apple_glx_context.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_glx_drawable.o" - no debug information available for "apple_glx_drawable.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_glx_pbuffer.o" - no debug information available for "apple_glx_pbuffer.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_glx_pixmap.o" - no debug information available for "apple_glx_pixmap.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_glx_surface.o" - no debug information available for "apple_glx_surface.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_visual.o" - no debug information available for "apple_visual.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_xgl_api.o" - no debug information available for "apple_xgl_api.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_xgl_api_additional.o" - no debug information available for "apple_xgl_api_additional.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_xgl_api_read.o" - no debug information available for "apple_xgl_api_read.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_xgl_api_stereo.o" - no debug information available for "apple_xgl_api_stereo.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/apple_xgl_api_viewport.o" - no debug information available for "apple_xgl_api_viewport.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/appledri.o" - no debug information available for "appledri.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../clientattrib.o" - no debug information available for "../clientattrib.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../compsize.o" - no debug information available for "../compsize.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glcontextmodes.o" - no debug information available for "../glcontextmodes.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/glx_empty.o" - no debug information available for "glx_empty.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/glx_error.o" - no debug information available for "glx_error.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glx_pbuffer.o" - no debug information available for "../glx_pbuffer.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glx_query.o" - no debug information available for "../glx_query.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glxcmds.o" - no debug information available for "../glxcmds.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glxcurrent.o" - no debug information available for "../glxcurrent.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glxext.o" - no debug information available for "../glxext.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../glxextensions.o" - no debug information available for "../glxextensions.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/glxreply.o" - no debug information available for "glxreply.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../pixel.o" - no debug information available for "../pixel.c".


warning: Could not find object file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.8.2/src/glx/apple/../xfont.o" - no debug information available for "../xfont.c".

................................................... done
Don't know of that is limiting the debug information.
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

24c wrote:I have been watching this, but not fired up Megatunix recently, as waiting for MSExtra 3.1 support. However, I just thought I'd give it a go, as I have seen the "Segmentation fault" in the past. I am running 9.22 on a 64bit iMac running 10.6.6, there was a crash report, but I haven't saved it. I can email this to you, if of use.
segmentation_fault.png

0.9.22 is pretty ancient, s oa crash report for that isn't all that useful anymore (major changes since then). If you want MS2-E 3.1 you need to build from git on the modular_0.4 branch as I added full support for MS2-E 3.1 a few days ago. (beware the stability of this branch can come and go on daily basis, as its where I'm doing all the current work)

Code: Select all

cd ~/
mkdir git
cd git
git clone git://github.com/djandruczyk/MegaTunix.git
cd Megatunix
git checkout modular_0.4
./autogen.sh --enable-debug 
make
sudo rm -rf /usr/local/share/MegaTunix  ## REMOVE the old/existing version as lots of filenames changed and we don't want cruft laying around
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
24c
Master MS/Extra'er
Posts: 847
Joined: Tue Jan 20, 2009 10:21 am
Location: Lancashire UK
Contact:

Re: Segmentation Fault

Post by 24c »

Dave, thanks for that... got this far :?
did_not_match.png
Update, just cut & pasted the "code" into a fresh Terminal session and stuff happening... enter Password and it's finished.
Tried X11 etc
megatunix install error.png
Yamaha GTS1000 v2 MicroSquirt, B&G 2.891
Yamaha GTS1000 v3 beta MicroSquirt, B&G3.760
Yamaha GTS1000 MSExtra 3.1, Dual VR Board
Yamaha YZF1000 MSExtra 3.1
djandruczyk
MS/Extra Guru
Posts: 1210
Joined: Fri May 07, 2004 6:55 pm
Location: Rochester, NY, U.S.A.
Contact:

Re: Segmentation Fault

Post by djandruczyk »

24c wrote:Dave, thanks for that... got this far :?
did_not_match.png
Update, just cut & pasted the "code" into a fresh Terminal session and stuff happening... enter Password and it's finished.
Tried X11 etc
megatunix install error.png

OK, delete the MegaTunix dir and start over.
i.e. git clone.... (see thread above). Since you already had one in there it got confused.. Since I donno if you have a fork of my repo or not it would be best if you just started clean.
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
Post Reply