gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "segmentation fault"


From: Carles Pina i Estany
Subject: Re: "segmentation fault"
Date: Sun, 1 Sep 2002 22:09:51 +0200 (CEST)

Hi,

> Doing gnokii --smsreader, with gnokii-0.4.3 and gnokii from CVS:

in gnokii/gnokii.c, in line 4170, gnokii opens a file in /tmp/sms . And
/tmp/sms directory don't exist, then do segmentation fault. If I do mkdir
/tmp/sms then works. 

With this in line 4171 from gnokii.c

        if (mkdir ("/tmp/sms")==0) {
                fprintf(stderr,_("Cannot create temporary directori
/tmp/sms\n");
                exit (234);
        }

and, before "return GE_NONE;"

        rmmdir ("/tmp/sms");

works fine


> 
> SMS received from number: 787
> Got message 1: www.vizzavi.es#carles disculpa bla bla bla
> ("confidential" message ;-))   ) 
> ViolaciĆ³n de segmento
> carles:/home/carles/down/nokia/cvs/gnokii# 
> 
> (violaciĆ³n de segmento=segmentation fault in spanish)
> 
> ----
> Carles Pina i Estany  || address@hidden address@hidden
>       http://www.pinux.info
>       http://www.salleurl.edu/~is08139
> 
> 
> 
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/gnokii-users
> 

----
Carles Pina i Estany    || address@hidden address@hidden
        http://www.pinux.info
        http://www.salleurl.edu/~is08139





reply via email to

[Prev in Thread] Current Thread [Next in Thread]