Game Develop Linux : Version bêta


#61

C’est tout ce que tu as eu avec bt ? :open_mouth:


#62

Euh, ouais… Mais quand je supprime depuis le début errordetect.dat et que je fais l’opération, sa me met No stack après bt.

Je comprend rien du tout. =(


#63

Bon, j’ai mis en ligne une version du fichier GDEditor compilée en debug. Attention, elle est extrement lourde ( plus de 30 mo ! ) :

www.compilgames.net/dl/GDEditor.zip

Téléchargez la et décompressez la à la place de l’ancien GDEditor.

Ensuite, testez comme avant :

-lancez gdb ( gdb GDEditor )
-tapez “r” et appuyez sur entrer pour lancer le programme. Copiez ici les messages qui s’affichent.
-si le programme plante, tapez “bt” et appuyez sur entrer. Copiez alors les messages qui s’affichent.

Si vous pouvez, procédez à différents tests avec ou sans le répertoire res.


#64

C’est la même chose avec ou sans le dossier d’images chez moi.

Première étape

Deuxième étape


#65

Euh, est ce que tu arrive à lancer GDEditor sans gdb :
./GDEditor

N’y aurait il pas un problème de permission ?


#66

Non, j’y arrive pas. Et je ne pense pas qu’il y est de problèmes de permissions. Quand je fais clic droit sur l’icone et que je me rend dans l’onglet permission, tout est dans l’accès d’écriture et de lecture. Mais quand je fais chmod 777 ./GDEditor sa me donne:


#67

Première étape avec images

[code]Starting program: /home/randal/Bureau/Autres/Develop/GDEditor
[Thread debugging using libthread_db enabled]
[New Thread 0xb72a4720 (LWP 25855)]
Point 1
Build pour linuxPoint 2
Point 3
Point 3.5

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72a4720 (LWP 25855)]
0x08dac0ed in ?? ()
(gdb) bt
#0 0x08dac0ed in ?? ()
#1 0x08399b1a in png_free_data ()
#2 0x08399f4e in png_free_data ()
#3 0xb78e29d9 in ?? () from /usr/lib/libpng12.so.0
#4 0xb78ee690 in png_read_destroy () from /usr/lib/libpng12.so.0
#5 0xb78eea63 in png_destroy_read_struct () from /usr/lib/libpng12.so.0
#6 0x0854c6f3 in wxPNGHandler::LoadFile (this=0x8d4e0e0, image=0xbffd301c,
stream=@0xbffd2dac, verbose=true) at …/src/common/imagpng.cpp:610
#7 0x085419e2 in wxImage::LoadFile (this=0xbffd301c, stream=@0xbffd2dac,
type=50, index=-1) at …/src/common/image.cpp:2213
#8 0x0853fd6e in wxImage::LoadFile (this=0xbffd301c, filename=@0xbffd30c0,
type=50, index=-1) at …/src/common/image.cpp:2028
#9 0x0853fe4a in wxImage (this=0xbffd301c, name=@0xbffd30c0, type=50,
index=-1) at …/src/common/image.cpp:145
#10 0x080af630 in BugReport::BugReport ()
#11 0x081f001c in Game_Develop_EditorApp::OnInit ()
#12 0x081f1910 in wxAppConsole::CallOnInit (this=0x8d1f718)
at …/include/wx/app.h:76
#13 0x08629a35 in wxEntry (argc=@0xbffd3d30, argv=0xbffd3db4)
at …/src/common/init.cpp:444
#14 0x081f186d in main ()
(gdb) Quit
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/randal/Bureau/Autres/Develop/GDEditor
[Thread debugging using libthread_db enabled]
[New Thread 0xb7258720 (LWP 27064)]
Point 1
Build pour linuxPoint 2
Point 3
Point 3.5

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7258720 (LWP 27064)]
0x08dac0ed in ?? ()[/code]

Deuxième étape avec images

