[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-bug: [Bug 795545] Re: gschem crashes at startup under wine/win7



A commit was made which affects this bug
git master commit 4b8c6745629f7c316c7ff9f09e4a6301a8d20a74
http://git.gpleda.org/?p=gaf.git;a=commit;h=4b8c6745629f7c316c7ff9f09e4a6301a8d20a74

commit 4b8c6745629f7c316c7ff9f09e4a6301a8d20a74
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    libgeda: Fix crash on startup on Windows.
    
    If the GEDADATA environment variable was not set on Windows, libgeda
    was unable to determine the gEDA system data directory. It would then
    attempt to make a Scheme string from the resulting NULL pointer,
    causing a crash.
    
    This patch alters the behaviour on Windows. If GEDADATA is not set,
    libgeda now guesses that the system data directory is the current
    working directory.
    
    Unfortunately, this will still prevent most gEDA programs from working
    due to not being able to locate data files, but it will prevent an
    uninformative segfault on startup.
    
    Affects-bug: lp-795545

-- 
You received this bug notification because you are a member of gEDA Bug
Team, which is subscribed to gEDA.
https://bugs.launchpad.net/bugs/795545

Title:
  gschem crashes at startup under wine/win7

Status in GPL Electronic Design Automation tools:
  Triaged

Bug description:
  Just exits under win7, wine gives a stacktrace...  this is just
  "./gschem"

  wine: Unhandled page fault on read access to 0x00000000 at address 0x681fa526 (thread 000b), starting debugger...
  Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x681fa526).
  Register dump:
   CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
   EIP:681fa526 ESP:0066fb34 EBP:0066fb58 EFLAGS:00010283(  R- --  I S - - -C)
   EAX:00000000 EBX:7bcabd4c ECX:00000000 EDX:00000000
   ESI:00219308 EDI:00000000
  Stack dump:
  0x0066fb34:  00000000 00219308 7bc751be 00000000
  0x0066fb44:  66307780 0066fb88 6bfad4e2 7bc751a9
  0x0066fb54:  00000000 0066fb98 6bfd4ea9 00000000
  0x0066fb64:  6634460d 0066fba8 0066fdf0 00219308
  0x0066fb74:  00000000 0066fb98 6631c991 663470af
  0x0066fb84:  00000000 0066fbb8 0066fdf0 00219308
  000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
  Backtrace:
  =>0 0x681fa526 __strlen_sse2_bsf+0x16() in libc.so.6 (0x0066fb58)
    1 0x7bc751be NTDLL_strlen+0x1d() in ntdll (0x0066fb58)
    2 0x6bfd4ea9 in libguile-17 (+0x54ea8) (0x0066fb98)
    3 0x66307853 in libgeda-38 (+0x7852) (0x0066fbb8)
    4 0x66308c5a in libgeda-38 (+0x8c59) (0x0066fbd8)
    5 0x00408ba2 in gschem (+0x8ba1) (0x0066fc28)
    6 0x6bfb0e5a in libguile-17 (+0x30e59) (0x0066fc48)
    7 0x6bf85242 in libguile-17 (+0x5241) (0x0066fc68)
    8 0x6bff108c in libguile-17 (+0x7108b) (0x0066fcf8)
    9 0x6bf854f1 in libguile-17 (+0x54f0) (0x0066fd58)
    10 0x6bf85927 in libguile-17 (+0x5926) (0x0066fd88)
    11 0x6bff011b in libguile-17 (+0x7011a) (0x0066fdb8)
    12 0x6bff0161 in libguile-17 (+0x70160) (0x0066fdd8)
    13 0x6bfb0f11 in libguile-17 (+0x30f10) (0x0066fe08)
    14 0x0040914c in gschem (+0x914b) (0x0066fe28)
    15 0x004010b6 in gschem (+0x10b5) (0x0066fe70)
    16 0x00401128 in gschem (+0x1127) (0x0066fe90)
    17 0x7b858b4c call_process_entry+0xb() in kernel32 (0x0066fea8)
    18 0x7b859831 ExitProcess+0xce0() in kernel32 (0x0066fee8)
    19 0x7bc71708 call_thread_func+0xb() in ntdll (0x0066fef8)
    20 0x7bc74f0f in ntdll (+0x64f0e) (0x0066ffc8)
    21 0x7bc495bf call_dll_entry_point+0x61e() in ntdll (0x0066ffe8)
    22 0x6802853d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)

To manage notifications about this bug go to:
https://bugs.launchpad.net/geda/+bug/795545/+subscriptions


_______________________________________________
geda-bug mailing list
geda-bug@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug