[Bug 265308] net/linphone 4.4.8,1 segfaults on startup

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Jul 2022 05:05:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265308

--- Comment #13 from p5B2EA84B3@t-online.de ---
(In reply to Felix Palmen from comment #12)
Felix, this is great advice an guiding for which I'm thankful as my learning
enters new territory. So here is the output for digging further:

Process 1097 stopped
* thread #7, name = 'linphone', stop reason = signal SIGSEGV: address access
protected (fault address: 0x32f79400)
    frame #0: 0x32f79400
->  0x32f79400: pushl  %ebp
    0x32f79401: pushl  %esi
    0x32f79402: xorl   %ecx, %ecx
    0x32f79404: movl   0x10(%esp), %ebp
(lldb) bt
* thread #7, name = 'linphone', stop reason = signal SIGSEGV: address access
protected (fault address: 0x32f79400)
  * frame #0: 0x32f79400
    frame #1: 0x2c205983 i915_dri.so`choose_emit_func(ctx=0x32ff3500, count=1,
dest="") at t_vertex.c:160:4
    frame #2: 0x2c2054c2
i915_dri.so`_tnl_emit_vertices_to_buffer(ctx=0x32ff3500, start=0, end=1,
dest=0x35637640) at t_vertex.c:470:4
    frame #3: 0x2c068d06 i915_dri.so`intel_emit_verts(ctx=0x32ff3500, start=0,
count=1, buf=0x35637640) at t_dd_dmatmp.h:58:11
    frame #4: 0x2c0684dc i915_dri.so`intel_render_tri_fan_verts(ctx=0x32ff3500,
start=0, count=4, flags=54) at t_dd_dmatmp.h:280:13
    frame #5: 0x2c06755a i915_dri.so`intel_run_render(ctx=0x32ff3500,
stage=0x32fd4a10) at intel_render.c:249:7
    frame #6: 0x2c1e273e i915_dri.so`_tnl_run_pipeline(ctx=0x32ff3500) at
t_pipeline.c:241:12
    frame #7: 0x2c07270f i915_dri.so`intelRunPipeline(ctx=0x32ff3500) at
intel_tris.c:1087:4
    frame #8: 0x2c1db399 i915_dri.so`_tnl_draw_prims(ctx=0x32ff3500,
arrays=0x32fd5820, prim=0xfaff7a3c, nr_prims=1, ib=0x00000000,
index_bounds_valid='\x01', min_index=0, max_index=3, num_instances=1,
base_instance=0) at t_draw.c:528:13
    frame #9: 0x2c1dbf4e i915_dri.so`_tnl_draw(ctx=0x32ff3500, prim=0xfaff7a3c,
nr_prims=1, ib=0x00000000, index_bounds_valid=true, primitive_restart=false,
restart_index=6, min_index=0, max_index=3, num_instances=1, base_instance=0) at
t_draw.c:647:4
    frame #10: 0x2c5bd90f
i915_dri.so`_mesa_draw_gallium_fallback(ctx=0x32ff3500, info=0xfaff7aac,
drawid_offset=0, draws=0xfaff7aa0, num_draws=1) at draw.c:1016:10
    frame #11: 0x2c5bef8b i915_dri.so`_mesa_draw_arrays(ctx=0x32ff3500, mode=6,
start=0, count=4, numInstances=1, baseInstance=0) at draw.c:1319:4
    frame #12: 0x2c5bedb2 i915_dri.so`_mesa_DrawArrays(mode=6, start=0,
count=4) at draw.c:1528:4
    frame #13: 0x2c309153 i915_dri.so`meta_clear(ctx=0x32ff3500, buffers=128,
glsl=true) at meta.c:1802:7
    frame #14: 0x2c3091c6 i915_dri.so`_mesa_meta_glsl_Clear(ctx=0x32ff3500,
buffers=128) at meta.c:1510:4
    frame #15: 0x2c05a9a9 i915_dri.so`intelClear(ctx=0x32ff3500, mask=144) at