#0 0x08dac0ed in ?? () #1 0x08399b1a in png_free_data () #2 0x08399f4e in png_free_data () #3 0xb78e29d9 in ?? () from /usr/lib/libpng12.so.0 #4 0xb78ee690 in png_read_destroy () from /usr/lib/libpng12.so.0 #5 0xb78eea63 in png_destroy_read_struct () from /usr/lib/libpng12.so.0 #6 0x0854c6f3 in wxPNGHandler::LoadFile (this=0x8d4e0e0, image=0xbffd301c, stream=@0xbffd2dac, verbose=true) at ../src/common/imagpng.cpp:610 #7 0x085419e2 in wxImage::LoadFile (this=0xbffd301c, stream=@0xbffd2dac, type=50, index=-1) at ../src/common/image.cpp:2213 #8 0x0853fd6e in wxImage::LoadFile (this=0xbffd301c, filename=@0xbffd30c0, type=50, index=-1) at ../src/common/image.cpp:2028 #9 0x0853fe4a in wxImage (this=0xbffd301c, name=@0xbffd30c0, type=50, index=-1) at ../src/common/image.cpp:145 #10 0x080af630 in BugReport::BugReport () #11 0x081f001c in Game_Develop_EditorApp::OnInit () #12 0x081f1910 in wxAppConsole::CallOnInit (this=0x8d1f718) at ../include/wx/app.h:76 #13 0x08629a35 in wxEntry (argc=@0xbffd3d30, argv=0xbffd3db4) at ../src/common/init.cpp:444 #14 0x081f186d in main ()

Première étape sans images

[code]The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /home/randal/Bureau/Autres/Develop/GDEditor
[Thread debugging using libthread_db enabled]
[New Thread 0xb72ae720 (LWP 28168)]
Point 1
Build pour linuxPoint 2
Point 3
Point 3.5
[Debug] 16:05:37: …/src/gtk/bitmap.cpp(441): assert “image.Ok()” failed in CreateFromImage(): invalid image

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72ae720 (LWP 28168)]
0x08ee45e3 in ?? ()[/code]

Deuxième étape sans images

