Segmentation fault

Some of our users get a segnmentation fault, when running our python and
wxpython application. This is rather vague information, but does anybody
have any experience of what could cause this? I mean, most of the time
both python and wxpython generates nice tracebacks. Here, nothing happens,
just segmentation fault on start-up.

I have no information about versions etc, but they should all be running
Linux (becuase otherwise they would use a binary and, well, Win doesn't
seg fault).

Thanks

Oscar

wxpython not installed properly? ask them to run a small test program or the
demo and see what happens

regards kg

ยทยทยท

On Wednesday 13 October 2004 01:04 pm, you wrote:

Some of our users get a segnmentation fault, when running our python and
wxpython application. This is rather vague information, but does anybody
have any experience of what could cause this? I mean, most of the time
both python and wxpython generates nice tracebacks. Here, nothing happens,
just segmentation fault on start-up.

I have no information about versions etc, but they should all be running
Linux (becuase otherwise they would use a binary and, well, Win doesn't
seg fault).

Oscar Gustafsson wrote:

Some of our users get a segnmentation fault, when running our python
and wxpython application. This is rather vague information, but does
anybody have any experience of what could cause this? I mean, most of
the time both python and wxpython generates nice tracebacks. Here,
nothing happens, just segmentation fault on start-up.

Tell them to do the following:

- ulimit -c unlimited (sets the core dump size to be unlimited)
- run your program (it should say that core was dumped)
- run the debugger and get a backtrace

      $ gdb executable corefile
      (gdb) bt

The backtrace will show you in what code the issue happened. It could
be in wxPython, or it could be elsewhere in the system libraries. You'll
have no idea without a backtrace. If you can't work out enough information
from the gdb backtrace, then you'll need to get a C programmer to have
a look at it, possibly produce debug libraries etc.

Roger