Michal Čihař wrote:
> Can you please add it as an attachment? I fail to reproduce your
> problem with this [...]

Firstly, I attach my gammurc.

Secondly, I think gammurc is not the problem.


Allocating GSM_StateMachine:
gammu.c:1142: gsm = GSM_AllocStateMachine();

Getting a pointer to GSM_StateMachine->CurrentConfig:
gammu.c:1175: smcfg0 = GSM_GetConfig(gsm, 0);
gammu.c:1177: smcfg = GSM_GetConfig(gsm, i))

GSM_StateMachine->CurrentConfig is just an uninitialized pointer
pointing to some random memory, so:
gsmstate.c:1157: cfg->UseGlobalDebugFile
called in GSM_ReadConfig from gammu.c:1190
causes a SEGFAULT.

-- 
Marcin Szewczyk, Wodny   http://wodny.org
mailto:wo...@thlen.pl <- remove h / usuń h
xmpp:wo...@ubuntu.pl     xmpp:wo...@jabster.pl
# This is a generated gammurc file.
# It was generated by Gammu configurator 0.4

# In Unix/Linux  : copy it into your home directory and name it .gammurc
#                  or into /etc and name it gammurc
# In Win32       : copy it into directory with Gammu.exe and name gammurc

# Port           : in Windows/DOS: "com*:",
#                  (instead of "*" please put "1", "2", etc.)
#                  in other (Linux/Unix) "/dev/ttyS%"
#                                     or "/dev/ircomm%" ("irda" connection)
#                  (instead of "%" please put "0", "1", "2", etc.)
# Model          : use only, when Gammu doesn't recognize your phone model.
#                  Put it here. Example values: "6110", "6150", "6210", "8210"
# Connection     : type of connection. Use "fbus" or "mbus" or "dlr3" or
#                  "irda" (Infrared over sockets) or "infrared" (DirectIR)
#                  or "at19200" (AT commands on 19200, 8 bits, None parity,
#                  1 stop bit, no flow control) or "at115200" (AT commands on
#                  115200, 8 bits, None parity, 1 stop bit, no flow control)
#                  or "atblue" (AT over BlueTooth) or "dlr3blue" (FBUS
#                  over BlueTooth)
# SynchronizeTime: if you want to set time from computer to phone during
#                  starting connection. Do not rather use this option when want
#                  to reset phone during connection (in some phones need to
#                  set time again after restart)
# Logfile        : Use, when want to have logfile from communication.
# Logformat      : What debug info and format should be used:
#                  "nothing" - no debug level, "text" - transmission dump in
#                  text format, "textall" - all possible info in text format,
#                  "errors"  - errors in text format, "binary" - transmission
#                  dump in binary format
# Use_Locking    : under Unix/Linux use "yes", if want to lock used device
#                  to prevent using it by other applications
# GammuLoc       : name of localisation file

[gammu]

port = /dev/rfcomm
model = 
connection = at115200
synchronizetime = no
logfile = 
logformat = nothing
use_locking = 
gammuloc = 

Reply via email to