#0 0x08ee45e3 in ?? () #1 0xb78f86b2 in png_read_destroy () from /usr/lib/libpng12.so.0 #2 0xb78f8a63 in png_destroy_read_struct () from /usr/lib/libpng12.so.0 #3 0xb6df4d92 in ?? () from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so #4 0xb7aeb650 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0 #5 0xb7aec4cd in gdk_pixbuf_new_from_file () from /usr/lib/libgdk_pixbuf-2.0.so.0 #6 0xb7cd4bb7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #7 0xb7cd526e in gtk_icon_info_load_icon () from /usr/lib/libgtk-x11-2.0.so.0 #8 0xb7cd70aa in gtk_icon_theme_load_icon () from /usr/lib/libgtk-x11-2.0.so.0 #9 0xb7cd2f9d in gtk_icon_set_render_icon () from /usr/lib/libgtk-x11-2.0.so.0 #10 0xb7e3436f in gtk_widget_render_icon () from /usr/lib/libgtk-x11-2.0.so.0 #11 0xb7ce86ee in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #12 0xb7ce87b1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #13 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #14 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #15 0xb79e981f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #16 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #17 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #18 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #19 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #20 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #21 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 #22 0xb7cca225 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #23 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #24 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #25 0xb79e981f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #26 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #27 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #28 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #29 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #30 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #31 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 #32 0xb7c24c0f in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #33 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #34 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #35 0xb79e981f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #36 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #37 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #38 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #39 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #40 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #41 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 #42 0xb7c37162 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #43 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #44 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #45 0xb79e981f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #46 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #47 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #48 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #49 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #50 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #51 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 #52 0xb7c2a526 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #53 0xb7cc9870 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #54 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #55 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #56 0xb79e981f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #57 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #58 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #59 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #60 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #61 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit---return #62 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 #63 0xb7e28c35 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #64 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #65 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #66 0xb79e981f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #67 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #68 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #69 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #70 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #71 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #72 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 #73 0xb7e3bf20 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #74 0xb79f615a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0 #75 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #76 0xb79e9749 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #77 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #78 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #79 0xb79ffed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0 #80 0xb7d78536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #81 0xb7d7876a in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #82 0xb7e3353f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0 ---Type <return> to continue, or q <return> to quit--- #83 0xb7e3c2c0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #84 0xb7e45ac1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0 #85 0xb79f6aef in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #86 0xb79e8069 in ?? () from /usr/lib/libgobject-2.0.so.0 #87 0xb79e9749 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #88 0xb79fdbbb in ?? () from /usr/lib/libgobject-2.0.so.0 #89 0xb79ffc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #90 0xb79fff59 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #91 0xb7e35837 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 #92 0xb7e3559d in gtk_widget_show_all () from /usr/lib/libgtk-x11-2.0.so.0 #93 0x085bd2e6 in gtk_assert_dialog_init (dlg=0x8d97018) at ../src/gtk/assertdlg_gtk.c:392 #94 0xb7a0a29e in g_type_create_instance () from /usr/lib/libgobject-2.0.so.0 #95 0xb79ef242 in ?? () from /usr/lib/libgobject-2.0.so.0 #96 0xb79efa08 in g_object_newv () from /usr/lib/libgobject-2.0.so.0 #97 0xb79f0561 in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0 #98 0xb79f06d0 in g_object_new () from /usr/lib/libgobject-2.0.so.0 #99 0x085bd826 in gtk_assert_dialog_new () at ../src/gtk/assertdlg_gtk.c:523 #100 0x084af71b in wxGUIAppTraits::ShowAssertDialog (this=0x8d495b8, msg=@0xbf898fac) at ../src/gtk/utilsgtk.cpp:368 #101 0x085f0ef9 in ShowAssertDialog (szFile=0x8839708 "../src/gtk/bitmap.cpp", nLine=441, szFunc=0x8d94834 "CreateFromImage", ---Type <return> to continue, or q <return> to quit--- szCond=0x883997f "image.Ok()", szMsg=0x8839971 "invalid image", traits=0x8d495b8) at ../src/common/appbase.cpp:836 #102 0x085f1144 in wxAppConsole::OnAssertFailure (this=0x8d1f718, file=0x8839708 "../src/gtk/bitmap.cpp", line=441, func=0x8d94834 "CreateFromImage", cond=0x883997f "image.Ok()", msg=0x8839971 "invalid image") at ../src/common/appbase.cpp:445 #103 0x0848c95f in wxApp::OnAssertFailure (this=0x8d1f718, file=0x8839708 "../src/gtk/bitmap.cpp", line=441, func=0x8d94834 "CreateFromImage", cond=0x883997f "image.Ok()", msg=0x8839971 "invalid image") at ../src/gtk/app.cpp:556 #104 0x085f1020 in wxOnAssert (szFile=0x8839708 "../src/gtk/bitmap.cpp", nLine=441, szFunc=0x8839ab8 "CreateFromImage", szCond=0x883997f "image.Ok()", szMsg=0x8839971 "invalid image") at ../src/common/appbase.cpp:711 #105 0x084906a1 in wxBitmap::CreateFromImage (this=0xbf899294, image=@0xbf89928c, depth=-1) at ../src/gtk/bitmap.cpp:441 #106 0x0808c75d in wxBitmap (this=0xbf899294, image=@0xbf89928c, depth=-1) at ../include/wx/gtk/bitmap.h:65 #107 0x080af650 in BugReport::BugReport () #108 0x081f001c in Game_Develop_EditorApp::OnInit () #109 0x081f1910 in wxAppConsole::CallOnInit (this=0x8d1f718) at ../include/wx/app.h:76 #110 0x08629a35 in wxEntry (argc=@0xbf899fa0, argv=0xbf89a024) ---Type <return> to continue, or q <return> to quit--- at ../src/common/init.cpp:444 #111 0x081f186d in main ()


#68

Voici quant à moi les dernières informations que j’ai pu trouver:

Le résultat d’un “.GDEditor” en mode ROOT (sudo su):

Point 1
Build pour linuxPoint 2
Point 3
Point 4
Point 5
[Debug] 11:23:03: ../src/gtk/bitmap.cpp(678): assert "Ok()" failed in GetHeight(): invalid bitmap
Trappe pour point d'arrêt et de trace

voila ce que ça donne une seconde fois (environ 1min après) sans rien changer dans le répertoire de GameDévellop:

Point 1
Build pour linuxPoint 2
Point 3
Point 3.5
[Debug] 11:25:33: ../src/gtk/bitmap.cpp(441): assert "image.Ok()" failed in CreateFromImage(): invalid image
Erreur de segmentation

le résultat d’un gdb GDEditor lancé une première fois (sans avoir effacé le fichier “error.dat”):

GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...

le debug avec “r” me donne plus ou moins la meme chose que quand on le démarre simplement en tapant ./GDEditor mais avec une ou deux lignes en plus:

Starting program: /home/jerome/Bureau/GDE/GDEditor 
[Thread debugging using libthread_db enabled]
[New Thread 0xb726e720 (LWP 5917)]
Point 1
Build pour linuxPoint 2
Point 3
Point 3.5
[Debug] 11:29:34: ../src/gtk/bitmap.cpp(441): assert "image.Ok()" failed in CreateFromImage(): invalid image

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb726e720 (LWP 5917)]
0x09113800 in ?? ()

