Los Frijoles
Member
I am running Arch Linux with the Xfce desktop environment. I have both gtk2 and gtk3 stuff installed and use programs built for both.
I have another 64-bit computer running Arch Linux with a nearly identical setup which does not exhibit the problem that I am about to show. The teensy loader seems to work fine (I haven't tested it on an actual teensy 3.1 yet, however). So, this problem (for now) is only showing up on 32-bit Linux for me.
I have installed the 32-bit linux teensyduino software on my locally installed copy of arduino-1.0.5 (its located in my home directory). I installed gtk-engine-murrine since it was complaining about not having it right before its segfault. With gtk-engine-murrine installed, it now only shows the segfault
Here is what I see when using Arduino IDE to load to teensy:
Running teensy manually:
gdb gives me the following stack trace (warning: long listing ahead):
Is this a known bug (assuming it is a bug and not something I am doing wrong)? Is there a fix for it that anyone knows of?
EDIT: Seeing as the segfault has something to do with libpng, I am running libpng 1.6.7
I have another 64-bit computer running Arch Linux with a nearly identical setup which does not exhibit the problem that I am about to show. The teensy loader seems to work fine (I haven't tested it on an actual teensy 3.1 yet, however). So, this problem (for now) is only showing up on 32-bit Linux for me.
I have installed the 32-bit linux teensyduino software on my locally installed copy of arduino-1.0.5 (its located in my home directory). I installed gtk-engine-murrine since it was complaining about not having it right before its segfault. With gtk-engine-murrine installed, it now only shows the segfault
Here is what I see when using Arduino IDE to load to teensy:
Code:
Opening Teensy Loader...
Unable find Teensy Loader. Is the Teensy Loader application running?
Running teensy manually:
Code:
./teensy
Segmentation fault (core dumped)
gdb gives me the following stack trace (warning: long listing ahead):
Code:
#0 0xb73cae05 in __longjmp_chk () from /usr/lib/libc.so.6
#1 0xb78e7364 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
#2 0x0819c7a3 in png_error ()
#3 0x0819f9fc in png_create_read_struct_2 ()
#4 0xb78e813b in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
#5 0xb78d71a7 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
#6 0xb78d746a in gdk_pixbuf_new_from_file ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#7 0xb7fd573c in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#8 0xb7656891 in g_cache_insert () from /usr/lib/libglib-2.0.so.0
#9 0xb7fd66e0 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#10 0xb7fd6771 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#11 0xb7fd3071 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#12 0xb7fd4253 in ?? () from /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
#13 0xb7d05d44 in gtk_paint_box () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb7cb46da in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb7e0685f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb7e069c9 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb7765693 in g_cclosure_marshal_VOID__VOID ()
from /usr/lib/libgobject-2.0.so.0
#18 0xb7762594 in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0xb7763a6e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0xb777565c in ?? () from /usr/lib/libgobject-2.0.so.0
#21 0xb777d913 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#22 0xb777dba3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0xb7daa271 in gtk_widget_realize () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb7daa488 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#25 0x0807c5e3 in ?? ()
#26 0xb77656e9 in g_cclosure_marshal_VOID__VOIDv ()
from /usr/lib/libgobject-2.0.so.0
#27 0xb7762447 in ?? () from /usr/lib/libgobject-2.0.so.0
#28 0xb7763c1a in ?? () from /usr/lib/libgobject-2.0.so.0
#29 0xb777d030 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#30 0xb777dba3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#31 0xb7daa434 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x0807c5e3 in ?? ()
#33 0xb77656e9 in g_cclosure_marshal_VOID__VOIDv ()
from /usr/lib/libgobject-2.0.so.0
#34 0xb7762447 in ?? () from /usr/lib/libgobject-2.0.so.0
#35 0xb7763c1a in ?? () from /usr/lib/libgobject-2.0.so.0
#36 0xb777d030 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#37 0xb777dba3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#38 0xb7daa434 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb7dbc8f6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xb77656e9 in g_cclosure_marshal_VOID__VOIDv ()
from /usr/lib/libgobject-2.0.so.0
#41 0xb7762447 in ?? () from /usr/lib/libgobject-2.0.so.0
#42 0xb7763cae in ?? () from /usr/lib/libgobject-2.0.so.0
#43 0xb777d030 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#44 0xb777dba3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#45 0xb7daa434 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#46 0xb7db5f0d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#47 0xb77656e9 in g_cclosure_marshal_VOID__VOIDv ()
from /usr/lib/libgobject-2.0.so.0
#48 0xb7762447 in ?? () from /usr/lib/libgobject-2.0.so.0
#49 0xb7763cae in ?? () from /usr/lib/libgobject-2.0.so.0
#50 0xb777d030 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#51 0xb777dba3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#52 0xb7da992a in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#53 0x08082683 in ?? ()
#54 0x080a216e in ?? ()
#55 0x08064955 in ?? ()
#56 0x0806536c in ?? ()
#57 0x0815c962 in ?? ()
#58 0x0805d35b in ?? ()
#59 0xb72e79a3 in __libc_start_main () from /usr/lib/libc.so.6
#60 0x0805c8e1 in ?? ()
Is this a known bug (assuming it is a bug and not something I am doing wrong)? Is there a fix for it that anyone knows of?
EDIT: Seeing as the segfault has something to do with libpng, I am running libpng 1.6.7
Last edited: