[Jprogramming] gtk segmentation fault
bill lam
bbill.lam at gmail.com
Tue Mar 6 18:11:04 HKT 2007
Oleg Kobchenko wrote:
> I believe platimg is using GTK+. Please see if
> it crashes too. If not than you may have problems
> with the signatures or parameters. I don't see any
> error checks, they can make a difference between
> a crash and assertion where you can check the parameters.
>
> I also strongly recommend using the ">" qualifier for
> cd signature.
>
> In fact I would even suggest that it is
> made the default behavior if not the only one.
> Using "symdat" from general/pcall make the pattern
> of calling by reference into calling "by name"
> just as in C--just my nickel's worth.
Thank you for suggestion. I tested platimg ok. I prefer not to use ">" qualifier
for J504 compatibility. It turns out my code had bugs (more precisely 2 bugs)
that after fixing it run without problem. On reflection Wirth is correct that
it is easy to write incorrect program using a language that is not type-safe
(both c and J).
--
regards,
bill
More information about the Programming
mailing list