gnokii-users
[Top][All Lists]
Advanced

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

Re: smsd encountering sigsegv


From: Papa San
Subject: Re: smsd encountering sigsegv
Date: Wed, 02 Jul 2003 09:34:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624

Gents,

How do you run smsd in debug mode?

I notice that it dies quite regulary but I get no errors

I use this script to start the deamon but there are no errors in the log.

 echo " deamon started :  `date` " >> /home/gnokii/log
/usr/local/sbin/smsd -m mysql -u <smsuser> -c localhost -p <smspassword> -f /home/gnokii/log >> /home/gnokii/log 2>&1 &

are any errorlogs kept elsewhere?

Best regards,

Papa

Jan Derfinak wrote:

On Mon, 23 Jun 2003, Akshay Dua wrote:

Hello Jan,

I am encountering segmentation faults while running smsd. I am using a
nokia 5110 connected via a serial port. You will find the output below...

I just now tested todays CVS with N6110 and it works for me. Are there any
special condition needed to repeat this segfault?
I resend your mail to gnokii mailing list.

                                jan

OUTPUT OF SMSD(DEBUG) WHILE RUNNING IN GDB
------------------------------------

(gdb) run -d sms -c localhost -m mysql
Starting program:
/root/infoedge/cvs_working_dir/alertsystem/resources/gnokii-0.5.2/smsd/smsd
-d sms -c localhost -m mysql
(no debugging symbols found)...[New Thread 1024 (LWP 9656)]
Trying to load module /usr/lib/smsd/libmysql.so
[New Thread 2049 (LWP 9664)]
[New Thread 1026 (LWP 9665)]
Initializing connection...
Lockfile /var/lock/LCK..ttyS0 is stale. Overriding it..
[New Thread 2051 (LWP 9666)]
fbusinit: error 0
Version: NSE-1
Model: 5110
Revision: SW 05.07, HW 4020
Phone connected. Starting monitoring...
Sending SMS: 9440486426, hello
Inserting Event: 0
Processing Event: 0
Address: 9440486426
Text: hello
UNHANDLED FRAME RECEIVED
request: 0x14 / 0x0005
00 01 00 36 64                                  |    6d
reply: 0x06 / 0x0091
01 08 00 05 00 0f 03 89 c7 32 1d 64 96 97 cb 20 |          2 d
7a 98 bd a6 a7 db 65 d0 3d 4d 47 83 82 69 39 b5 | z     e =MG  i9
cc 06 35 c3 e7 f4 18 24 2d 8f d1 61 f9 b9 0c 92 |   5    $-  a
96 ef 61 39 79 ce 02 25 dd e4 74 78 0e 32 a7 e5 |   a9y  %  tx 2
73 3a 08 2e 2f c3 c3 69 32 88 fd ce 87 d9 f4 3c | s: ./  i2      <
08 2e 7f 9f e5 e1 b6 0b 44 4c 87 d9 a0 1c 0c 06 |  .      DL
0a 83 e8 6f 36 1b 64 96 97 cb 20 f7 db 65 7e cb |    o6 d      e~
41 e4 32 3d 9c 66 cf 5d 55 39 28 fc 1a 83 c4 61 | A 2= f ]U9(    a
36 28 3d 07 49 e7 2e 9a cd e6 9a d5 40 49 a7 d4 | 6(= I .     @I
05                                              |
Please read Docs/Bugs and send a bug report!
UNHANDLED FRAME RECEIVED
request: 0x14 / 0x0005
00 01 00 36 64                                  |    6d
reply: 0x06 / 0x0008
01 08 00 05 00 0f 03 00                         |
Please read Docs/Bugs and send a bug report!
Sending SMS: 9440486426, hello
Inserting Event: 0
Processing Event: 0
UNHANDLED FRAME RECEIVED
request: 0x02 / 0x002f
00 01 00 01 02 00 07 91 19 89 94 80 07 10 00 00 |
00 00 11 00 00 00 05 0a 81 49 04 84 46 62 00 00 |          I  Fb
00 00 00 a9 00 00 00 00 00 00 e8 32 9b fd 06    |            2
reply: 0x06 / 0x0091
01 08 00 05 00 0f 03 89 c7 32 1d 64 96 97 cb 20 |          2 d
7a 98 bd a6 a7 db 65 d0 3d 4d 47 83 82 69 39 b5 | z     e =MG  i9
cc 06 35 c3 e7 f4 18 24 2d 8f d1 61 f9 b9 0c 92 |   5    $-  a
96 ef 61 39 79 ce 02 25 dd e4 74 78 0e 32 a7 e5 |   a9y  %  tx 2
73 3a 08 2e 2f c3 c3 69 32 88 fd ce 87 d9 f4 3c | s: ./  i2      <
08 2e 7f 9f e5 e1 b6 0b 44 4c 87 d9 a0 1c 0c 06 |  .      DL
0a 83 e8 6f 36 1b 64 96 97 cb 20 f7 db 65 7e cb |    o6 d      e~
41 e4 32 3d 9c 66 cf 5d 55 39 28 fc 1a 83 c4 61 | A 2= f ]U9(    a
36 28 3d 07 49 e7 2e 9a ad e6 9a d5 40 49 a7 d4 | 6(= I .     @I
05                                              |
Please read Docs/Bugs and send a bug report!
Address: 9440486426
Text: hello
UNHANDLED FRAME RECEIVED
request: 0x14 / 0x0005
00 01 00 36 64                                  |    6d
reply: 0x06 / 0x0008
01 08 00 05 00 0f 03 00                         |
Please read Docs/Bugs and send a bug report!
UNHANDLED FRAME RECEIVED
request: 0x14 / 0x0005
00 01 00 36 64                                  |    6d
reply: 0x06 / 0x0008
01 08 00 05 00 0f 03 00                         |
Please read Docs/Bugs and send a bug report!

** quite a long pause ** // line added by Akshay (infoedge technologies)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1026 (LWP 9665)]
0x400916b9 in IncomingSMS (messagetype=20, message=0x805aea0 "\001\b",
length=12, data=0x80666d8, state=0x8055960) at nk6100.c:1690
1690                    data->sms_status->unread = message[11];









reply via email to

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