le debug avec “bt” est beaucoup fourni par contre ^^:

(gdb) bt
#0  0x09113800 in ?? ()
#1  0xb78aa6b2 in png_read_destroy () from /usr/lib/libpng12.so.0
#2  0xb78aaa63 in png_destroy_read_struct () from /usr/lib/libpng12.so.0
#3  0xb431ad92 in ?? () from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
#4  0xb7a9d650 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
#5  0xb7a9e4cd in gdk_pixbuf_new_from_file () from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0xb7c86bb7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7c8726e in gtk_icon_info_load_icon () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb7c890aa in gtk_icon_theme_load_icon () from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb7c84f9d in gtk_icon_set_render_icon () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7de636f in gtk_widget_render_icon () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7c9a6ee in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7c9a7b1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb79a815a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0
#14 0xb799a069 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0xb799b81f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xb79afbbb in ?? () from /usr/lib/libgobject-2.0.so.0
#17 0xb79b1c0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0xb79b1ed0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#19 0xb7d2a536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb7d2a76a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb7de553f in gtk_widget_size_request () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb7c7c225 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb79a815a in g_cclosure_marshal_VOID__BOXED () from /usr/lib/libgobject-2.0.so.0
#24 0xb799a069 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0xb799b81f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0xb79afbbb in ?? () from /usr/lib/libgobject-2.0.so.0

Les mêmes opérations sans le fichier error.dat:

(gdb) r
Starting program: /home/jerome/Bureau/GDE/GDEditor 
[Thread debugging using libthread_db enabled]
[New Thread 0xb72ae720 (LWP 6880)]
Point 1
Build pour linuxPoint 2
Point 3
Point 4
Point 5
[Debug] 11:33:43: ../src/gtk/bitmap.cpp(678): assert "Ok()" failed in GetHeight(): invalid bitmap

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb72ae720 (LWP 6880)]
0x09107668 in ?? ()
(gdb) bt
#0  0x09110808 in ?? ()
#1  0xb79266b2 in png_read_destroy () from /usr/lib/libpng12.so.0
#2  0xb7926a63 in png_destroy_read_struct () from /usr/lib/libpng12.so.0
#3  0xb4396d92 in ?? ()
   from /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
#4  0xb7b19650 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
#5  0xb7b1a4cd in gdk_pixbuf_new_from_file ()
   from /usr/lib/libgdk_pixbuf-2.0.so.0
#6  0xb7d02bb7 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#7  0xb7d0326e in gtk_icon_info_load_icon () from /usr/lib/libgtk-x11-2.0.so.0
#8  0xb7d050aa in gtk_icon_theme_load_icon () from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb7d00f9d in gtk_icon_set_render_icon () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb7e6236f in gtk_widget_render_icon () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7d166ee in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb7d167b1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb7a2415a in g_cclosure_marshal_VOID__BOXED ()
   from /usr/lib/libgobject-2.0.so.0
#14 0xb7a16069 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0xb7a1781f in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#16 0xb7a2bbbb in ?? () from /usr/lib/libgobject-2.0.so.0
#17 0xb7a2dc0f in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#18 0xb7a2ded0 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#19 0xb7da6536 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---

Après quoi j’ai tenté de le lancer simplement sans fichier error.dat en tapant simplement ./GDEditor, voici ce que ça donne (attention aux yeux):

