[SOLVED]Linux Ubuntu/mint 64bit crash at start

./Start Game Develop: line 7: 28283 Segmentation fault ./GDIDE
the problem depends from architetture, not is graphic card, becouse on mint 32 the program go with old graphic card, but is not usual, becouse the error is verified with lost of proprietary drivers (in 64 bit system), i’m on mint 14 based on ubuntu 12.10 on 64 bit arch.
In Fedora the istallation of libraries is simple, and the program go on 64 arch.

I don’t get the link with the title of the thread “ia32lib” ?
You can try to start Game Develop with gdb to get more information :
-Go in GD folder with a terminal,
-Type LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ( do not forget the . at the end )
-Then type gdb GDIDE to launch Game Develop.
-When it crashs, type bt in the terminal to show more information.

( Be careful, I have some difficulties to understand you sometimes : You can uses the spell checker integrated to most of the modern browser to avoid writing “becouse” for example :slight_smile: )

LD_LIBRARY_PATH=$LD_LIBRARY_PATH: @-PC ~/Programmi/Game Develop $ gdb GDIDE GNU gdb (GDB) 7.5-ubuntu Copyright (C) 2012 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 "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /home/frogger/Programmi/Game Develop/GDIDE...(no debugging symbols found)...done. (gdb) bt No stack. (gdb)
the output

Oops, I forgot to explain you how to launch Game Develop with gdb :smiley:
Can you retry this process :

-Go in GD folder with a terminal,
-Type LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. ( do not forget the . at the end )
-Then type gdb GDIDE to launch gdb.
-Then type r and press Enter to launch Game Develop
-When it crashs, type bt in the terminal and press Enter to show more information.

ok :smiley:

[code]GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 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 “x86_64-linux-gnu”.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/
Reading symbols from /home/frogger/Programmi/Game Develop/GDIDE…(no debugging symbols found)…done.
(gdb) r
Starting program: /home/frogger/Programmi/Game Develop/GDIDE
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.

Program received signal SIGSEGV, Segmentation fault.
0xf7159349 in llvm::cl::parser<llvm::FunctionPass* ()()>::getOption(unsigned int) const () from /usr/lib/libgdl.so
(gdb) bt
#0 0xf7159349 in llvm::cl::parser<llvm::FunctionPass
()()>::getOption(unsigned int) const () from /usr/lib/libgdl.so
#1 0xf75ff1f0 in llvm::cl::generic_parser_base::findOption(char const
) ()
from /usr/lib/libgdl.so
#2 0xf7159429 in llvm::RegisterPassParserllvm::RegisterRegAlloc::NotifyRemove(char const*) () from /usr/lib/libgdl.so
#3 0xf259f0b6 in llvm::MachinePassRegistry::Add(llvm::MachinePassRegistryNode*) () from /usr/lib/i386-linux-gnu/libLLVM-3.1.so.1
#4 0xf2182b16 in ?? () from /usr/lib/i386-linux-gnu/libLLVM-3.1.so.1
#5 0xf7feae9b in ?? () from /lib/ld-linux.so.2
#6 0xf7feaf84 in ?? () from /lib/ld-linux.so.2
#7 0xf7feef96 in ?? () from /lib/ld-linux.so.2
#8 0xf7feacbf in ?? () from /lib/ld-linux.so.2
#9 0xf7fee7e4 in ?? () from /lib/ld-linux.so.2
#10 0xf44d9be9 in ?? () from /lib/i386-linux-gnu/libdl.so.2
#11 0xf7feacbf in ?? () from /lib/ld-linux.so.2
#12 0xf44da33a in ?? () from /lib/i386-linux-gnu/libdl.so.2
#13 0xf44d9c97 in dlopen () from /lib/i386-linux-gnu/libdl.so.2
#14 0xf509de18 in ?? () from /usr/lib/i386-linux-gnu/mesa/libGL.so.1
#15 0xf50a1a6b in ?? () from /usr/lib/i386-linux-gnu/mesa/libGL.so.1
#16 0xf50791c2 in ?? () from /usr/lib/i386-linux-gnu/mesa/libGL.so.1
#17 0xf5075556 in ?? () from /usr/lib/i386-linux-gnu/mesa/libGL.so.1
#18 0xf5075c6a in glXGetConfig () from /usr/lib/i386-linux-gnu/mesa/libGL.so.1
—Type to continue, or q to quit—
[/code]

Thanks for the log. I managed to recreate the same problem after compiling Game Develop on Ubuntu 12.10 32 bits on a virtual machine ( so the problem does not depends from architecture :wink: ). The stack trace provided by gdb seems to be related to OpenGL… EDIT : In fact, it seems to be an incompatibility ( as usual ! ) between the version of LLVM used by the system and the one used by Game Develop.

it’s simple , tell me the version of LLVM, i include it in folder of game ddevelop :smiley:
EDIT
interesting, the debug mode, i try to solve the bug of edit mask if we resolve this…
sorry for bad english

It is more complex, the LLVM library is integrated into libgdl.so. I tried to update LLVM so as to use LLVM 3.1 but even by doing this, there is still an error as the LLVM library seems to be initialized twice ( The first time by GD, then by Ubuntu which keeps calling my version of LLVM instead of using the LLVM library provided by the system ).

Just want to say that I’m working on a solution ( it takes time as it involves reworking some parts of GD ), it should be fixed for the next version.

thanks 4ian, good luck

The new version should fix the problem ( It is available from the website as usual, changelog is here : viewtopic.php?f=18&t=4003 ).

I took the time to test it with the latest version of Linux Mint 64 bits and it works. Note that the new version needs some packages to be installed: Game Develop will warn you if these packages are missing.