OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: Capn_Fish on August 23, 2007, 09:09:35 pm

Title: Would Somebody Please Look At Some Code For Me?
Post by: Capn_Fish on August 23, 2007, 09:09:35 pm
I'm writing an SDL app, and it is segfaulting during making an instance of a class for reasons I cannot seem to determine. Could somebody look at the code for me? I'd rather not just post it, so please PM me if you can/are willing to help.

Thanks.

EDIT: It's C++ code, and probably some stupid little omission that is causing the issue (that tends to be the case with me).
Title: Would Somebody Please Look At Some Code For Me?
Post by: Capn_Fish on August 29, 2007, 08:58:35 pm
I got it figured out (it was a stupid error in the order I initialized things FWIW).
Title: Would Somebody Please Look At Some Code For Me?
Post by: Capn_Fish on November 10, 2007, 10:48:48 pm
OK, I've hit another error (different program, this one in C++/FLTK). It compiles with no errors, and through my tests I have concluded that it segfaults when it tries to show the window, not during some function leading up to it. I'm out of ideas. Could somebody look at the code for me (the tarball has the .hpp and .cpp files, the Fluid file, and a diff of the current code and the previous, non-segfaulting version)? It's the source for CelestialConfig, if it makes more people look at it , and it compiles with:

Code: [Select]
fltk-config --compile celestialconfig.cpp
Thanks.

EDIT: You can PM me or post here if you have questions, comments, suggestions, or a solution. Thanks.
Title: Would Somebody Please Look At Some Code For Me?
Post by: Capn_Fish on November 13, 2007, 10:42:51 pm
OK, I have incentive to rewrite the code anyway, so I guess I don't need help anymore (but if I hit the same unknown issue as before I will).
Title: Would Somebody Please Look At Some Code For Me?
Post by: Snappy on November 17, 2007, 01:00:56 pm
Keep it going ... glad you got it going and somewhat fixed ...  ... I'm in coder's block ... just cannot get myself into the momentum to code anything ...

... ok, except perhaps rigging up a simple app on facebook ... but that doesn't really count as coding ...