root@jerome-desktop:/home/jerome/Bureau/GDE# ./GDEditor
Point 1
Build pour linuxPoint 2
Point 3
Point 4
Point 5
[Debug] 11:35:18: ../src/gtk/bitmap.cpp(678): assert "Ok()" failed in GetHeight(): invalid bitmap
*** glibc detected *** ./GDEditor: free(): invalid pointer: 0xb43f25b0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb750aa85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb750e4f0]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb79e6b51]
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so[0xb43f25cd]
./GDEditor(png_free+0x33)[0x839aa03]
/usr/lib/libpng12.so.0(png_read_destroy+0x64)[0xb79836c4]
/usr/lib/libpng12.so.0(png_destroy_read_struct+0x73)[0xb7983a63]
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so[0xb43f3e0b]
/usr/lib/libgdk_pixbuf-2.0.so.0[0xb7b76650]
/usr/lib/libgdk_pixbuf-2.0.so.0(gdk_pixbuf_new_from_file+0x15d)[0xb7b774cd]
/usr/lib/libgtk-x11-2.0.so.0[0xb7d5fbb7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_icon_info_load_icon+0x6e)[0xb7d6026e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_icon_theme_load_icon+0x9a)[0xb7d620aa]
/usr/lib/libgtk-x11-2.0.so.0(gtk_icon_set_render_icon+0x4ed)[0xb7d5df9d]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_render_icon+0xaf)[0xb7ebf36f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7d736ee]
/usr/lib/libgtk-x11-2.0.so.0[0xb7d737b1]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x5a)[0xb7a8115a]
/usr/lib/libgobject-2.0.so.0[0xb7a73069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ff)[0xb7a7481f]
/usr/lib/libgobject-2.0.so.0[0xb7a88bbb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb7a8ac0f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x130)[0xb7a8aed0]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e03536]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e0376a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x7f)[0xb7ebe53f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7d55225]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x5a)[0xb7a8115a]
/usr/lib/libgobject-2.0.so.0[0xb7a73069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ff)[0xb7a7481f]
/usr/lib/libgobject-2.0.so.0[0xb7a88bbb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb7a8ac0f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x130)[0xb7a8aed0]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e03536]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e0376a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x7f)[0xb7ebe53f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7cafc0f]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x5a)[0xb7a8115a]
/usr/lib/libgobject-2.0.so.0[0xb7a73069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ff)[0xb7a7481f]
/usr/lib/libgobject-2.0.so.0[0xb7a88bbb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb7a8ac0f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x130)[0xb7a8aed0]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e03536]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e0376a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x7f)[0xb7ebe53f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7cc2162]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x5a)[0xb7a8115a]
/usr/lib/libgobject-2.0.so.0[0xb7a73069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ff)[0xb7a7481f]
/usr/lib/libgobject-2.0.so.0[0xb7a88bbb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb7a8ac0f]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_by_name+0x130)[0xb7a8aed0]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e03536]
/usr/lib/libgtk-x11-2.0.so.0[0xb7e0376a]
/usr/lib/libgtk-x11-2.0.so.0(gtk_widget_size_request+0x7f)[0xb7ebe53f]
/usr/lib/libgtk-x11-2.0.so.0[0xb7cb5526]
/usr/lib/libgtk-x11-2.0.so.0[0xb7d54870]
/usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXED+0x5a)[0xb7a8115a]
/usr/lib/libgobject-2.0.so.0[0xb7a73069]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ff)[0xb7a7481f]
/usr/lib/libgobject-2.0.so.0[0xb7a88bbb]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x8ef)[0xb7a8ac0f]
======= Memory map: ========
08048000-089c2000 r-xp 00000000 08:06 393821     /home/jerome/Bureau/GDE/GDEditor
089c2000-089c5000 r--p 00979000 08:06 393821     /home/jerome/Bureau/GDE/GDEditor
089c5000-089cc000 rw-p 0097c000 08:06 393821     /home/jerome/Bureau/GDE/GDEditor
089cc000-09194000 rw-p 089cc000 00:00 0          [heap]
b4200000-b4221000 rw-p b4200000 00:00 0 
b4221000-b4300000 ---p b4221000 00:00 0 
b43f1000-b43f5000 r-xp 00000000 08:06 581778     /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b43f5000-b43f6000 rw-p 00003000 08:06 581778     /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-png.so
b43f6000-b4418000 r--p 00000000 08:06 746958     /usr/share/icons/Crux/icon-theme.cache
b4418000-b449a000 rw-p b4418000 00:00 0 
b449a000-b44e6000 r--p 00000000 08:06 671997     /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-ExtraLight.ttf
b44e6000-b4568000 rw-p b44e6000 00:00 0 
b4568000-b4578000 r--p 00000000 08:06 671889     /usr/share/fonts/truetype/thai/Purisa.ttf
b4578000-b457a000 r-xp 00000000 08:06 615121     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b457a000-b457b000 rw-p 00001000 08:06 615121     /usr/lib/pango/1.6.0/modules/pango-basic-fc.so
b457b000-b4581000 r--s 00000000 08:06 910697     /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cacAbandon

voila, bonne chance 4ian :smiley:


#69