intel_clear.c:183:3
    frame #16: 0x2c3706a5 i915_dri.so`_mesa_Clear at clear.c:225:7
    frame #17: 0x2c37033b i915_dri.so`_mesa_Clear(mask=16640) at clear.c:246:4
    frame #18: 0x2115be14
libQt5Quick.so.5`QOpenGLFunctions::glClear(this=0x2b7cfec8, mask=16640) at
qopenglfunctions.h:628:5
    frame #19: 0x2115a653 libQt5Quick.so.5`QSGBindable::clear(this=0xfaff87c0,
mode=(i = 3)) const at qsgrenderer.cpp:78:52
    frame #20: 0x2117719c
libQt5Quick.so.5`QSGBatchRenderer::Renderer::renderBatches(this=0x34f55000) at
qsgbatchrenderer.cpp:4022:21
    frame #21: 0x2117b809
libQt5Quick.so.5`QSGBatchRenderer::Renderer::render(this=0x34f55000) at
qsgbatchrenderer.cpp:4343:5
    frame #22: 0x2115afb1
libQt5Quick.so.5`QSGRenderer::renderScene(this=0x34f55000, bindable=0xfaff87c0)
at qsgrenderer.cpp:264:5
    frame #23: 0x21232eb5
libQt5Quick.so.5`QSGOpenGLLayer::grab(this=0x32f81d80) at
qsgopengllayer.cpp:447:25
    frame #24: 0x21231752
libQt5Quick.so.5`QSGOpenGLLayer::updateTexture(this=0x32f81d80) at
qsgopengllayer.cpp:187:9
    frame #25: 0x2149f565
libQt5Quick.so.5`QQuickOpenGLShaderEffectMaterial::updateTextures(this=0x3268bf00)
const at qquickopenglshadereffectnode.cpp:474:26
    frame #26: 0x2149fa27
libQt5Quick.so.5`QQuickOpenGLShaderEffectNode::preprocess(this=0x34f65080) at
qquickopenglshadereffectnode.cpp:516:66
    frame #27: 0x2149fa53 libQt5Quick.so.5`non-virtual thunk to
QQuickOpenGLShaderEffectNode::preprocess() at
qquickopenglshadereffectnode.cpp:0
    frame #28: 0x2115b899
libQt5Quick.so.5`QSGRenderer::preprocess(this=0x323aec00) at
qsgrenderer.cpp:337:16
    frame #29: 0x2115ae14
libQt5Quick.so.5`QSGRenderer::renderScene(this=0x323aec00, bindable=0xfaff8a4c)
at qsgrenderer.cpp:238:5
    frame #30: 0x2115ac8a
libQt5Quick.so.5`QSGRenderer::renderScene(this=0x323aec00, fboId=0) at
qsgrenderer.cpp:212:13
    frame #31: 0x21222155
libQt5Quick.so.5`QSGDefaultRenderContext::renderNextFrame(this=0x30ee4c30,
renderer=0x323aec00, fboId=0) at qsgdefaultrendercontext.cpp:228:15
    frame #32: 0x212d8569
libQt5Quick.so.5`QQuickWindowPrivate::renderSceneGraph(this=0x30e76800,
size=0x3169264c, surfaceSize=0xfaff8d98) at qquickwindow.cpp:616:22
    frame #33: 0x2123c387
libQt5Quick.so.5`QSGRenderThread::syncAndRender(this=0x31692600,
grabImage=0x00000000) at qsgthreadedrenderloop.cpp:837:12
    frame #34: 0x2123e4b1
libQt5Quick.so.5`QSGRenderThread::run(this=0x31692600) at
qsgthreadedrenderloop.cpp:1043:17
    frame #35: 0x23a6c3c7 libQt5Core.so.5`___lldb_unnamed_symbol7203 + 247
    frame #36: 0x2406c6e9 libthr.so.3`thread_start(curthread=0x3107a000) at
thr_create.c:292:16
(lldb) 

How would you change the title of this PR?

-- 
You are receiving this mail because:
You are the assignee for the bug.