Re: a question
[email protected] (Jonas Borgström) 05 Nov 2002 09:11:51 +0100
| Newsgroups | gmane.network.beep.roadrunner.general |
|---|---|
| Message-ID | <[email protected]> |
"liuhui" <[email protected]> writes: > 1. ( ) text/plain (*) text/html > > when I run the test program of roadrunner, it tells me that a segmentation fault > occurs. I run it under solaris. > I debugged and found g_print create this fault. > if I replace it with printf, evething is ok. > but I can't replace every g_print. > how can I do about it? > In which file and on what line does the segmentation fault occur? I'm not sure what happens but I think solaris have some issues with printing NULL strings like this: printf ("foo %s bar\n", NULL); But it is hard to tell until I know on which line it happens. / Jonas -- Jonas Borgström [email protected] CodeFactory AB http://www.codefactory.se/ Office: +46 (0)90 71 86 14