C’est bizarre qu’on est pas la même chose en gros et que les erreurs varient très souvent.
Mais bon, on revient à la même conclusion, y a une erreur de segmentation. =(

Trappe pour point d'arrêt et de trace

forum.ubuntu-fr.org/viewtopic.php?id=26702
Ils avaient le même problème, ils ont dû supprimer un fichier. Bon ils utilisaient un autre logiciel, mais peut-être que c’est pareil ici.

developpez.net/forums/d37456 … wxprocess/
Là le gars utilise wxWidgets en plus, peut être une solution ?


#70

On a pas exactement la même version Linux, ça doit jouer je pense.

Sinon les liens que tu as donné me semblent intéressants avec assez de similitudes quant aux problèmes qu’on rencontre en ce moment avec GameDévellop’ …

4ian, tu penses que ça vient d’où maintenant? Si t’as besoin d’aide (tant que tu me demandes pas de programmer ^^) hésite pas à le faire savoir, je me réjouis de pouvoir enfin tester ce logiciel.


#71

Oui moi aussi, tant qu’il ne sagit pas de programmer. =3 J’espère que tu vas trouver la solution.

[size=85]Sinon je viendrai te rendre visite, couteau à la main, à Morbihan. =D[/size]


#72

Je vais me renseigner sur le forum de wxwidgets en leur montrant tous les logs. On verra si il y voient plus clair que moi.


#73

Une petite question, vous avez quoi comme distribution ( nom + version ) ?


#74

Ubuntu 8.04 - Hardy Heron - sortie en avril 2008


#75

Ok, parfait.
Pourrais tu faire le test suivant :
A l’aide du terminal, va dans le répertoire de Game Develop, et tape “ldd GDEditor”.

Ca devrait t’afficher la liste des dépendances de Game Develop, pourrait tu la copier coller ici ?


#76

Voilà, c’est fait.

linux-gate.so.1 => (0xb7ee4000) libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7b53000) libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7acf000) libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7ab4000) libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7a8d000) libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7a75000) libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb7a14000) libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb79d7000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb79ac000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7970000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb796c000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7967000) librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb795e000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb78ad000) libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb78a9000) libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb78a4000) libSM.so.6 => /usr/lib/libSM.so.6 (0xb789c000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb7879000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb7858000) libz.so.1 => /usr/lib/libz.so.1 (0xb7843000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb783e000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7819000) libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb7810000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb77ae000) libGL.so.1 => /usr/lib/libGL.so.1 (0xb7734000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb764d000) libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7646000) libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb762e000) libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb75da000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb74e7000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb74dc000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb738d000) libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7389000) libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7386000) libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7381000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7373000) libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb736b000) libXi.so.6 => /usr/lib/libXi.so.6 (0xb7362000) libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb7359000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb72ec000) libselinux.so.1 => /lib/libselinux.so.1 (0xb72d3000) /lib/ld-linux.so.2 (0xb7ee5000) libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb72ac000) libICE.so.6 => /usr/lib/libICE.so.6 (0xb7293000) libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0xb726a000) libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7268000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7250000) libogg.so.0 => /usr/lib/libogg.so.0 (0xb724b000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb7247000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7242000)


#77

A ben si en fait on a exactement la même version :confused: (Ubuntu 8.04 LTS).

Sur l’autre pc j’ai un Xubuntu 7.10, je vais essayer pour voir :stuck_out_tongue:


#78

j’ai appris sur le forum de wxwidgets que les binaires ( executables ) pour linux ne sont pas totalement compatible d’une version à l’autre, et d’une distribution à l’autre.
Xaviou de wxDev.org a réussi à lancer Game Develop avec Ubuntu 8.10, alors que ça plantait avec Hardy Heron.

Vu que vous avez tout deux Hardy Heron, le problème doit tout “simplement” venir de là.
On m’a conseillé de compiler avec une version plus ancienne d’Ubuntu, ce qui normalement assure une certaine compatibilité avec les futures versions ( Xaviou compile des libs avec Feisty, et elle fonctionne de Ubuntu Feisty à Intrepid ).
C’est ce que je ferais donc. Pour les autres distribs, j’essaierais de virtualiser les plus connues afin de mettre le programme disponible au plus grand nombre.


#79

Cool!
Tu penses que ça va te prendre beaucoup de temps pour faire ça?

(Trop hate de tester)


#80

Rien de nouveau? Faut nous tenir au courant =p

ps: Sorry pour le double post, prenez ça comme une sorte de “up” ^^