OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Qt/Qtopia => Topic started by: ced on May 24, 2004, 08:33:33 am
-
I\'ve wrote a demo using the SDL library (1.2.7). The demo run perfectly via ssh. But if I try to run it from an icon or from the console then it freeze when the demo exists.
I can replicate the problem via ssh if I set the following environment:
export QWS_DISPLAY="Transformed:Rot180:0"
export QTDIR=/home/QtPalmtop
Do you think is something with my demo (dodgy pointer or something) or is it something with qtopia?
The main method look like this and I can see the last \"printf\":
int main(int argc, char ** argv) {
// demo code
...
...
printf("exit!!!!");
return 0;
}
-
[bump]
I would like to run my demo from the desktop (via an icon).
I can provide the source code (only 400 lines) if someone is willing to look my \"crash on exit\" issue.
-
Where\'s it crashing? Tried acquiring a backtrace with gdb ?
-
the version of gdb from ZSI doesn\'t like compiled code with pthread (which the SDL library is)...
-
I am interested by the source code of the demo, even if I\'m not sure I can solve your problem
francois.leiber@laposte.net
-
Ashitaka --] check your email...