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

Re: gEDA-bug: [Bug 832682] [NEW] Errors and crash when importing Eagle .sch file



We might want to detect the file kind for known other schematic types
and post an error message that clearly states the incompatibility.

perhaps even suggesting a converter is one exists.

Steve

On Aug 24, 2011, at 4:18 AM, Marius Kotsbak wrote:

> Public bug reported:
> 
> When importing a .sch file made by Eagle, I get a lot of these:
> 
> Tried to attach a non-text item as an attribute
> 
> ** (gschem:26660): CRITICAL **: o_pin_set_type: Got invalid pin type
> 25799
> 
> ï0ï"ï03zHïï ï<<
> Read garbage in [filename.sch]
> 
> and finally:
> 
> ERROR:o_text_basic.c:422:o_text_read: assertion failed: (num_lines &&
> num_lines > 0)
> 
> Backtrace is:
> 
> #0  0xb7fe1424 in __kernel_vsyscall ()
> #1  0xb766ce71 in raise () from /lib/i386-linux-gnu/libc.so.6
> #2  0xb767034e in abort () from /lib/i386-linux-gnu/libc.so.6
> #3  0xb79753a0 in g_assertion_message () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #4  0xb797597d in g_assertion_message_expr () from /lib/i386-linux-gnu/libglib-2.0.so.0
> #5  0xb77ea975 in o_text_read () from /usr/lib/libgeda.so.38
> #6  0xb77dd796 in o_read_attribs () from /usr/lib/libgeda.so.38
> #7  0xb77d2821 in o_read_buffer () from /usr/lib/libgeda.so.38
> #8  0xb77d28de in o_read () from /usr/lib/libgeda.so.38
> #9  0xb77d317e in f_open_flags () from /usr/lib/libgeda.so.38
> #10 0xb77d3553 in f_open () from /usr/lib/libgeda.so.38
> #11 0x08099ac3 in ?? ()
> #12 0x0805d345 in ?? ()
> #13 0xb788ff26 in ?? () from /usr/lib/libguile.so.17
> #14 0xb78611e2 in ?? () from /usr/lib/libguile.so.17
> #15 0xb78d7ea3 in scm_c_catch () from /usr/lib/libguile.so.17
> #16 0xb78618a2 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
> #17 0xb7861983 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
> #18 0xb78d5d49 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
> #19 0xb78d5e3e in scm_with_guile () from /usr/lib/libguile.so.17
> #20 0xb789001f in scm_boot_guile () from /usr/lib/libguile.so.17
> #21 0x0805d677 in ?? ()
> #22 0xb7658e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
> #23 0x08055991 in ?? ()
> 
> ** Affects: geda
>     Importance: Undecided
>         Status: New
> 
> -- 
> You received this bug notification because you are a member of gEDA Bug
> Team, which is subscribed to gEDA.
> https://bugs.launchpad.net/bugs/832682
> 
> Title:
>  Errors and crash when importing Eagle .sch file
> 
> Status in GPL Electronic Design Automation tools:
>  New
> 
> Bug description:
>  When importing a .sch file made by Eagle, I get a lot of these:
> 
>  Tried to attach a non-text item as an attribute
> 
>  ** (gschem:26660): CRITICAL **: o_pin_set_type: Got invalid pin type
>  25799
> 
>  ï0ï"ï03zHïï ï<<
>  Read garbage in [filename.sch]
> 
>  and finally:
> 
>  ERROR:o_text_basic.c:422:o_text_read: assertion failed: (num_lines &&
>  num_lines > 0)
> 
>  Backtrace is:
> 
>  #0  0xb7fe1424 in __kernel_vsyscall ()
>  #1  0xb766ce71 in raise () from /lib/i386-linux-gnu/libc.so.6
>  #2  0xb767034e in abort () from /lib/i386-linux-gnu/libc.so.6
>  #3  0xb79753a0 in g_assertion_message () from /lib/i386-linux-gnu/libglib-2.0.so.0
>  #4  0xb797597d in g_assertion_message_expr () from /lib/i386-linux-gnu/libglib-2.0.so.0
>  #5  0xb77ea975 in o_text_read () from /usr/lib/libgeda.so.38
>  #6  0xb77dd796 in o_read_attribs () from /usr/lib/libgeda.so.38
>  #7  0xb77d2821 in o_read_buffer () from /usr/lib/libgeda.so.38
>  #8  0xb77d28de in o_read () from /usr/lib/libgeda.so.38
>  #9  0xb77d317e in f_open_flags () from /usr/lib/libgeda.so.38
>  #10 0xb77d3553 in f_open () from /usr/lib/libgeda.so.38
>  #11 0x08099ac3 in ?? ()
>  #12 0x0805d345 in ?? ()
>  #13 0xb788ff26 in ?? () from /usr/lib/libguile.so.17
>  #14 0xb78611e2 in ?? () from /usr/lib/libguile.so.17
>  #15 0xb78d7ea3 in scm_c_catch () from /usr/lib/libguile.so.17
>  #16 0xb78618a2 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
>  #17 0xb7861983 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
>  #18 0xb78d5d49 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
>  #19 0xb78d5e3e in scm_with_guile () from /usr/lib/libguile.so.17
>  #20 0xb789001f in scm_boot_guile () from /usr/lib/libguile.so.17
>  #21 0x0805d677 in ?? ()
>  #22 0xb7658e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
>  #23 0x08055991 in ?? ()
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/geda/+bug/832682/+subscriptions
> 
> 
> _______________________________________________
> geda-bug mailing list
> geda-bug@xxxxxxxxxxxxxx
> http://www.seul.org/cgi-bin/mailman/listinfo/geda-bug

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

