Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Crash report #1484  -  [7E11F3C4] omap_device_del() from /usr/lib/arm-linux-gnueabihf/libdrm_omap.so.1
Posted Jul 16, 2020 - updated Jul 16, 2020   Shortlink: http://arx.vg/1484
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
icon_info.png This issue has been closed with status "Upstream" and resolution "Not determined".
Issue details
  • Type of issue
    Crash report
  • Status
     
    Upstream
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     CrashBot
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Not determined
  • Resolution
    Not determined
  • Priority
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Linux
  • Architecture
    icon_customdatatype.png Other
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
Illegal storage access: address not mapped to object

 Instruction address: 0xb57faca4
 Memory accessed: 0x4
 Stack pointer: 0xbeb39ca0
 Frame pointer: 0xb6f49970


Callstack:
 arx!0x4f6c42
 ??!0xb6988cb0


GDB stack trace:
 [Thread debugging using libthread_db enabled]
 Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
 [Current thread is 1 (Thread 0xb6f3b240 (LWP 32334))]
   Id   Target Id                           Frame 
 * 1    Thread 0xb6f3b240 (LWP 32334) "arx" __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
 
 Thread 1 (Thread 0xb6f3b240 (LWP 32334)):
 #0  __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:47
 No locals.
 #1  0xb6ee89a2 in __GI___nanosleep (requested_time=0x0, remaining=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
         _a1 = 0
         _a1tmp = 0
         _nametmp = 162
         _a2tmp = 0
         _a2 = 0
         _name = 162
         _sys_result = <optimized out>
         sc_ret = <optimized out>
         sc_ret = <optimized out>
         _sys_result = <optimized out>
         _a1 = <optimized out>
         _nametmp = <optimized out>
         _a2tmp = <optimized out>
         _a1tmp = <optimized out>
         _a2 = <optimized out>
         _name = <optimized out>
         sc_cancel_oldtype = <optimized out>
         _sys_result = <optimized out>
         _a1 = <optimized out>
         _nametmp = <optimized out>
         _a2tmp = <optimized out>
         _a1tmp = <optimized out>
         _a2 = <optimized out>
         _name = <optimized out>
 #2  0x004f6c86 in CrashHandlerPOSIX::handleCrash (context=<optimized out>, info=0xbeb39928, signal=<optimized out>, this=0x888460) at /big/ArxLibertatis/src/platform/crashhandler/CrashHandlerPOSIX.cpp:501
         t = {tv_sec = 0, tv_nsec = 100000}
         processor = 32335
         args = {0x0, 0x186a0 <error: Cannot access memory at address 0x186a0>, 0x0}
         processor = <optimized out>
         args = <optimized out>
         it = <optimized out>
         siginfo = <optimized out>
         ctx = <optimized out>
         t = <optimized out>
 #3  signalHandler (signal=<optimized out>, info=0xbeb39928, context=<optimized out>) at /big/ArxLibertatis/src/platform/crashhandler/CrashHandlerPOSIX.cpp:85
 No locals.
 #4  <signal handler called>
 No locals.
 #5  0xb57faca4 in omap_device_del () from /usr/lib/arm-linux-gnueabihf/libdrm_omap.so.1
 No symbol table info available.
 #6  0xb584a016 in IMGeglTerminate () from /usr/lib/arm-linux-gnueabihf/libIMGegl.so
 No symbol table info available.
 #7  0xb5931d32 in ?? () from /usr/lib/arm-linux-gnueabihf/libGL.so.1
 No symbol table info available.
 #8  0xb586ec74 in ?? () from /usr/lib/arm-linux-gnueabihf/libGL.so.1
 No symbol table info available.
 #9  0xb6f2c580 in call_init (l=<optimized out>, argc=1, argv=0xbeb3b274, env=0xbeb3b27c) at dl-init.c:72
         j = <optimized out>
         jm = <optimized out>
         addrs = <optimized out>
         init_array = <optimized out>
 #10 0xb6f2c632 in call_init (env=<optimized out>, argv=<optimized out>, argc=<optimized out>, l=<optimized out>) at dl-init.c:30
         init_array = <optimized out>
         init_array = <optimized out>
         j = <optimized out>
         jm = <optimized out>
         addrs = <optimized out>
 #11 _dl_init (main_map=main_map@entry=0x8bec88, argc=1, argv=0xbeb3b274, env=0xbeb3b27c) at dl-init.c:119
         preinit_array = 0x0
         preinit_array_size = <optimized out>
         i = <optimized out>
 #12 0xb6f2eff8 in dl_open_worker (a=<optimized out>) at dl-open.c:517
         args = <optimized out>
         file = 0xd <error: Cannot access memory at address 0xd>
         mode = <optimized out>
         call_map = <optimized out>
         dst = <optimized out>
         new = 0x8bec88
         __PRETTY_FUNCTION__ = "dl_open_worker"
         r = <optimized out>
         reloc_mode = <optimized out>
         nmaps = <optimized out>
         l = <optimized out>
         maps = 0xbeb3a220
         relocation_in_progress = <optimized out>
         any_tls = <optimized out>
         first_static_tls = <optimized out>
 #13 0xb6a25dbc in __GI__dl_catch_exception (exception=exception@entry=0xbeb3a43c, operate=0xb6f2ed8d <dl_open_worker>, args=args@entry=0xbeb3a448) at dl-error-skeleton.c:196
         errcode = 0
         c = {exception = 0xbeb3a43c, errcode = 0xbeb3a28c, env = {{__jmpbuf = {-1683714980, -1816824929, 112, -1095523120, -2147483390, -1228533436, -1228625785, 540, 960, 540, 0 <repeats 16 times>, 2, 9121200, 9121200, -1247259852, 111, -1139677357, -1247259760, -1225621207, 0, -1247257984, 111, -1247257600, 9121200, -1095523452, -1095523456, 0, 0, -1139677357, -1247257600, -1095523456, -1233800215, 98602810, -1247259760, 0, -1095523340, -1225483920, -1225482240, -1431655765, -1095523452, 8952940, 0, -1247258464, 2, 9121200, 9121200, -1247259972, 81, 1525563686}, __mask_was_saved = 0, __saved_mask = {__val = {3069346089, 0, 3047708832, 81, 3047709696, 9121200, 3199443972, 3199443968, 0, 0, 1525563686, 3047709696, 3199443968, 3061167105, 47673865, 3047707536, 0, 3199444084, 3069483376, 3069485056, 2863311531, 3199443972, 8952940, 13, 3069483376, 0, 0, 0, 1525563686, 0, 0, 3061167105}}}}}
         old = <optimized out>
 #14 0xb6f2eafc in _dl_open (file=0xb6c61144 "libGL.so.1", mode=-2147483390, caller_dlopen=0xb6c4a887, nsid=<optimized out>, argc=1, argv=0xbeb3b274, env=0xbeb3b27c) at dl-open.c:599
         args = {file = 0xb6c61144 "libGL.so.1", mode = -2147483390, caller_dlopen = 0xb6c4a887, map = 0x8bec88, nsid = 0, argc = 1, argv = 0xbeb3b274, env = 0xbeb3b27c}
         exception = {objname = 0x0, errstring = 0x2 <error: Cannot access memory at address 0x2>, message_buffer = 0x0}
         errcode = <optimized out>
         __PRETTY_FUNCTION__ = "_dl_open"
 #15 0xb6902b58 in dlopen_doit (a=0xbeb3a6c4) at dlopen.c:66
         args = 0xbeb3a6c4
 #16 0xb6a25dbc in __GI__dl_catch_exception (exception=exception@entry=0xbeb3a678, operate=operate@entry=0xb6902b09 <dlopen_doit>, args=args@entry=0xbeb3a6c4) at dl-error-skeleton.c:196
         errcode = 0
         c = {exception = 0xbeb3a678, errcode = 0xbeb3a4cc, env = {{__jmpbuf = {-1683715428, -1816824929, 112, 0, 9101696, 9101704, 9101700, 540, 960, 540, 0 <repeats 16 times>, 2, 8994324, 4096, 5046529, 0, 0, -1225535248, -1232067524, 225011988, -1225500416, -1225500416, -1232068168, 39, -117177849, -1232068148, -1225621207, 1, -1232067524, 39, -1232067428, -1225500416, -1095522844, -1095522848, -1095522904, 0, -117177849, -1232067428, -1095522848, -1228777735, 130555920, -1232068148, -1228788184, -1095522732, -1225483920, -1225482240, -1431655765, -1095522844, -1225520528}, __mask_was_saved = 0, __saved_mask = {__val = {3069483376, 0, 0, 0, 4177789447, 0, 3069432048, 3066189561, 3199444660, 3199444564, 3199444572, 3069476888, 3069347681, 3199444572, 3069487832, 15, 3069432048, 1, 0, 1, 3069476888, 9034040, 3069477332, 3069477332, 0, 3058714239, 1, 32, 3058715467, 32, 4294967295, 32}}}}}
         old = <optimized out>
 #17 0xb6a25e34 in __GI__dl_catch_error (objname=objname@entry=0x8ae184, errstring=errstring@entry=0x8ae188, mallocedp=mallocedp@entry=0x8ae180, operate=operate@entry=0xb6902b09 <dlopen_doit>, args=args@entry=0xbeb3a6c4) at dl-error-skeleton.c:215
         exception = {objname = 0x0, errstring = 0xb6f48018 "", message_buffer = 0xb6c731e4 <dlopen@got.plt> "\245 \220\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\025$q\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\064\201\302\266\235"}
         errorcode = <optimized out>
 #18 0xb69030b8 in _dlerror_run (operate=0xb6902b09 <dlopen_doit>, args=args@entry=0xbeb3a6c4) at dlerror.c:163
         result = 0x8ae178
 #19 0xb6902bd4 in __dlopen (file=0xb6c61144 "libGL.so.1", mode=<optimized out>) at dlopen.c:87
         args = {file = 0xb6c61144 "libGL.so.1", mode = 258, new = 0xb6f49968 <__stack_chk_guard>, caller = 0xb6c4a887}
 #20 0xb6c4a886 in ?? () from /usr/lib/arm-linux-gnueabihf/libSDL-1.2.so.0
 No symbol table info available.
 Backtrace stopped: previous frame identical to this frame (corrupt stack?)
 [Inferior 1 (process 32334) detached]
 


