Re: possible bug
Jon Berg <[email protected]>
| Newsgroups | gmane.linux.drivers.gnokii |
|---|---|
| Message-ID | <CAJnx+-ahKrwFm2GMs_quHsCdTOKDDW9SNWkzYafJtK4+ZSDYkg@mail.gmail.com> |
> Can you please provide full debug log of reading this particular > message with gnokii --getsms? > It does not crash when running it with "gnokii". It only happens with the smsd. Attached is the output when running it with gnokii. I 'x'-ed the phone numbers. When it stops with: lt-smsd: malloc.c:2368: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed. the backtrace of lt-smsd is: Program received signal SIGABRT, Aborted. [Switching to Thread 0xb6c9eb40 (LWP 3752)] 0xb7782424 in __kernel_vsyscall () (gdb) backtrace #0 0xb7782424 in __kernel_vsyscall () #1 0xb74405df in raise () from /lib/libc.so.6 #2 0xb7441ec3 in abort () from /lib/libc.so.6 #3 0xb7483d79 in __malloc_assert () from /lib/libc.so.6 #4 0xb7486a4a in _int_malloc () from /lib/libc.so.6 #5 0xb7487c88 in malloc () from /lib/libc.so.6 #6 0xb761f4bb in ?? () from /lib/libglib-2.0.so.0 #7 0xb761f833 in g_malloc () from /lib/libglib-2.0.so.0 #8 0x0804ad0b in RefreshSMS (number=37) at lowlevel.c:195 #9 0x0804b245 in RealConnect (phone=phone@entry=0x8c07900) at lowlevel.c:428 #10 0x0804b5ff in Connect (phone=0x8c07900) at lowlevel.c:471 #11 0xb75bed08 in start_thread () from /lib/libpthread.so.0 #12 0xb74fa8de in clone () from /lib/libc.so.6 _______________________________________________ gnokii-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/gnokii-users
gnokii.txt
(text/plain, 14.1 KB)
./gnokii --phone 2 --getsms IN 17
GNOKII Version 0.6.32git
LOG: debug mask is 0x1
Config read from file /home/rso/rso//.gnokiirc.
Cannot open logfile /home/jberg/.cache/gnokii/gnokii-errors
WARNING: cannot open logfile, logs will be directed to stderr
phone instance config:
model = series40
port = /dev/ttyUSB2
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
device: opening device /dev/ttyUSB2
device: setting speed to 115200
device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 07 01 00 |
[Received Ack of type 1b, seq: 0]
[Sending Ack of type 1b, seq: 3]
Message received: 0x1b / 0x0032
01 31 00 08 00 01 58 2c 00 26 56 20 30 36 2e 33 | 1 X, &V 06.3
31 20 20 20 20 20 0a 32 35 2d 31 31 2d 30 35 0a | 1 25-11-05
52 48 2d 31 39 0a 28 63 29 20 4e 6f 6b 0a 41 00 | RH-19 (c) Nok A
00 00 |
Received message type 1b
model length: 5
Received model RH-19
Found model "RH-19"
Getting message #17 from IN
Getting SMS #17...
Getting SMS Folders...
Message sent: 0x14 / 0x0006
00 01 00 12 00 00 |
[Received Ack of type 14, seq: 1]
[Sending Ack of type 14, seq: 4]
[Sending Ack of type 14, seq: 5]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x0166
01 55 00 13 00 04 01 58 02 07 00 49 00 6e 00 6e | U X I n n
00 62 00 6f 00 6b 00 73 00 00 00 00 00 00 00 00 | b o k s
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 58 | X
03 10 00 53 00 65 00 6e 00 64 00 74 00 65 00 20 | S e n d t e
00 65 00 6c 00 65 00 6d 00 65 00 6e 00 74 00 65 | e l e m e n t e
00 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | r
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 01 58 04 05 00 41 00 72 00 6b | X A r k
00 69 00 76 00 00 00 00 00 00 00 00 00 00 00 00 | i v
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 58 | X
05 05 00 4d 00 61 00 6c 00 65 00 72 00 00 00 00 | M a l e r
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 |
Received message type 14
Message: 4 SMS Folders received:
folder_id[0]=14
folder_id[0]=14
Folder(2) name: Innboks
folder_id[1]=15
folder_id[1]=15
Folder(3) name: Sendte elementer
folder_id[2]=16
folder_id[2]=16
Folder(4) name: Arkiv
folder_id[3]=17
folder_id[3]=17
Folder(5) name: Maler
Folder id: 14
Getting SMS Folder (2) status (2)...
Special case IN/OUTBOX in GetSMSFolderStatus!
Get message list from ME
Message sent: 0x14 / 0x000a
00 01 00 0c 02 02 0f 55 55 55 | UUU
[Received Ack of type 14, seq: 2]
[Sending Ack of type 14, seq: 7]
[Sending Ack of type 14, seq: 0]
[Sending Ack of type 14, seq: 1]
[Sending Ack of type 14, seq: 2]
[Sending Ack of type 14, seq: 3]
[Sending Ack of type 14, seq: 4]
[Sending Ack of type 14, seq: 5]
Message received: 0x14 / 0x0332
01 55 00 0d 00 00 00 00 00 00 00 00 00 00 00 00 | U
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 |
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 0
Get message list from SM
Message sent: 0x14 / 0x000a
00 01 00 0c 01 02 0f 55 55 55 | UUU
[Received Ack of type 14, seq: 3]
[Sending Ack of type 14, seq: 6]
[Sending Ack of type 14, seq: 7]
[Sending Ack of type 14, seq: 0]
[Sending Ack of type 14, seq: 1]
[Sending Ack of type 14, seq: 2]
[Sending Ack of type 14, seq: 3]
[Sending Ack of type 14, seq: 4]
Message received: 0x14 / 0x0332
01 55 00 0d 00 00 00 11 00 11 00 10 00 0f 00 0e | U
00 0d 00 0c 00 0b 00 0a 00 09 00 08 00 07 00 06 |
00 05 00 03 00 02 00 04 00 01 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 |
Received message type 14
Message: SMS Folder status received
Message: Number of Entries: 17
Message: IDs of Entries : 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 3, 2, 4, 1,
Total number of messages in the folder: 17
Getting SMS from location 1
Getting SMS message (1 in folder 14) status...
Message sent: 0x14 / 0x000a
00 01 00 0e 01 02 00 01 55 55 | UU
[Received Ack of type 14, seq: 4]
[Sending Ack of type 14, seq: 5]
[Sending Ack of type 14, seq: 6]
Message received: 0x14 / 0x008a
01 55 00 0f 00 01 00 84 01 00 00 01 02 01 00 00 | U
07 91 33 48 41 01 10 f4 00 00 00 00 0b 91 31 25 | 3HA 1%
94 87 72 f0 00 00 00 00 21 01 02 32 81 90 80 00 | r ! 2
00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
00 00 00 00 00 00 00 00 00 00 |
Received message type 14
Message: SMS message (#1 in folder #2) status received: 1
Trying to get message #1 from folder #14
Getting SMS from location 1
Message sent: 0x14 / 0x000a
00 01 00 02 01 02 00 01 01 00 |
[Received Ack of type 14, seq: 5]
[Sending Ack of type 14, seq: 7]
Message received: 0x14 / 0x003e
01 55 00 03 00 01 01 02 00 01 00 00 00 01 00 30 | U 0
64 00 08 21 01 02 32 81 90 80 00 00 00 03 82 0c | d ! 2
01 08 0b 91 31 25 94 87 72 f0 82 0c 02 08 07 91 | 1% r
33 48 41 01 10 f4 80 08 01 00 53 00 00 00 | 3HA S
Received message type 14
Trying to get message #1 in folder #2
Trying to parse message....
Type: 0
Length: 48
Type: Deliver
Location of SMS in current folder: 1
Memory type/folder id: 2
Mobile Terminated message:
Date: 2012-10-20 23:18:09 +0200
Remote number (recipient or sender): +1xxxxxxxxx
SMS center number: +xxxxxxxx
Data Coding Scheme 0x08
UDH found
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Concatenated messages
Unicode message
17. Inbox Message (Read)
Date/time: 00/00/0001 23:18:01
Sender: +1xxxxxxx Msg Center: +xxxxxxxxx
Linked:
Linked (0/0):
device: closing device