gnokii-users
[Top][All Lists]
Advanced

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

Re: *** buffer overflow detected ***: xgnokii terminated (plz help)


From: ArcosCom Linux User
Subject: Re: *** buffer overflow detected ***: xgnokii terminated (plz help)
Date: Tue, 24 Apr 2007 23:01:53 +0200 (CEST)
User-agent: SquirrelMail/1.4.9a-1.3.5

Fine, upgraded to cvs version.

Now the *** buffer overflow **** appears to be disapeared, but now the
system hangs when I had the usb cable for some minutes connected and using
xgnokii.

The cable is a USB "CA42" and the movile is a 6103.

When I connect the movile, I can see en /var/log/messages:

Apr 24 21:55:23 sdg01 kernel: usb 5-2.1: new full speed USB device using
ehci_hcd and address 3
Apr 24 21:55:23 sdg01 kernel: ehci_hcd 0000:00:1d.7: qh f7d8b180 (#00)
state 4
Apr 24 21:55:23 sdg01 kernel: usb 5-2.1: configuration #1 chosen from 1
choice
Apr 24 21:55:23 sdg01 kernel: drivers/usb/class/cdc-acm.c: This device
cannot do calls on its own. It is no modem.
Apr 24 21:55:23 sdg01 kernel: cdc_acm 5-2.1:1.0: ttyACM0: USB ACM device
Apr 24 21:55:23 sdg01 kernel: usbcore: registered new driver cdc_acm
Apr 24 21:55:23 sdg01 kernel: drivers/usb/class/cdc-acm.c: v0.25:USB
Abstract Control Model driver for USB modems and ISDN adapters
Apr 24 21:55:26 sdg01 bash: user: samueldg as samueldg from ip: :0.1:pts/7
execs: 'xgnokii '
Apr 24 22:02:16 sdg01 syslogd 1.4.1: restart.

My gnokiirc is this:

# This is a sample ~/.gnokiirc file.  Copy it into your
# home directory and name it .gnokiirc.
# See http://wiki.gnokii.org/index.php/Config for working examples.
#

[global]

# Set port to the physical port used to connect to your phone.
# Linux version is:
# port = /dev/ttyS0
#
# For MacOSX you will need something like:
# port = /dev/cu.USA28X1P1.1
#
# For Win32 you want to use:
# port = com1:
# or similiar.
#
# FreeBSD (probably NetBSD and OpenBSD too) use:
# port = /dev/cuaa0
#
# With Linux-IrDA you will want to use
# port = /dev/ircomm0
# or similiar.
#
# Use this setting also for the Bluetooth connection:
# port = aa:bb:cc:dd:ee:ff
# when using it with AT driver set it to:
# port = /dev/rfcomm0
# or similiar.
#
# For the Linux USB cables you will need one of the following settings (or
# similiar)
# port = /dev/ttyUSB0
# port = /dev/tts/USB0
port = /dev/ttyACM0
# the last one will work only with AT driver. The correct setting should be
# given in the dmesg output.

# Set model to the model number of your phone. For the
# Symbian phones use:
# model = series60
# For other non-Nokia phones and when you want to use AT
# mode use:
model = AT
# If you can't figure out what to put here read the FAQ.
# If it still doesn't help, consult gnokii-ml or #gnokii at freenode.
#model = 6510
# There are few main models that should make use of the certain drivers.
# These are: 6110, 7110, 6510, 3110, 2110, 6160.

# Set IrDA device name.
# If you use irda connection you may want gnokii to autodetect the irda
# device it connects to. This is fine for most of the cases. if you have
# more than one device in range you may want to give manually the device
# name so gnokii correctly recognizes it. Use the name that you can see
# in the discovery log when the phone with infrared is in the range of
# your irda port.
# Note that you need to set this for each phone_ section separately. It
# isn't nested from the global section.
# irda_string = Nokia 6610i

# Initlength controls the number of characters sent to the
# phone during initialisation.  You can either set it to
# the word "default" or a positive integer.
#
# You can try setting this value if you want to connect
# to the phone quicker.  If you've never noticed the
# connection to be slow, it is suggested that you
# leave this alone.  Read the initialisation code in fbus-xxxx
# to understand what this changes if you're curious.
initlength = default

# The type of the connection, for IR set this to infrared or irda.
# For the nk6110 driver only infrared is valid for the IrDA connection.
# See Docs/gnokii-ir-howto for more detailes on this.
# If you have 6210/6250/7110 phone and dau9p cable (the one you can
# use with 6100 series and cannot use hardware modem from the phone)
# you may want to use 'dau9p' value to get faster initialization.
# If you use dlr3 or dlr3p cable for nokia phones in FBUS mode (ie.
# you don't use model = AT) you may want to use 'dlr3p' value here.
# Note that it is recommended and currently the best way to use this
# cable with nk6510 driver.
# connection = dau9p
# With DKU-2 cable use the following setting
#connection = dku2
# With DKU-5 cable use the following setting
# connection = dlr3p
# For Bluetooth and AT driver use the following setting
connection = serial
# For other Bluetooth settings use
# connection = bluetooth
# For infraded connection with phones other then Nokia 6110/6130/6150 use
# connection = irda

# Set this to 'yes' if you want gnokii to set and check the lock file in
# /var/lock directory. It avoids potential conflicts with other serial
# port software (eg. minicom). If you have wrong permissions for the
# directory, a warning will be generated. If you don't want a lockfile, set
# it to 'no'.
use_locking = no

# Baudrate to use on serial port connections.
# Currently used only by models AT and BIP/CIMD. Defaults to 19200.
serial_baudrate = 115200

# Force waiting after each send character the specified usec time.
# Value -1 forces the fastest 'block' writing,
# value 0 writes each character separately without any explicite waiting,
# other positive values specify the appropriate 1/1000000 sec delaying.
# Siemens M20 requires at least "1"!  FIXME: Model-driven autodetection
#serial_write_usleep = 10000
serial_write_usleep = -1

# Force serial port handshaking mode, useful primarily for "AT" model.
# Gnokii "AT" model uses software handshake by default.
# Possible values: hardware (RTS/CTS - 7 wires) or software (XON/XOFF - 3
wires)
#handshake = software

