Program received signal SIGSEGV, Segmentation fault. 0x08204589 in _$UMAIN$_Ll1032 () (gdb) bt #0 0x08204589 in _$UMAIN$_Ll1032 () #1 0x082044d0 in _$UMAIN$_Ll1023 () #2 0x00000006 in ?? () #3 0xbfffea0c in ?? () #4 0x0811f3d2 in TCONTROL__MOUSEDOWN (BUTTON=MBLEFT, SHIFT=..., X=68, Y=22, this=<error reading variable>) at ./include/control.inc:4069 #5 0x0811b4b2 in TCONTROL__DOMOUSEDOWN (MESSAGE=..., BUTTON=MBLEFT, SHIFT=..., this=<error reading variable>) at ./include/control.inc:2074 #6 0x0811b8ff in TCONTROL__WMLBUTTONDOWN (MESSAGE=..., this=<error reading variable>) at ./include/control.inc:2212 #7 0x081f1156 in SYSTEM_TOBJECT_$__DISPATCH$formal () #8 0x0811b8a0 in TCONTROL__WMCONTEXTMENU (MESSAGE=..., this=<error reading variable>) at ./include/control.inc:2192 #9 0x081110be in TWINCONTROL__WNDPROC (MESSAGE=..., this=<error reading variable>) at ./include/wincontrol.inc:5276 #10 0x081a1271 in DELIVERMESSAGE (TARGET=0x8af0c44, AMESSAGE=void) at lclmessageglue.pas:113 #11 0x08175fe5 in DELIVERMESSAGE (TARGET=0x8af0c44, AMESSAGE=void) at ./gtk2/gtk2proc.inc:3555 #12 0x08180ccb in DELIVERMOUSEDOWNMESSAGE (WIDGET=0x880ab58, EVENT=0x8a7c698, AWINCONTROL=0x8af0c44) at ./gtk2/gtk2callback.inc:1831 #13 0x081806b8 in GTKMOUSEBTNPRESS (WIDGET=0x880ab58, EVENT=0x8a7c698, DATA=0x8af0c44) at ./gtk2/gtk2callback.inc:1547 #14 0x003dfc52 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #15 0x007cac3c in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #16 0x007dd9f0 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #17 0x007e6599 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #18 0x007e68f3 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 #19 0x00519553 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #20 0x003ddeae in gtk_propagate_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #21 0x003de240 in gtk_main_do_event () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0 #22 0x00767888 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0 #23 0x0085025f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0 #24 0x00850990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #25 0x00850c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0 #26 0x080ddf97 in TGTK2WIDGETSET__APPWAITMESSAGE (this=<error reading variable>) at ./gtk2/gtk2widgetset.inc:2521 #27 0x08065dc1 in TAPPLICATION__IDLE (WAIT=true, this=<error reading variable>) at ./include/application.inc:418 #28 0x08067950 in TAPPLICATION__HANDLEMESSAGE (this=<error reading variable>) at ./include/application.inc:1282 #29 0x08067d4e in TAPPLICATION__RUNLOOP (this=<error reading variable>) at ./include/application.inc:1414 #30 0x0806cbc1 in TWIDGETSET__APPRUN (ALOOP=0x8067d10 <TAPPLICATION__RUNLOOP>, this=<error reading variable>) at ./include/interfacebase.inc:60 #31 0x08067d01 in TAPPLICATION__RUN (this=<error reading variable>) at ./include/application.inc:1402 #32 0x081ee439 in _$SCRABBLE3D$_Ll12 () Backtrace stopped: Not enough registers or memory available to unwind further
application has been built with lazarus 0.9.31 and fpc 2.6.0. segfault is 100% reproducable.
This stuff does not help. Even if it wasn't low level I usually debug step by step. I recommend to start the program with debugger in background and find the routine which fails. I'm afraid it's not in my code.
i tried in openbox (lightweight wm) but it changed nothing. anyway i am now pretty convinced the problem lies with the distribution itself. btw this is what i am getting at console:
Scotty believes that the "witch stairs" are caused by my settings/configuration/updates of Ubuntu, maybe by my graphic card. But I don't think so, because with the same settings no "witch stairs" are shown in the older Scrabble3D Patch 25. Therefore I'm very interested in knowing if you see "witch stairs" in Ubuntu 12.04 when using Patch 26 and testversion v26g.
Are you using Ubuntu 12.04 32 or 64bit? Do you have Gnome or Unity as desktop environment?
In Ubuntu 11.04 32bit with Gnome, however, no letters are shown at all in the 3D cube.
Tonight I myself will make some more 3D tests with the newest test version v26g in Ubuntu as well.
damn.. i did not realize that scrabble3d uses openGL and i only have a chance to test it in virtual machine. openGL support in virtualbox is poor so after starting scrabble3d i get nothing :-( currently i do not have a testing physical machine i would install ubuntu 12.04 on and i am kinda reluctant to update from already tuned 11.10.. jose
OpenGL is not initiated until a game in 3D is started. And with Qt you don't have any opengl support. In my virtualbox a realy huge 3d cube runs "smoothly" with about 5fps. But I have a farily good graphic card.
About segfault: the latest test realease should run without errors.
ok, my bad. anyway, i downloaded ver. 3.1.0 (patch 26g, Test-Scrabble3D-i386.tar.gz) and have already been able to reproduce crash during initial letter placement. also, many times the buttons are just unresponsive. ubuntu 12.04 has been installed directly from cd (no patches downloaded). i will do some more tests.
Zitat von jose1711ok, my bad. anyway, i downloaded ver. 3.1.0 (patch 26g, Test-Scrabble3D-i386.tar.gz) and have already been able to reproduce crash during initial letter placement. also, many times the buttons are just unresponsive.
I test Gnome3 with Mint in a VB. No errors. My base system is Arch Linux with KDE (and gtk2 libs). Please make sure to have all updates installed. Perhaps video acceleration is an issue too. Another idea is to run the win32 release with wine emulation within the vb.