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

Re: gEDA-user: segfault in latest gschem snapshot 1.0.1-20070626



On Jul 4, 2007, at 12:05 PM, Peter TB Brett wrote:

> On Wednesday 04 July 2007 20:00:44 Andy Peters wrote:
>> On OS X 10.4.10, Intel, I get a segfault when attempting to load a
>> previously-created schematic file (one made with the old fink
>> snapshot).  Here is the gdb session:
>
> Hi there,
>
> A backtrace would be useful. ;)

Perhaps the following gdb "disassemble" output is helpful?

0x0138890c <g_type_check_instance_cast+390>:    cmpl   $0x8,28(%edx,% 
eax,4)
0x01388911 <g_type_check_instance_cast+395>:    je     0x1388966  
<g_type_check_instance_cast+480>
0x01388913 <g_type_check_instance_cast+397>:    xor    %esi,%esi
0x01388915 <g_type_check_instance_cast+399>:    mov    -32(%ebp),%eax
0x01388918 <g_type_check_instance_cast+402>:    mov    %eax,(%esp)
0x0138891b <g_type_check_instance_cast+405>:    call   0x139c38e  
<dyld_stub_g_static_rw_lock_reader_unlock>
0x01388920 <g_type_check_instance_cast+410>:    test   %esi,%esi
0x01388922 <g_type_check_instance_cast+412>:    jne    0x138885b  
<g_type_check_instance_cast+213>
0x01388928 <g_type_check_instance_cast+418>:    mov    8(%ebp),%edx
0x0138892b <g_type_check_instance_cast+421>:    mov    (%edx),%edx
0x0138892d <g_type_check_instance_cast+423>:    mov    %edx,-36(%ebp)
0x01388930 <g_type_check_instance_cast+426>:    jmp    0x1388821  
<g_type_check_instance_cast+155>
0x01388935 <g_type_check_instance_cast+431>:    mov    12(%ebp),%eax
0x01388938 <g_type_check_instance_cast+434>:    call   0x1387574  
<type_descriptive_name_I>
0x0138893d <g_type_check_instance_cast+439>:    mov    %eax,12(%esp)
0x01388941 <g_type_check_instance_cast+443>:    lea    67176(%ebx),%eax
0x01388947 <g_type_check_instance_cast+449>:    mov    %eax,8(%esp)
0x0138894b <g_type_check_instance_cast+453>:    movl   $0x10,4(%esp)
0x01388953 <g_type_check_instance_cast+461>:    lea    47244(%ebx),%eax
0x01388959 <g_type_check_instance_cast+467>:    mov    %eax,(%esp)
0x0138895c <g_type_check_instance_cast+470>:    call   0x139c073  
<dyld_stub_g_log>
0x01388961 <g_type_check_instance_cast+475>:    jmp    0x138885b  
<g_type_check_instance_cast+213>
0x01388966 <g_type_check_instance_cast+480>:    movzwl 6(%edi),%eax
0x0138896a <g_type_check_instance_cast+484>:    test   $0x1ff0,%ax
0x0138896e <g_type_check_instance_cast+488>:    je     0x1388913  
<g_type_check_instance_cast+397>
0x01388970 <g_type_check_instance_cast+490>:    mov    24(%edi),%esi
0x01388973 <g_type_check_instance_cast+493>:    sub    $0xc,%esi
0x01388976 <g_type_check_instance_cast+496>:    shr    $0x4,%ax
0x0138897a <g_type_check_instance_cast+500>:    mov    %eax,%ecx
0x0138897c <g_type_check_instance_cast+502>:    and    $0x1ff,%ecx
0x01388982 <g_type_check_instance_cast+508>:    mov    28(%edx),%edi
0x01388985 <g_type_check_instance_cast+511>:    jmp    0x138898f  
<g_type_check_instance_cast+521>
0x01388987 <g_type_check_instance_cast+513>:    sub    %edx,%ecx
0x01388989 <g_type_check_instance_cast+515>:    mov    %eax,%esi
0x0138898b <g_type_check_instance_cast+517>:    test   %ecx,%ecx
0x0138898d <g_type_check_instance_cast+519>:    je     0x1388913  
<g_type_check_instance_cast+397>
0x0138898f <g_type_check_instance_cast+521>:    lea    1(%ecx),%edx
0x01388992 <g_type_check_instance_cast+524>:    shr    %edx
0x01388994 <g_type_check_instance_cast+526>:    lea    (%edx,%edx,2),% 
eax
0x01388997 <g_type_check_instance_cast+529>:    lea    (%esi,%eax,4),% 
eax
0x0138899a <g_type_check_instance_cast+532>:    cmp    (%eax),%edi
0x0138899c <g_type_check_instance_cast+534>:    je     0x13889a5  
<g_type_check_instance_cast+543>
0x0138899e <g_type_check_instance_cast+536>:    ja     0x1388987  
<g_type_check_instance_cast+513>
0x013889a0 <g_type_check_instance_cast+538>:    lea    -1(%edx),%ecx
0x013889a3 <g_type_check_instance_cast+541>:    jmp    0x138898b  
<g_type_check_instance_cast+517>
0x013889a5 <g_type_check_instance_cast+543>:    mov    $0x1,%esi
0x013889aa <g_type_check_instance_cast+548>:    jmp    0x1388915  
<g_type_check_instance_cast+399>
End of assembler dump.
(gdb)




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