[Pkg-electronics-devel] Bug#796263: pcb-lesstif: SIGSEGV when clicking `Next' in `DRC check' Message Box

Johann Klammer klammerj at a1.net
Thu Aug 20 21:40:45 UTC 2015


Package: pcb-lesstif
Version: 20140316-3
Severity: important

Good evening,

When running a drc check on a pcb board, I ran into a SIGSEGV. 
It does not happen right away, might be a delayed effect of memory corruption...
I did some editing to correct drc fails, and had caused a short 
during the editing (orange pads) right before I clicked the `Next button'.
It's the second time now that this happens. I had installed a recent 
version of pcb-lesstif earlier today to see if that would fix it. 
Also updated some of the UI libraries it depends on(I'm using the testing release). 
It did not help. 

[...]
~# dpkg -l \*pcb\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                              Version               Architecture          Description
+++-=================================-=====================-=====================-========================================================================
ii  geda-xgsch2pcb                    0.1.3-3               all                   GPL EDA -- Electronics design software -- gschem -> PCB workflow GUI
ii  pcb                               20140316-3            all                   printed circuit board (pcb) design program - meta-package
ii  pcb-common                        20140316-3            all                   printed circuit board (pcb) design program - common files
un  pcb-gtk                           <none>                <none>                (no description available)
ii  pcb-lesstif                       20140316-3            i386                  printed circuit board (pcb) design program - LessTif interface
ii  rpcbind                           0.2.1-4               i386                  converts RPC program numbers into universal addresses
[...]

backtrace:
[...]
Warning: 
    Name: vscroll
    Class: XmScrollBar
    The specified scrollbar value is less than the minimum
    scrollbar value.


Program received signal SIGSEGV, Segmentation fault.
0x0809ad21 in ?? ()
(gdb) bt full
#0  0x0809ad21 in ?? ()
No symbol table info available.
#1  0x0809adc3 in ?? ()
No symbol table info available.
#2  0x080a1a40 in ?? ()
No symbol table info available.
#3  0x080a2101 in DRCAll ()
No symbol table info available.
#4  0x08063750 in ?? ()
No symbol table info available.
#5  0x080ee544 in hid_actionv ()
No symbol table info available.
#6  0x080eeaa4 in ?? ()
No symbol table info available.
#7  0x081136e4 in ?? ()
No symbol table info available.
#8  0xb7c72027 in XtCallCallbackList (widget=0x83f9678, callbacks=0x83f9898, call_data=0xbfffef60) at ../../src/Callback.c:625
        icl = 0x83f9898
        cl = 0x83f989c
        i = <optimized out>
        ostate = <optimized out>
        app = <optimized out>
#9  0xb7d77824 in ?? () from /usr/lib/i386-linux-gnu/libXm.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#10 0xb7ca614c in HandleActions (w=w at entry=0x83f9678, event=0xbffff36c, accelWidget=<optimized out>, procs=0x83a52c4, actions=<optimized out>, 
    stateTree=<optimized out>) at ../../src/TMstate.c:644
        actionHookList = 0x0
        bindWidget = <optimized out>
#11 0xb7ca6555 in HandleSimpleState (w=w at entry=0x83f9678, tmRecPtr=tmRecPtr at entry=0x83f96a8, curEventPtr=0xbffff098) at ../../src/TMstate.c:883
        bindData = <optimized out>
        procs = <optimized out>
        accelWidget = <optimized out>
        xlations = 0x83a4c50
        stateTree = 0x83a3770
        contextPtr = 0x83f96b0
        i = 2
        actions = 0xb7ccb2cc <dummyAction.9515>
        matchExact = 1 '\001'
        match = 1 '\001'
        complexMatchState = 0x0
        currIndex = 6
        typeIndex = 29
        modIndex = 2
        matchTreeIndex = 1
#12 0xb7ca7493 in _XtTranslateEvent (w=0x83f9678, event=0xbffff36c) at ../../src/TMstate.c:1101
        tmRecPtr = 0x83f96a8
---Type <return> to continue, or q <return> to quit---
        curEvent = {xev = 0xbffff36c, event = {modifiers = 256, modifierMask = 0, lateModifiers = 0x0, eventType = 5, eventCode = 1, eventCodeMask = 0, 
            matchEvent = 0x0, standard = 0 '\000'}}
        current_state = <optimized out>
#13 0xb7c7fb9d in XtDispatchEventToWidget (widget=0x83f9678, event=0xbffff36c) at ../../src/Event.c:906
        p = <optimized out>
        was_dispatched = 0 '\000'
        call_tm = <optimized out>
        cont_to_disp = 1 '\001'
        mask = <optimized out>
        app = <optimized out>
#14 0xb7c802a0 in _XtDefaultDispatcher (event=0xbffff36c) at ../../src/Event.c:1367
        was_dispatched = 120 'x'
        app = 0x0
#15 0xb7c8041b in XtDispatchEvent (event=0xbffff36c) at ../../src/Event.c:1423
        was_dispatched = <optimized out>
        safe = <optimized out>
        dispatch_level = <optimized out>
        starting_count = 0
        pd = <optimized out>
        time = <optimized out>
        dispatch = <optimized out>
        app = 0x81e65a0
#16 0xb7c8c128 in XtAppProcessEvent (app=0x81e65a0, mask=15) at ../../src/NextEvent.c:1397
---Type <return> to continue, or q <return> to quit---
        i = <optimized out>
        cur_time = {tv_sec = 1440103791, tv_usec = 8749}
        d = 0
        event = {type = 5, xany = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288}, xkey = {type = 5, serial = 145206, 
            send_event = 0, display = 0x81e7070, window = 25166288, root = 260, subwindow = 0, time = 9254289, x = 168, y = 9, x_root = 506, y_root = 513, 
            state = 256, keycode = 1, same_screen = 1}, xbutton = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, 
            root = 260, subwindow = 0, time = 9254289, x = 168, y = 9, x_root = 506, y_root = 513, state = 256, button = 1, same_screen = 1}, xmotion = {
            type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, root = 260, subwindow = 0, time = 9254289, x = 168, y = 9, 
            x_root = 506, y_root = 513, state = 256, is_hint = 1 '\001', same_screen = 1}, xcrossing = {type = 5, serial = 145206, send_event = 0, 
            display = 0x81e7070, window = 25166288, root = 260, subwindow = 0, time = 9254289, x = 168, y = 9, x_root = 506, y_root = 513, mode = 256, 
            detail = 1, same_screen = 1, focus = 1, state = 256}, xfocus = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, 
            mode = 260, detail = 0}, xexpose = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, x = 260, y = 0, 
            width = 9254289, height = 168, count = 9}, xgraphicsexpose = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, drawable = 25166288, 
            x = 260, y = 0, width = 9254289, height = 168, count = 9, major_code = 506, minor_code = 513}, xnoexpose = {type = 5, serial = 145206, 
            send_event = 0, display = 0x81e7070, drawable = 25166288, major_code = 260, minor_code = 0}, xvisibility = {type = 5, serial = 145206, 
            send_event = 0, display = 0x81e7070, window = 25166288, state = 260}, xcreatewindow = {type = 5, serial = 145206, send_event = 0, 
            display = 0x81e7070, parent = 25166288, window = 260, x = 0, y = 9254289, width = 168, height = 9, border_width = 506, override_redirect = 513}, 
          xdestroywindow = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, event = 25166288, window = 260}, xunmap = {type = 5, 
            serial = 145206, send_event = 0, display = 0x81e7070, event = 25166288, window = 260, from_configure = 0}, xmap = {type = 5, serial = 145206, 
            send_event = 0, display = 0x81e7070, event = 25166288, window = 260, override_redirect = 0}, xmaprequest = {type = 5, serial = 145206, 
            send_event = 0, display = 0x81e7070, parent = 25166288, window = 260}, xreparent = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, 
            event = 25166288, window = 260, parent = 0, x = 9254289, y = 168, override_redirect = 9}, xconfigure = {type = 5, serial = 145206, send_event = 0, 
            display = 0x81e7070, event = 25166288, window = 260, x = 0, y = 9254289, width = 168, height = 9, border_width = 506, above = 513, 
---Type <return> to continue, or q <return> to quit---
            override_redirect = 256}, xgravity = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, event = 25166288, window = 260, x = 0, 
            y = 9254289}, xresizerequest = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, width = 260, height = 0}, 
          xconfigurerequest = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, parent = 25166288, window = 260, x = 0, y = 9254289, 
            width = 168, height = 9, border_width = 506, above = 513, detail = 256, value_mask = 1}, xcirculate = {type = 5, serial = 145206, send_event = 0, 
            display = 0x81e7070, event = 25166288, window = 260, place = 0}, xcirculaterequest = {type = 5, serial = 145206, send_event = 0, 
            display = 0x81e7070, parent = 25166288, window = 260, place = 0}, xproperty = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, 
            window = 25166288, atom = 260, time = 0, state = 9254289}, xselectionclear = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, 
            window = 25166288, selection = 260, time = 0}, xselectionrequest = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, 
            owner = 25166288, requestor = 260, selection = 0, target = 9254289, property = 168, time = 9}, xselection = {type = 5, serial = 145206, 
            send_event = 0, display = 0x81e7070, requestor = 25166288, selection = 260, target = 0, property = 9254289, time = 168}, xcolormap = {type = 5, 
            serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, colormap = 260, new = 0, state = 9254289}, xclient = {type = 5, 
            serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, message_type = 260, format = 0, data = {
              b = "\221\065\215\000\250\000\000\000\t\000\000\000\372\001\000\000\001\002\000", s = {13713, 141, 168, 0, 9, 0, 506, 0, 513, 0}, l = {9254289, 
                168, 9, 506, 513}}}, xmapping = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, request = 260, 
            first_keycode = 0, count = 9254289}, xerror = {type = 5, display = 0x23736, resourceid = 0, serial = 136212592, error_code = 208 '\320', 
            request_code = 1 '\001', minor_code = 128 '\200'}, xkeymap = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, window = 25166288, 
            key_vector = "\004\001\000\000\000\000\000\000\221\065\215\000\250\000\000\000\t\000\000\000\372\001\000\000\001\002\000\000\000\001\000"}, 
          xgeneric = {type = 5, serial = 145206, send_event = 0, display = 0x81e7070, extension = 25166288, evtype = 260}, xcookie = {type = 5, 
            serial = 145206, send_event = 0, display = 0x81e7070, extension = 25166288, evtype = 260, cookie = 0, data = 0x8d3591}, pad = {5, 145206, 0, 
            136212592, 25166288, 260, 0, 9254289, 168, 9, 506, 513, 256, 1, 1, 1, 256, 0, 0, 0, 0, 0, 0, 0}}
#17 0xb7c8086b in XtAppMainLoop (app=0x81e65a0) at ../../src/Event.c:1554
No locals.
#18 0x081115c5 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#19 0x0805cf29 in main ()
No symbol table info available.
(gdb) 

[...]


The scroll bar messages seem harmless and show up every time the pcb is smaller than the window in either 
the x or y dimension. They are mildly annoying but do not seem to be the cause of the problem. 



More information about the Pkg-electronics-devel mailing list