# If defined (not commented out by '#') it will quit Gnokii anytime
# when DCD line will drop.
#require_dcd = 1

# If you are using a bluetooth connection, you can specify the rfcomm
# channel number here. Default value is 1.
#rfcomm_channel = 1

# There may happen various timeouts during the communication with the phone.
# This parameter enables the retransmission policy. Ie. if the phone doesn't
# respond, we send the frame again. This happend mainly with the older
# phones. You may want to enable it when you see mysterious timeouts.
# Be very carefull with this option. It is suspected to cause phone breakage
# with new DCT4 phones (like Nokia 6100). By default it is switched off
# (sm_retry = 0)
sm_retry = 0

# Run the specified script(s) right after opening and initializing the device
# and before any communucation (right before closing for disconnect_script).
# You may find handy to use it to connect your modem to SMS Center
# when using BIP or CIMD protocols
# Non-absolute path is relative to the specific directory where gnokii is
run!
#connect_script = /absolute/path/to/gnokii/Docs/sample/cimd-connect
#disconnect_script =

# When sending SMS you can experience timeouts. This is the feature of the
# overloaded SMSCs. The phones waits for the response from the SMSC
confirming
# that it received the short message. When the SMSC is DoSed with many
requests
# it will take more time to get the response. Adjust it to your needs. The
# value is given in seconds to wait. Defaults to 10 seconds. Set to 0 to wait
# forever.
smsc_timeout = 10

# Set bindir to point to the location of the various gnokiid binaries.
# In particular ensure that mgnokiidev is in this location, with
# permissions 4750, owned by root, group gnokii.  Ensure you
# are in the gnokii group and that the group exists...
[gnokiid]
bindir = /usr/sbin/

# Any entries in the following two sections will be set as environment
# variables when running the scripts.
# Handy for use for $VAR substitutions in your chat(8) script.
#TELEPHONE = 123456
[connect_script]
TELEPHONE = 123456
[disconnect_script]