Title:
  Errors and crash when importing Eagle .sch file

Status in GPL Electronic Design Automation tools:
  New

Bug description:
  When importing a .sch file made by Eagle, I get a lot of these:

  Tried to attach a non-text item as an attribute

  ** (gschem:26660): CRITICAL **: o_pin_set_type: Got invalid pin type
  25799

  ï0ï"ï03zHïï ï<<
  Read garbage in [filename.sch]

  and finally:

  ERROR:o_text_basic.c:422:o_text_read: assertion failed: (num_lines &&
  num_lines > 0)

  Backtrace is:

  #0  0xb7fe1424 in __kernel_vsyscall ()
  #1  0xb766ce71 in raise () from /lib/i386-linux-gnu/libc.so.6
  #2  0xb767034e in abort () from /lib/i386-linux-gnu/libc.so.6
  #3  0xb79753a0 in g_assertion_message () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #4  0xb797597d in g_assertion_message_expr () from /lib/i386-linux-gnu/libglib-2.0.so.0
  #5  0xb77ea975 in o_text_read () from /usr/lib/libgeda.so.38
  #6  0xb77dd796 in o_read_attribs () from /usr/lib/libgeda.so.38
  #7  0xb77d2821 in o_read_buffer () from /usr/lib/libgeda.so.38
  #8  0xb77d28de in o_read () from /usr/lib/libgeda.so.38
  #9  0xb77d317e in f_open_flags () from /usr/lib/libgeda.so.38
  #10 0xb77d3553 in f_open () from /usr/lib/libgeda.so.38
  #11 0x08099ac3 in ?? ()
  #12 0x0805d345 in ?? ()
  #13 0xb788ff26 in ?? () from /usr/lib/libguile.so.17
  #14 0xb78611e2 in ?? () from /usr/lib/libguile.so.17
  #15 0xb78d7ea3 in scm_c_catch () from /usr/lib/libguile.so.17
  #16 0xb78618a2 in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
  #17 0xb7861983 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
  #18 0xb78d5d49 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
  #19 0xb78d5e3e in scm_with_guile () from /usr/lib/libguile.so.17
  #20 0xb789001f in scm_boot_guile () from /usr/lib/libguile.so.17
  #21 0x0805d677 in ?? ()
  #22 0xb7658e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
  #23 0x08055991 in ?? ()

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


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