Steps to reproduce this issue
built on maemo-leste, devuan with ptitsebs gl4es

can arx be built against gles without libGL.so ?

cheers

#4
icon_reply.pngReply
Comment posted by
 CrashBot
Jul 16, 08:20
A file was uploaded. maps.txticon_open_new.png This comment was attached:

arxcrash-32334-2353513399
#3
icon_reply.pngReply
Comment posted by
 CrashBot
Jul 16, 08:20
A file was uploaded. cfg.iniicon_open_new.png This comment was attached:

arxcrash-32334-2353513399
#1
icon_reply.pngReply
Comment posted by
 CrashBot
Jul 16, 08:20
A file was uploaded. arx.logicon_open_new.png This comment was attached:

arxcrash-32334-2353513399
#5
icon_reply.pngReply
Comment posted by
 CrashBot
Jul 16, 08:20
A file was uploaded. crash.txticon_open_new.png This comment was attached:

arxcrash-32334-2353513399
#6
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jul 16, 16:09
This is a bug in your graphics drivers - please report it there.

The issue was updated with the following change(s):
  • The status has been updated, from New to Upstream.
  • This issue has been closed
#7
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jul 16, 16:17
Arx Libertatis does not link against libGL directly, it's loaded dynamically when using the OpenGL renderer.

There is an OpenGL ES renderer but you will also need to build Arx Libertatis against SDL 2 (you have 1.2 in your build) and libepoxy (not GLEW) - the config output should have a line saying "Renderer: OpenGL (libepoxy), OpenGL ES (libepoxy)" at the end.

OpenGL ES will be used automatically if OpenGL initialization fails but you won't get there with the crash. To skip OpenGL and go directly to OpenGL ES, edit ~/.config/arx/cfg.ini and add:
  1. [video]
  2. renderer="OpenGL ES"