[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference noted::motif

Title:"OSF/Motif" is a trademark
Notice:MOTIF kit note in 7.*
Moderator:GOOEY::GRASS
Created:Mon Aug 07 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5973
Total number of notes:24620

5937.0. "Segmentation Fault in RowColumn.c" by ALFAXP::RETTERER () Thu Mar 06 1997 16:33

    Hello, 
    
    It's me again with yet another customer issue:
    
    This time, I have a customer who has a legacy application (Sybase) that
    ran fine on OSF/1 Unix 3.0 347.  They are migrating their application
    to v3.2-214 and 3.2-41.  They link their application with the following
    libraries:  libX11.a, libXm.a, libXmu.a and libXt.a.
    
    With version 3.2-214 and 3.2-41, their application receives a SIGSEGV
    (segmentation fault) 0x1205e0a5c in ButtonMenuPopDown () at
    RowColumn.c:5037.
    
    Here is the output from a v3.2-214 debug session:
    
    (gdb) break _XmMenuPopDown
    Breakpoint 1 at 0x1205e04c0: file RowColumn.c, line 4900.
    (gdb) commands
    Type commands for when breakpoint 1 is hit, one per line.
    End with a line saying just "end".
    >bt
    >cont
    >end
    (gdb) break ButtonMenuPopDown
    Breakpoint 2 at 0x1205e0930: file RowColumn.c, line 5010.
    (gdb) commands
    Type commands for when breakpoint 2 is hit, one per line.
    End with a line saying just "end".
    >bt
    >cont
    >end
    (gdb) run
    Starting program:
    /auto/remote/smp2/rsm/rsm11.0/handoff/ho33port_MATs_axp_osf1/.
    /bin/rsm.spumoni
    
    Breakpoint 2, ButtonMenuPopDown () at RowColumn.c:5010
    RowColumn.c:5010: No such file or directory.
    Current language:  auto; currently c
    #0  ButtonMenuPopDown () at RowColumn.c:5010
    #1  0x1205f26b4 in MenuProcedureEntry () at RowColumn.c:12164
    #2  0x1205fcaf0 in BtnUp () at PushB.c:1242
    #3  0x120704b8c in HandleActions () at TMstate.c:602
    #4  0x12070520c in HandleSimpleState () at TMstate.c:829
    #5  0x120705838 in _XtTranslateEvent () at TMstate.c:1036
    #6  0x1206ebd84 in DispatchEvent () at Event.c:747
    #7  0x1206ec618 in DecideToDispatch () at Event.c:1087
    #8  0x1206ec75c in XtDispatchEvent () at Event.c:1128
    #9  0x1206ecbdc in XtAppMainLoop () at Event.c:1252
    #10 0x1206ecb8c in XtMainLoop () at Event.c:1242
    #11 0x1200e9220 in main (argc=1, argv=0x11fffe868)
        at /auto/remote/essmbuild/rsm/codeline/client/front/test/rsm.C:1686
    
    Program received signal SIGSEGV, Segmentation fault.
    0x1205e0a5c in ButtonMenuPopDown () at RowColumn.c:5037
    RowColumn.c:5037: No such file or directory.
    (gdb) quit
    
    And here is one from a V3.2-41 debug session:
    
    (gdb) break _XmMenuPopDown
    Breakpoint 1 at 0x1205dd260
    (gdb) commands
    Type commands for when breakpoint 1 is hit, one per line.
    End with a line saying just "end".
    >bt cont
    >end
    (gdb) break ButtonMenuPopDown
    Function "ButtonMenuPopDown" not defined.
    (gdb) run
    Program received signal SIGSEGV, Segmentation fault.
    0x1205dd7fc in _XmMenuPopDown ()
    
    
    We sent him the latest Motif 1.2-3 patches for 3.2 but it has not made
    any difference.  Currently, I am having him try to disable tear_off
    menus in his application to see if this makes any difference.
    
    Any help on this would be greatly appreciated.
    
    Rick Retterer
    Workstation/Graphics Support
    Alpharetta, GA.
    
    
T.RTitleUserPersonal
Name
DateLines