NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/52793: Firefox cores at exit in mesa callback



>Number:         52793
>Category:       lib
>Synopsis:       Firefox cores at exit in mesa callback
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 08 16:30:00 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.9
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.9 NetBSD 8.99.9 (NIGHT-OWL) #562: Thu Dec 7 12:00:12 CET 2017 martin%night-owl.duskware.de@localhost:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

With -current and firefox-57.0.1:
 - start firefox
 - quit firefox

notice there is a core file in your home directory.

Reading symbols from firefox...(no debugging symbols found)...done.
[New process 1]
[New process 2]
Core was generated by `firefox'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7fda01010a in ?? ()
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x00007f7fda01010a in ?? ()
#1  0x00007f7fd9266e6d in _mesa_map_function_spec (spec=0x7f7fd95a910b "", 
    spec@entry=0x7f7fd95a90d2 "iiiiiip")
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/remap.c:109
#2  0x00007f7fd9266fb9 in _mesa_do_init_remap_table (size=747, 
    remap=0x7f7fd95a3360, pool=<optimized out>)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/remap.c:203
#3  _mesa_init_remap_table ()
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/remap.c:217
#4  0x00007f7fd92c7a65 in one_time_init (ctx=0x7f7ff6f59000)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/context.c:423
#5  _mesa_initialize_context (ctx=ctx@entry=0x7f7ff6f59000, 
    api=api@entry=API_OPENGL_COMPAT, visual=visual@entry=0x7f7fffffd7d0, 
    share_list=share_list@entry=0x0, 
    driverFunctions=driverFunctions@entry=0x7f7fffffd210)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/context.c:1104
#6  0x00007f7fd92c835e in _mesa_create_context (
    api=api@entry=API_OPENGL_COMPAT, visual=visual@entry=0x7f7fffffd7d0, 
    share_list=share_list@entry=0x0, 
    driverFunctions=driverFunctions@entry=0x7f7fffffd210)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/main/context.c:1225
#7  0x00007f7fd91772d3 in st_create_context (api=api@entry=API_OPENGL_COMPAT, 
    pipe=pipe@entry=0x7f7ff7341000, visual=visual@entry=0x7f7fffffd7d0, 
    share=share@entry=0x0, options=options@entry=0x7f7fffffd908)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/st_context.c:266
#8  0x00007f7fd9174582 in st_api_create_context (stapi=<optimized out>, 
    smapi=0x7f7ff731a1f0, attribs=0x7f7fffffd8e0, error=0x7f7fffffd8dc, 
    shared_stctxi=0x0)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/st_manager.c:665
#9  0x00007f7fd90be022 in dri_create_context (api=<optimized out>, 
    visual=0x7f7ff731cbe0, cPriv=0x7f7ff7312bf0, 
    major_version=<optimized out>, minor_version=<optimized out>, 
    flags=<optimized out>, notify_reset=false, error=0x7f7fffffd9fc, 
    sharedContextPrivate=0x0)
    at /usr/xsrc/external/mit/MesaLib/dist/src/gallium/state_trackers/dri/dri_context.c:112
#10 0x00007f7fd90c4c16 in driCreateContextAttribs (screen=0x7f7ff731a140, 
    api=api@entry=0, config=0x7f7ff731cbe0, shared=<optimized out>, 
    num_attribs=num_attribs@entry=0, attribs=attribs@entry=0x0, 
    error=error@entry=0x7f7fffffd9fc, data=0x7f7ff73370b0)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common/dri_util.c:435
#11 0x00007f7fd90c4d2f in driCreateNewContextForAPI (data=<optimized out>, 
    shared=<optimized out>, config=<optimized out>, api=0, 
    screen=<optimized out>)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common/dri_util.c:464
#12 driCreateNewContext (screen=<optimized out>, config=<optimized out>, 
    shared=<optimized out>, data=<optimized out>)
    at /usr/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common/dri_util.c:472
#13 0x00007f7fdbc58b02 in dri2_create_context (base=0x7f7ff7333040, 
    config_base=0x7f7ff6f09c60, shareList=<optimized out>, renderType=32788)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/dri2_glx.c:223
#14 0x00007f7fdbc52871 in CreateContext (dpy=dpy@entry=0x7f7ff7301000, 
    generic_id=520, config=0x7f7ff6f09c60, 
    shareList_user=shareList_user@entry=0x0, allowDirect=allowDirect@entry=1, 
    code=code@entry=3, renderType=32788, screen=0)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/glxcmds.c:299
#15 0x00007f7fdbc52b2e in glXCreateContext (dpy=0x7f7ff7301000, 
    vis=0x7f7ff7393c00, shareList=0x0, allowDirect=1)
    at /usr/xsrc/external/mit/MesaLib/dist/src/glx/glxcmds.c:430
#16 0x00007f7fe6adb906 in ?? () from /usr/pkg/lib/firefox/libxul.so
#17 0x00007f7fe6adbb2f in ?? () from /usr/pkg/lib/firefox/libxul.so
#18 0x00007f7fe6ad3345 in ?? () from /usr/pkg/lib/firefox/libxul.so
#19 0x00007f7fe6ad7651 in ?? () from /usr/pkg/lib/firefox/libxul.so
#20 0x00007f7fe6ad7d8c in ?? () from /usr/pkg/lib/firefox/libxul.so
...

>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index