# The following parameters control how libgnokii handle the debugging
messages.
# Currently there are three categories: "debug" controls the libgnokii
# normal debug output, "rlpdebug" controls the debug output of the RLP
# subsystem, and "xdebug" is used by the xgnokii or smsd.

[logging]

# where to log the debug output (on: stderr, off: /dev/null)
debug = on

# where to log the rlp debug output (on: stderr, off: /dev/null)
rlpdebug = off

# where to log X debug output (on: stderr, off: /dev/null)
xdebug = off


El Mar, 24 de Abril de 2007, 20:19, ArcosCom Linux User escribi├│:
> Runing xgnokii (0.6.14) I have this problem (xgnokii launched from
> xterminal):
>
> 30 38 35 44 30 36 42 35 43 42 0d 0a 0d 0a 4f 4b | 085D06B5CB    OK
> 0d                                              |
> Received message type 18
> 07914306090985F6040B914356917342F8000070404291755380A0A0D84B06D2818A73FA1B549E83EA6E50BBEC9E87D565103B2C3FBF59A0F1DB0D2AF7CB7350DA3D66D7D3E4F0DC0562BE41E8F0F90D6287E5E7370B047FCBE3F532081E9697C76550BC5E069DDDEF753A0D82B96CAE180D042FD3C3A0F1DB0D628741ECF2985E978741E432A85D76CFC3EAF21C849AA7CF6F50BB4C4F97DDE437A8D82D4E53A03C085D06B5CB
> Mobile Terminated message:
> *** buffer overflow detected ***: xgnokii terminated
> ======= Backtrace: =========
> /lib/libc.so.6(__chk_fail+0x41)[0xc22221]
> /lib/libc.so.6[0xc216d7]
> /usr/lib/libgnokii.so.3[0xa0d227]
> /usr/lib/libgnokii.so.3(gn_sms_parse+0xa7)[0xa0dd97]
> /usr/lib/libgnokii.so.3(gn_sms_get+0xb4)[0xa0ea74]
> xgnokii[0x808602d]
> /lib/libpthread.so.0[0xcb42db]
> /lib/libc.so.6(clone+0x5e)[0xc0e12e]
> ======= Memory map: ========
> 00101000-00107000 r-xp 00000000 08:06 1245824
> /usr/lib/libusb-0.1.so.4.4.4
> 00107000-00109000 rwxp 00006000 08:06 1245824
> /usr/lib/libusb-0.1.so.4.4.4
> 0010b000-0011e000 r-xp 00000000 08:06 1261168
> /usr/lib/libbluetooth.so.2.4.1
> 0011e000-0011f000 rwxp 00012000 08:06 1261168
> /usr/lib/libbluetooth.so.2.4.1
> 0015b000-0016b000 r-xp 00000000 08:06 1256572    /usr/lib/libXpm.so.4.11.0
> 0016b000-0016c000 rwxp 00010000 08:06 1256572    /usr/lib/libXpm.so.4.11.0
> 00720000-00721000 r-xp 00720000 00:00 0          [vdso]
> 00725000-0072e000 r-xp 00000000 08:06 2445641    /lib/libnss_files-2.5.so
> 0072e000-0072f000 r-xp 00008000 08:06 2445641    /lib/libnss_files-2.5.so
> 0072f000-00730000 rwxp 00009000 08:06 2445641    /lib/libnss_files-2.5.so
> 0073f000-00750000 r-xp 00000000 08:06 358689
> /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
> 00750000-00751000 rwxp 00011000 08:06 358689
> /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so
> 007c2000-007c8000 r-xp 00000000 08:06 1404694
> /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
> 007c8000-007c9000 rwxp 00005000 08:06 1404694
> /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
> 009f3000-00a5f000 r-xp 00000000 08:06 1250334
> /usr/lib/libgnokii.so.3.0.0
> 00a5f000-00a63000 rwxp 0006c000 08:06 1250334
> /usr/lib/libgnokii.so.3.0.0
> 00a63000-00a6c000 rwxp 00a63000 00:00 0
> 00ab3000-00ad2000 r-xp 00000000 08:06 2447835    /lib/libexpat.so.0.5.0
> 00ad2000-00ad4000 rwxp 0001e000 08:06 2447835    /lib/libexpat.so.0.5.0
> 00ad6000-00ae5000 r-xp 00000000 08:06 228291     /usr/lib/libXext.so.6.4.0
> 00ae5000-00ae6000 rwxp 0000e000 08:06 228291     /usr/lib/libXext.so.6.4.0
> 00ae8000-00af0000 r-xp 00000000 08:06 228287
> /usr/lib/libXrender.so.1.3.0
> 00af0000-00af1000 rwxp 00007000 08:06 228287
> /usr/lib/libXrender.so.1.3.0
> 00af3000-00af5000 r-xp 00000000 08:06 228292
> /usr/lib/libXinerama.so.1.0.0
> 00af5000-00af6000 rwxp 00001000 08:06 228292
> /usr/lib/libXinerama.so.1.0.0
> 00af8000-00afc000 r-xp 00000000 08:06 228295
> /usr/lib/libXfixes.so.3.1.0
> 00afc000-00afd000 rwxp 00003000 08:06 228295
> /usr/lib/libXfixes.so.3.1.0
> 00aff000-00b08000 r-xp 00000000 08:06 228296
> /usr/lib/libXcursor.so.1.0.2
> 00b08000-00b09000 rwxp 00008000 08:06 228296
> /usr/lib/libXcursor.so.1.0.2
> 00b0b000-00b0e000 r-xp 00000000 08:06 228294
> /usr/lib/libXrandr.so.2.0.0
> 00b0e000-00b0f000 rwxp 00002000 08:06 228294
> /usr/lib/libXrandr.so.2.0.0
> 00b11000-00b18000 r-xp 00000000 08:06 228293     /usr/lib/libXi.so.6.0.0
> 00b18000-00b19000 rwxp 00006000 08:06 228293     /usr/lib/libXi.so.6.0.0
> 00b1f000-00b38000 r-xp 00000000 08:06 2447826    /lib/ld-2.5.so
> 00b38000-00b39000 r-xp 00018000 08:06 2447826    /lib/ld-2.5.so
> 00b39000-00b3a000 rwxp 00019000 08:06 2447826    /lib/ld-2.5.so
> 00b3c000-00b3e000 r-xp 00000000 08:06 1260963    /usr/lib/libXau.so.6.0.0
> 00b3e000-00b3f000 rwxp 00001000 08:06 1260963    /usr/lib/libXau.so.6.0.0
> 00b41000-00c78000 r-xp 00000000 08:06 2447827    /lib/libc-2.5.so
> 00c78000-00c7a000 r-xp 00137000 08:06 2447827    /lib/libc-2.5.so
> 00c7a000-00c7b000 rwxp 00139000 08:06 2447827    /lib/libc-2.5.so
> 00c7b000-00c7e000 rwxp 00c7b000 00:00 0
> 00c80000-00ca5000 r-xp 00000000 08:06 2447834    /lib/libm-2.5.so
> 00ca5000-00ca6000 r-xp 00024000 08:06 2447834    /lib/libm-2.5.so
> 00ca6000-00ca7000 rwxp 00025000 08:06 2447834    /lib/libm-2.5.so
> 00ca9000-00cab000 r-xp 00000000 08:06 2447828    /lib/libdl-2.5.so
> 00cab000-00cac000 r-xp 00001000 08:06 2447828    /lib/libdl-2.5.so
> 00cac000-00cad000 rwxp 00002000 08:06 2447828    /lib/libdl-2.5.so
> 00caf000-00cc2000 r-xp 00000000 08:06 2447829    /lib/libpthread-2.5.so
> 00cc2000-00cc3000 r-xp 00012000 08:06 2447829    /lib/libpthread-2.5.so
> 00cc3000-00cc4000 rwxp 00013000 Abortado
>
> ┬┐Is there any patch to solve this problem?
>
> I tried:
> http://lists.nongnu.org/archive/html/gnokii-users/2007-02/msg00068.html
>
> Without success!
>
>
>
> _______________________________________________
> gnokii-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/gnokii-users
>






reply via email to

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