buggnokii - Bugs: bug #15449, assertion failure when connecting...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #15449: assertion failure when connecting to Nokia 3650

Submitted by:  Vadim Zeitlin <zeitlin>
Submitted on:  Sun 15 Jan 2006 04:05:17 AM UTC  
 
Category: gnokiiSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: BORBELY Zoltan <bozo>
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Sun 05 Aug 2007 07:23:49 PM UTC, comment #6:

I'm closing this as long time no feedback.

Pawel Kot <pkot>
Project Administrator
Wed 01 Feb 2006 11:53:03 PM UTC, comment #5:

Please try the gnapplet.sis which is in the source tarball, or download it from http://users.szivarvanynet.hu/~bozo/gnokii/gnapplet.sis if you use the cvs version.

BORBELY Zoltan <bozo>
Project AdministratorIn charge of this item.
Wed 25 Jan 2006 02:56:36 AM UTC, comment #4:

I used the version from here:

http://www.gnokii.org/download/gnapplet/gnapplet.sis

I didn't find any other one.

Anonymous
Tue 24 Jan 2006 11:15:42 PM UTC, comment #3:

Are you sure you are using the same version of gnapplet? It seems there's a protocol mismatch between gnokii and gnapplet.

BORBELY Zoltan <bozo>
Project AdministratorIn charge of this item.
Sun 15 Jan 2006 03:14:16 PM UTC, comment #2:

It's exactly the same:

% ./gnokii/gnokii --identify
GNOKII Version 0.6.10
lt-gnokii: pkt.c:55: buffer_expand: Assertion `buf->size >= buf->offs + len' failed.

I rebuilt it with --enable-fulldebug:

% libtool gdb gnokii/gnokii
(gdb) r --identify
Starting program: /usr/local/src/gnokii-0.6.10/gnokii/.libs/lt-gnokii --identify
GNOKII Version 0.6.10
lt-gnokii: pkt.c:55: buffer_expand: Assertion `buf->size >= buf->offs + len' failed.

Program received signal SIGABRT, Aborted.
0xb7cfc7a7 in raise () from /lib/tls/libc.so.6
(gdb) bt
#0 0xb7cfc7a7 in raise () from /lib/tls/libc.so.6
#1 0xb7cfe04b in abort () from /lib/tls/libc.so.6
#2 0xb7cf5755 in __assert_fail () from /lib/tls/libc.so.6
#3 0xb7e30f8a in buffer_expand (buf=0xbff9ec3c, len=2) at pkt.c:55
#4 0xb7e31411 in pkt_get_uint16 (buf=0xbff9ec3c) at pkt.c:180
#5 0xb7e630a3 in gnapplet_incoming_info (messagetype=1, message=0x8068258 "", length=2, data=0xbff9f3a0, state=0x80600c0) at gnapplet.c:586
#6 0xb7e16f00 in sm_incoming_function (messagetype=1 '\001', message=0x8068258, messagesize=2, state=0x80600c0) at gsm-statemachine.c:127
#7 0xb7e6ab76 in gnbus_rx_statemachine (rx_byte=3 '\003', state=0x80600c0) at gnbus.c:160
#8 0xb7e6ac28 in gnbus_loop (timeout=0xbff9ee48, state=0x80600c0) at gnbus.c:188
#9 0xb7e16d6d in gn_sm_loop (timeout=1, state=0x80600c0) at gsm-statemachine.c:82
#10 0xb7e1731c in __sm_block_timeout (waitfor=1, t=40, data=0xbff9f3a0, state=0x80600c0) at gsm-statemachine.c:240
#11 0xb7e1758b in sm_block_timeout (waitfor=1, t=40, data=0xbff9f3a0, state=0x80600c0) at gsm-statemachine.c:282
#12 0xb7e1761d in sm_block (waitfor=1, data=0xbff9f3a0, state=0x80600c0) at gsm-statemachine.c:292
#13 0xb7e62f14 in gnapplet_get_phone_info (data=0xbff9f3a0, state=0x80600c0) at gnapplet.c:559
#14 0xb7e62f61 in gnapplet_identify (data=0xbff9f3a0, state=0x80600c0) at gnapplet.c:569
#15 0xb7e62e3a in gnapplet_initialise (state=0x80600c0) at gnapplet.c:544
#16 0xb7e62946 in gnapplet_functions (op=GN_OP_Init, data=0x0, state=0x80600c0) at gnapplet.c:424
#17 0xb7e1626f in register_driver (driver=0xb7e90560, model=0x80600c4 "series60", setupmodel=0x0, sm=0x80600c0) at gsm-api.c:114
#18 0xb7e165ae in gn_gsm_initialise (sm=0x80600c0) at gsm-api.c:160
#19 0x0804a4f2 in businit () at gnokii.c:453
#20 0x08058ac2 in main (argc=2, argv=0xbffa3dc4) at gnokii.c:5694
(gdb) up 3
(gdb) p *buf
$1 = {
addr = 0x8068258 "",
size = 2,
offs = 2
}

So the assert condition is 2 > 2 + 2 which is indeed wrong. But I have no idea as to why is the size so small (or the offset so big) unfortunately.

Vadim Zeitlin <zeitlin>
Sun 15 Jan 2006 10:55:21 AM UTC, comment #1:

please try gnokii 0.6.10

Pawel Kot <pkot>
Project Administrator
Sun 15 Jan 2006 04:05:17 AM UTC, original submission:

I'm using gnokii 0.6.8 from debian/testing. /etc/gnokiirc contains

[global]
port = 00:xx:xx:xx:xx:xx
model = series60
connection = bluetooth
rfcomm_channel = 1

Running gnokii results in:

% gnokii --identify
GNOKII Version 0.6.8
gnokii: pkt.c:55: buffer_expand: Assertion `buf->size >= buf->offs + len' failed.

Any other operation results in the same assert.

Thanks in advance for any ideas!

Vadim Zeitlin <zeitlin>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pkot (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Aug 2007 07:23:49 PM UTCpkotOpen/ClosedOpen=>Closed
    Wed 01 Feb 2006 11:53:03 PM UTCbozoStatusNone=>Works For Me
    Sun 15 Jan 2006 10:55:21 AM UTCpkotAssigned toNone=>bozo

    Back to the top


    Powered by Savane 3.1-cleanup1