taoframework library location not updated after package is installed

Bug #335779 reported by Qichang Liang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
taoframework (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: libtaoframework-sdl1.2-cil

I have just installed libtaoframework-sdl1.2-cil package

However when I run a mono program which need this package, the program can't locate Tao.sdl

abc@Q6600:~/Desktop/bve$ mono OpenBve.exe

** (OpenBve.exe:8056): WARNING **: The following assembly referenced from /home/abc/Desktop/bve/OpenBve.exe could not be loaded:
     Assembly: Tao.Sdl (assemblyref_index=5)
     Version: 1.2.13.0
     Public Key: 9c7a200e36c0094e
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/home/abc/Desktop/bve/).

** (OpenBve.exe:8056): WARNING **: Could not load file or assembly 'Tao.Sdl, Version=1.2.13.0, Culture=neutral, PublicKeyToken=9c7a200e36c0094e' or one of its dependencies.
Stacktrace:

Native stacktrace:

 mono [0x529d21]
 mono [0x43f99d]
 /lib/libpthread.so.0 [0x7febca1880f0]
 mono(mono_class_from_typeref+0x121) [0x4c1ea1]
 mono(mono_class_get_full+0x115) [0x4c0a95]
 mono [0x4b2fe9]
 mono(mono_metadata_parse_type_full+0x10b) [0x4b230b]
 mono(mono_metadata_parse_mh_full+0x19a) [0x4b265a]
 mono(mono_method_get_header+0x1e4) [0x4b5224]
 mono [0x4f5b70]
 mono [0x5087e4]
 mono [0x513a6c]
 mono [0x515258]
 mono [0x515b0a]
 mono(mono_runtime_exec_main+0xc6) [0x45a9d6]
 mono(mono_runtime_run_main+0x184) [0x45afa4]
 mono(mono_main+0x590) [0x417000]
 /lib/libc.so.6(__libc_start_main+0xe6) [0x7febc9ba0466]
 mono [0x4164c9]

Debug info from gdb:

(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7febcae69710 (LWP 8056)]
[New Thread 0x41d61950 (LWP 8058)]
[New Thread 0x41b60950 (LWP 8057)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x00007febca186f4b in read () from /lib/libpthread.so.0
  3 Thread 0x41b60950 (LWP 8057) 0x00007febca187851 in nanosleep ()
   from /lib/libpthread.so.0
  2 Thread 0x41d61950 (LWP 8058) 0x00007febca1842d9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
  1 Thread 0x7febcae69710 (LWP 8056) 0x00007febca186f4b in read ()
   from /lib/libpthread.so.0

Thread 3 (Thread 0x41b60950 (LWP 8057)):
#0 0x00007febca187851 in nanosleep () from /lib/libpthread.so.0
#1 0x00000000004c56e2 in ?? ()
#2 0x00007febca1803ea in start_thread () from /lib/libpthread.so.0
#3 0x00007febc9c68c6d in clone () from /lib/libc.so.6
#4 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x41d61950 (LWP 8058)):
#0 0x00007febca1842d9 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1 0x00000000004c8565 in ?? ()
#2 0x00000000004ca81b in ?? ()
#3 0x00000000004db96e in ?? ()
#4 0x0000000000470b93 in ?? ()
#5 0x000000000048d41b in ?? ()
#6 0x00000000004d9d33 in ?? ()
#7 0x00000000004f1582 in ?? ()
#8 0x00007febca1803ea in start_thread () from /lib/libpthread.so.0
#9 0x00007febc9c68c6d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7febcae69710 (LWP 8056)):
#0 0x00007febca186f4b in read () from /lib/libpthread.so.0
#1 0x00007febca60956e in ?? () from /usr/lib/libglib-2.0.so.0
#2 0x00007febca609a56 in ?? () from /usr/lib/libglib-2.0.so.0
#3 0x00007febca60a4cb in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
#4 0x00007febca60a988 in g_spawn_command_line_sync ()
   from /usr/lib/libglib-2.0.so.0
#5 0x0000000000529dc8 in ?? ()
#6 0x000000000043f99d in ?? ()
#7 <signal handler called>
#8 0x00000000004c1ea1 in mono_class_from_typeref ()
#9 0x00000000004c0a95 in mono_class_get_full ()
#10 0x00000000004b2fe9 in ?? ()
#11 0x00000000004b230b in mono_metadata_parse_type_full ()
#12 0x00000000004b265a in mono_metadata_parse_mh_full ()
#13 0x00000000004b5224 in mono_method_get_header ()
#14 0x00000000004f5b70 in ?? ()
#15 0x00000000005087e4 in ?? ()
#16 0x0000000000513a6c in ?? ()
#17 0x0000000000515258 in ?? ()
#18 0x0000000000515b0a in ?? ()
#19 0x000000000045a9d6 in mono_runtime_exec_main ()
#20 0x000000000045afa4 in mono_runtime_run_main ()
#21 0x0000000000417000 in mono_main ()
#22 0x00007febc9ba0466 in __libc_start_main () from /lib/libc.so.6
#23 0x00000000004164c9 in ?? ()
#24 0x00007fffd2e892f8 in ?? ()
#25 0x000000000000001c in ?? ()
#26 0x0000000000000002 in ?? ()
#27 0x00007fffd2e8a70c in ?? ()
#28 0x00007fffd2e8a711 in ?? ()
#29 0x0000000000000000 in ?? ()
#0 0x00007febca186f4b in read () from /lib/libpthread.so.0

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Aborted
abc@Q6600:~/Desktop/bve$

Is it because the postinstall script (of this package) does not add /usr/lib/cli/tao-sdl-1.2 to the MONO_PATH?

Revision history for this message
Qichang Liang (kcleung-users) wrote :

actually this bug affects all libtaoframework packages

Revision history for this message
Paul Sladen (sladen) wrote :

I believe this is because (the upstream-compiled) OpenBve is depending on a particular library+signed revision of the library, which I've got michelle to remove now.

BTW, hopefully the 'openbve' package contained within Ubuntu itself (Applications->Add/Remove->openbve) should work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.